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

Struct clientHandshakeStateTLS13

handshake_client_tls13.go:19–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17)
18
19type clientHandshakeStateTLS13 struct {
20 c *Conn
21 ctx context.Context
22 serverHello *serverHelloMsg
23 hello *clientHelloMsg
24 ecdheParams ecdheParameters
25
26 session *ClientSessionState
27 earlySecret []byte
28 binderKey []byte
29
30 certReq *certificateRequestMsgTLS13
31 usingPSK bool
32 sentDummyCCS bool
33 suite *cipherSuiteTLS13
34 transcript hash.Hash
35 masterSecret []byte
36 trafficSecret []byte // client_application_traffic_secret_0
37}
38
39// handshake requires hs.c, hs.hello, hs.serverHello, hs.ecdheParams, and,
40// optionally, hs.session, hs.earlySecret and hs.binderKey to be set.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected