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

Struct echServerContext

handshake_server_tls13.go:41–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39const maxClientPSKIdentities = 5
40
41type echServerContext struct {
42 hpkeContext *hpke.Recipient
43 configID uint8
44 ciphersuite EchCipher
45 transcript hash.Hash
46 // inner indicates that the initial client_hello we recieved contained an
47 // encrypted_client_hello extension that indicated it was an "inner" hello.
48 // We don't do any additional processing of the hello in this case, so all
49 // fields above are unset.
50 inner bool
51}
52
53type serverHandshakeStateTLS13 struct {
54 c *Conn

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected