Documentation ¶
Overview ¶
Package types provides types for TLS Ciphers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationType ¶
type AuthenticationType int
AuthenticationType controls what authentication method is using during the handshake
const ( AuthenticationTypeCertificate AuthenticationType = iota + 1 AuthenticationTypeAnonymous )
AuthenticationType Enums
type KeyExchangeAlgorithm ¶
type KeyExchangeAlgorithm int
KeyExchangeAlgorithm controls what exchange algorithm was chosen.
const ( KeyExchangeAlgorithmNone KeyExchangeAlgorithm = 0 KeyExchangeAlgorithmPsk KeyExchangeAlgorithm = iota << 1 KeyExchangeAlgorithmEcdhe )
KeyExchangeAlgorithm Bitmask
func (KeyExchangeAlgorithm) Has ¶
func (a KeyExchangeAlgorithm) Has(v KeyExchangeAlgorithm) bool
Has check if keyExchangeAlgorithm is supported.
Click to show internal directories.
Click to hide internal directories.