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

Struct clientHandshakeState

handshake_client.go:26–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24)
25
26type clientHandshakeState struct {
27 c *Conn
28 ctx context.Context
29 serverHello *serverHelloMsg
30 hello *clientHelloMsg
31 suite *cipherSuite
32 finishedHash finishedHash
33 masterSecret []byte
34 session *ClientSessionState
35}
36
37func (c *Conn) makeClientHello() (*clientHelloMsg, ecdheParameters, error) {
38 config := c.config

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected