package types

import "github.com/pion/dtls/v3/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
	AuthenticationTypePreSharedKey
	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

Has check if keyExchangeAlgorithm is supported.

Source Files

authentication_type.go key_exchange_algorithm.go

Version
v3.0.4 (latest)
Published
Nov 4, 2024
Platform
linux/amd64
Last checked
1 week ago

Tools for package owners.