MCPcopy Create free account
hub / github.com/XTLS/Go / serverHelloMsg

Struct serverHelloMsg

handshake_messages.go:597–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595}
596
597type serverHelloMsg struct {
598 raw []byte
599 vers uint16
600 random []byte
601 sessionId []byte
602 cipherSuite uint16
603 compressionMethod uint8
604 ocspStapling bool
605 ticketSupported bool
606 secureRenegotiationSupported bool
607 secureRenegotiation []byte
608 alpnProtocol string
609 scts [][]byte
610 supportedVersion uint16
611 serverShare keyShare
612 selectedIdentityPresent bool
613 selectedIdentity uint16
614 supportedPoints []uint8
615
616 // HelloRetryRequest extensions
617 cookie []byte
618 selectedGroup CurveID
619}
620
621func (m *serverHelloMsg) marshal() []byte {
622 if m.raw != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected