MCPcopy Index your code
hub / github.com/XTLS/Go / CurveID

TypeAlias CurveID

common.go:115–115  ·  view source on GitHub ↗

CurveID is the type of a TLS identifier for an elliptic curve. See https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-8. In TLS 1.3, this type is called NamedGroup, but at this time this library only supports Elliptic Curve based groups. See RFC 8446, Section 4.2.7.

Source from the content-addressed store, hash-verified

113// In TLS 1.3, this type is called NamedGroup, but at this time this library
114// only supports Elliptic Curve based groups. See RFC 8446, Section 4.2.7.
115type CurveID uint16
116
117const (
118 CurveP256 CurveID = 23

Callers 2

unmarshalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected