MCPcopy
hub / github.com/XTLS/REALITY / serverHelloMsg

Struct serverHelloMsg

handshake_messages.go:719–744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

717}
718
719type serverHelloMsg struct {
720 original []byte
721 vers uint16
722 random []byte
723 sessionId []byte
724 cipherSuite uint16
725 compressionMethod uint8
726 ocspStapling bool
727 ticketSupported bool
728 secureRenegotiationSupported bool
729 secureRenegotiation []byte
730 extendedMasterSecret bool
731 alpnProtocol string
732 scts [][]byte
733 supportedVersion uint16
734 serverShare keyShare
735 selectedIdentityPresent bool
736 selectedIdentity uint16
737 supportedPoints []uint8
738 encryptedClientHello []byte
739 serverNameAck bool
740
741 // HelloRetryRequest extensions
742 cookie []byte
743 selectedGroup CurveID
744}
745
746func (m *serverHelloMsg) marshal() ([]byte, error) {
747 var exts cryptobyte.Builder

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected