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

Struct clientHandshakeStateTLS13

handshake_client_tls13.go:24–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22)
23
24type clientHandshakeStateTLS13 struct {
25 c *Conn
26 ctx context.Context
27 serverHello *serverHelloMsg
28 hello *clientHelloMsg
29 keyShareKeys *keySharePrivateKeys
30
31 session *SessionState
32 earlySecret *tls13.EarlySecret
33 binderKey []byte
34
35 certReq *certificateRequestMsgTLS13
36 usingPSK bool
37 sentDummyCCS bool
38 suite *cipherSuiteTLS13
39 transcript hash.Hash
40 masterSecret *tls13.MasterSecret
41 trafficSecret []byte // client_application_traffic_secret_0
42 echContext *echClientContext
43}
44
45// handshake requires hs.c, hs.hello, hs.serverHello, hs.keyShareKeys, and,
46// 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