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

Struct clientHelloMsg

handshake_messages.go:69–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69type clientHelloMsg struct {
70 raw []byte
71 vers uint16
72 random []byte
73 sessionId []byte
74 cipherSuites []uint16
75 compressionMethods []uint8
76 serverName string
77 ocspStapling bool
78 supportedCurves []CurveID
79 supportedPoints []uint8
80 ticketSupported bool
81 sessionTicket []uint8
82 supportedSignatureAlgorithms []SignatureScheme
83 supportedSignatureAlgorithmsCert []SignatureScheme
84 secureRenegotiationSupported bool
85 secureRenegotiation []byte
86 alpnProtocols []string
87 scts bool
88 supportedVersions []uint16
89 cookie []byte
90 keyShares []keyShare
91 earlyData bool
92 pskModes []uint8
93 pskIdentities []pskIdentity
94 pskBinders [][]byte
95}
96
97func (m *clientHelloMsg) marshal() []byte {
98 if m.raw != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected