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

Struct keyShare

common.go:125–128  ·  view source on GitHub ↗

TLS 1.3 Key Share. See RFC 8446, Section 4.2.8.

Source from the content-addressed store, hash-verified

123
124// TLS 1.3 Key Share. See RFC 8446, Section 4.2.8.
125type keyShare struct {
126 group CurveID
127 data []byte
128}
129
130// TLS 1.3 PSK Key Exchange Modes. See RFC 8446, Section 4.2.9.
131const (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected