package types
import "github.com/pion/dtls/v2/internal/ciphersuite/types"
Package types provides types for TLS Ciphers
Index ¶
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.
Source Files ¶
authentication_type.go key_exchange_algorithm.go
- Version
- v2.2.12 (latest)
- Published
- Jul 20, 2024
- Platform
- linux/amd64
- Last checked
- 2 hours ago –
Tools for package owners.