Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMalformedECHConfigList = errors.New("tls: malformed ECHConfigList")
Functions ¶
This section is empty.
Types ¶
type ECHConfig ¶
type ECHConfig struct {
Version uint16
Length uint16
ConfigID uint8
KemID uint16
PublicKey []byte
SymmetricCipherSuite []ECHCipher
MaxNameLength uint8
PublicName []byte
Extensions []ECHExtension
// contains filtered or unexported fields
}
func ParseECHConfigList ¶
ParseECHConfigList parses a draft-ietf-tls-esni-18 ECHConfigList, returning a slice of parsed ECHConfigs, in the same order they were parsed, or an error if the list is malformed.
type ECHExtension ¶
type EchConfigErr ¶
type EchConfigErr struct {
// contains filtered or unexported fields
}
func (*EchConfigErr) Error ¶
func (e *EchConfigErr) Error() string
Click to show internal directories.
Click to hide internal directories.