package ciphersuite
Import Path
github.com/pion/dtls/v2/internal/ciphersuite (on go.dev)
Dependency Relation
imports 13 packages, and imported by one package
Involved Source Files
aes_128_ccm.go
aes_256_ccm.go
aes_ccm.go
Package ciphersuite provides TLS Ciphers as registered with the IANA https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-4
tls_ecdhe_ecdsa_with_aes_128_ccm.go
tls_ecdhe_ecdsa_with_aes_128_ccm8.go
tls_ecdhe_ecdsa_with_aes_128_gcm_sha256.go
tls_ecdhe_ecdsa_with_aes_256_cbc_sha.go
tls_ecdhe_ecdsa_with_aes_256_gcm_sha384.go
tls_ecdhe_psk_with_aes_128_cbc_sha256.go
tls_ecdhe_rsa_with_aes_128_gcm_sha256.go
tls_ecdhe_rsa_with_aes_256_cbc_sha.go
tls_ecdhe_rsa_with_aes_256_gcm_sha384.go
tls_psk_with_aes_128_cbc_sha256.go
tls_psk_with_aes_128_ccm.go
tls_psk_with_aes_128_ccm8.go
tls_psk_with_aes_128_gcm_sha256.go
tls_psk_with_aes_256_ccm8.go
Package-Level Type Names (total 15)
Aes128Ccm is a base class used by multiple AES-CCM Ciphers
AesCcm AesCcm
AuthenticationType controls what authentication method is using during the handshake
CertificateType returns what type of certificate this CipherSuite exchanges
Decrypt decrypts a single TLS RecordLayer
ECC uses Elliptic Curve Cryptography
Encrypt encrypts a single TLS RecordLayer
HashFunc returns the hashing func for this CipherSuite
ID returns the ID of the CipherSuite
Init initializes the internal Cipher with keying material
IsInitialized returns if the CipherSuite has keying material and can
encrypt/decrypt packets
KeyExchangeAlgorithm controls what key exchange algorithm is using during the handshake
(*Aes128Ccm) String() string
*Aes128Ccm : github.com/pion/dtls/v2.CipherSuite
*Aes128Ccm : expvar.Var
*Aes128Ccm : fmt.Stringer
func NewTLSEcdheEcdsaWithAes128Ccm() *Aes128Ccm
func NewTLSEcdheEcdsaWithAes128Ccm8() *Aes128Ccm
func NewTLSPskWithAes128Ccm() *Aes128Ccm
func NewTLSPskWithAes128Ccm8() *Aes128Ccm
Aes256Ccm is a base class used by multiple AES-CCM Ciphers
AesCcm AesCcm
AuthenticationType controls what authentication method is using during the handshake
CertificateType returns what type of certificate this CipherSuite exchanges
Decrypt decrypts a single TLS RecordLayer
ECC uses Elliptic Curve Cryptography
Encrypt encrypts a single TLS RecordLayer
HashFunc returns the hashing func for this CipherSuite
ID returns the ID of the CipherSuite
Init initializes the internal Cipher with keying material
IsInitialized returns if the CipherSuite has keying material and can
encrypt/decrypt packets
KeyExchangeAlgorithm controls what key exchange algorithm is using during the handshake
(*Aes256Ccm) String() string
*Aes256Ccm : github.com/pion/dtls/v2.CipherSuite
*Aes256Ccm : expvar.Var
*Aes256Ccm : fmt.Stringer
func NewTLSPskWithAes256Ccm8() *Aes256Ccm
AesCcm is a base class used by multiple AES-CCM Ciphers
AuthenticationType controls what authentication method is using during the handshake
CertificateType returns what type of certificate this CipherSuite exchanges
Decrypt decrypts a single TLS RecordLayer
ECC uses Elliptic Curve Cryptography
Encrypt encrypts a single TLS RecordLayer
HashFunc returns the hashing func for this CipherSuite
ID returns the ID of the CipherSuite
Init initializes the internal Cipher with keying material
IsInitialized returns if the CipherSuite has keying material and can
encrypt/decrypt packets
KeyExchangeAlgorithm controls what key exchange algorithm is using during the handshake
(*AesCcm) String() string
*AesCcm : expvar.Var
*AesCcm : fmt.Stringer
AuthenticationType controls what authentication method is using during the handshake
ID is an ID for our supported CipherSuites
( ID) String() string
ID : expvar.Var
ID : fmt.Stringer
func (*AesCcm).ID() ID
func (*TLSEcdheEcdsaWithAes128GcmSha256).ID() ID
func (*TLSEcdheEcdsaWithAes256CbcSha).ID() ID
func (*TLSEcdheEcdsaWithAes256GcmSha384).ID() ID
func (*TLSEcdhePskWithAes128CbcSha256).ID() ID
func (*TLSEcdheRsaWithAes128GcmSha256).ID() ID
func (*TLSEcdheRsaWithAes256CbcSha).ID() ID
func (*TLSEcdheRsaWithAes256GcmSha384).ID() ID
func (*TLSPskWithAes128CbcSha256).ID() ID
func (*TLSPskWithAes128GcmSha256).ID() ID
const TLS_ECDHE_ECDSA_WITH_AES_128_CCM
const TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8
const TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
const TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
const TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
const TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256
const TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
const TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
const TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
const TLS_PSK_WITH_AES_128_CBC_SHA256
const TLS_PSK_WITH_AES_128_CCM
const TLS_PSK_WITH_AES_128_CCM_8
const TLS_PSK_WITH_AES_128_GCM_SHA256
const TLS_PSK_WITH_AES_256_CCM_8
const github.com/pion/dtls/v2.TLS_ECDHE_ECDSA_WITH_AES_128_CCM
const github.com/pion/dtls/v2.TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8
const github.com/pion/dtls/v2.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
const github.com/pion/dtls/v2.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
const github.com/pion/dtls/v2.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
const github.com/pion/dtls/v2.TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256
const github.com/pion/dtls/v2.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
const github.com/pion/dtls/v2.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
const github.com/pion/dtls/v2.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
const github.com/pion/dtls/v2.TLS_PSK_WITH_AES_128_CBC_SHA256
const github.com/pion/dtls/v2.TLS_PSK_WITH_AES_128_CCM
const github.com/pion/dtls/v2.TLS_PSK_WITH_AES_128_CCM_8
const github.com/pion/dtls/v2.TLS_PSK_WITH_AES_128_GCM_SHA256
const github.com/pion/dtls/v2.TLS_PSK_WITH_AES_256_CCM_8
KeyExchangeAlgorithm controls what exchange algorithm was chosen.
TLSEcdheEcdsaWithAes128GcmSha256 represents a TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 CipherSuite
AuthenticationType controls what authentication method is using during the handshake
CertificateType returns what type of certficate this CipherSuite exchanges
Decrypt decrypts a single TLS RecordLayer
ECC uses Elliptic Curve Cryptography
Encrypt encrypts a single TLS RecordLayer
HashFunc returns the hashing func for this CipherSuite
ID returns the ID of the CipherSuite
Init initializes the internal Cipher with keying material
IsInitialized returns if the CipherSuite has keying material and can
encrypt/decrypt packets
KeyExchangeAlgorithm controls what key exchange algorithm is using during the handshake
(*TLSEcdheEcdsaWithAes128GcmSha256) String() string
*TLSEcdheEcdsaWithAes128GcmSha256 : github.com/pion/dtls/v2.CipherSuite
*TLSEcdheEcdsaWithAes128GcmSha256 : expvar.Var
*TLSEcdheEcdsaWithAes128GcmSha256 : fmt.Stringer
TLSEcdheEcdsaWithAes256CbcSha represents a TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA CipherSuite
AuthenticationType controls what authentication method is using during the handshake
CertificateType returns what type of certficate this CipherSuite exchanges
Decrypt decrypts a single TLS RecordLayer
ECC uses Elliptic Curve Cryptography
Encrypt encrypts a single TLS RecordLayer
HashFunc returns the hashing func for this CipherSuite
ID returns the ID of the CipherSuite
Init initializes the internal Cipher with keying material
IsInitialized returns if the CipherSuite has keying material and can
encrypt/decrypt packets
KeyExchangeAlgorithm controls what key exchange algorithm is using during the handshake
(*TLSEcdheEcdsaWithAes256CbcSha) String() string
*TLSEcdheEcdsaWithAes256CbcSha : github.com/pion/dtls/v2.CipherSuite
*TLSEcdheEcdsaWithAes256CbcSha : expvar.Var
*TLSEcdheEcdsaWithAes256CbcSha : fmt.Stringer
TLSEcdheEcdsaWithAes256GcmSha384 represents a TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 CipherSuite
TLSEcdheEcdsaWithAes128GcmSha256 TLSEcdheEcdsaWithAes128GcmSha256
AuthenticationType controls what authentication method is using during the handshake
CertificateType returns what type of certficate this CipherSuite exchanges
Decrypt decrypts a single TLS RecordLayer
ECC uses Elliptic Curve Cryptography
Encrypt encrypts a single TLS RecordLayer
HashFunc returns the hashing func for this CipherSuite
ID returns the ID of the CipherSuite
Init initializes the internal Cipher with keying material
IsInitialized returns if the CipherSuite has keying material and can
encrypt/decrypt packets
KeyExchangeAlgorithm controls what key exchange algorithm is using during the handshake
(*TLSEcdheEcdsaWithAes256GcmSha384) String() string
*TLSEcdheEcdsaWithAes256GcmSha384 : github.com/pion/dtls/v2.CipherSuite
*TLSEcdheEcdsaWithAes256GcmSha384 : expvar.Var
*TLSEcdheEcdsaWithAes256GcmSha384 : fmt.Stringer
TLSEcdhePskWithAes128CbcSha256 implements the TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256 CipherSuite
AuthenticationType controls what authentication method is using during the handshake
CertificateType returns what type of certificate this CipherSuite exchanges
Decrypt decrypts a single TLS RecordLayer
ECC uses Elliptic Curve Cryptography
Encrypt encrypts a single TLS RecordLayer
HashFunc returns the hashing func for this CipherSuite
ID returns the ID of the CipherSuite
Init initializes the internal Cipher with keying material
IsInitialized returns if the CipherSuite has keying material and can
encrypt/decrypt packets
KeyExchangeAlgorithm controls what key exchange algorithm is using during the handshake
(*TLSEcdhePskWithAes128CbcSha256) String() string
*TLSEcdhePskWithAes128CbcSha256 : github.com/pion/dtls/v2.CipherSuite
*TLSEcdhePskWithAes128CbcSha256 : expvar.Var
*TLSEcdhePskWithAes128CbcSha256 : fmt.Stringer
func NewTLSEcdhePskWithAes128CbcSha256() *TLSEcdhePskWithAes128CbcSha256
TLSEcdheRsaWithAes128GcmSha256 implements the TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 CipherSuite
TLSEcdheEcdsaWithAes128GcmSha256 TLSEcdheEcdsaWithAes128GcmSha256
AuthenticationType controls what authentication method is using during the handshake
CertificateType returns what type of certificate this CipherSuite exchanges
Decrypt decrypts a single TLS RecordLayer
ECC uses Elliptic Curve Cryptography
Encrypt encrypts a single TLS RecordLayer
HashFunc returns the hashing func for this CipherSuite
ID returns the ID of the CipherSuite
Init initializes the internal Cipher with keying material
IsInitialized returns if the CipherSuite has keying material and can
encrypt/decrypt packets
KeyExchangeAlgorithm controls what key exchange algorithm is using during the handshake
(*TLSEcdheRsaWithAes128GcmSha256) String() string
*TLSEcdheRsaWithAes128GcmSha256 : github.com/pion/dtls/v2.CipherSuite
*TLSEcdheRsaWithAes128GcmSha256 : expvar.Var
*TLSEcdheRsaWithAes128GcmSha256 : fmt.Stringer
TLSEcdheRsaWithAes256CbcSha implements the TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA CipherSuite
TLSEcdheEcdsaWithAes256CbcSha TLSEcdheEcdsaWithAes256CbcSha
AuthenticationType controls what authentication method is using during the handshake
CertificateType returns what type of certificate this CipherSuite exchanges
Decrypt decrypts a single TLS RecordLayer
ECC uses Elliptic Curve Cryptography
Encrypt encrypts a single TLS RecordLayer
HashFunc returns the hashing func for this CipherSuite
ID returns the ID of the CipherSuite
Init initializes the internal Cipher with keying material
IsInitialized returns if the CipherSuite has keying material and can
encrypt/decrypt packets
KeyExchangeAlgorithm controls what key exchange algorithm is using during the handshake
(*TLSEcdheRsaWithAes256CbcSha) String() string
*TLSEcdheRsaWithAes256CbcSha : github.com/pion/dtls/v2.CipherSuite
*TLSEcdheRsaWithAes256CbcSha : expvar.Var
*TLSEcdheRsaWithAes256CbcSha : fmt.Stringer
TLSEcdheRsaWithAes256GcmSha384 implements the TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 CipherSuite
TLSEcdheEcdsaWithAes256GcmSha384 TLSEcdheEcdsaWithAes256GcmSha384
TLSEcdheEcdsaWithAes256GcmSha384.TLSEcdheEcdsaWithAes128GcmSha256 TLSEcdheEcdsaWithAes128GcmSha256
AuthenticationType controls what authentication method is using during the handshake
CertificateType returns what type of certificate this CipherSuite exchanges
Decrypt decrypts a single TLS RecordLayer
ECC uses Elliptic Curve Cryptography
Encrypt encrypts a single TLS RecordLayer
HashFunc returns the hashing func for this CipherSuite
ID returns the ID of the CipherSuite
Init initializes the internal Cipher with keying material
IsInitialized returns if the CipherSuite has keying material and can
encrypt/decrypt packets
KeyExchangeAlgorithm controls what key exchange algorithm is using during the handshake
(*TLSEcdheRsaWithAes256GcmSha384) String() string
*TLSEcdheRsaWithAes256GcmSha384 : github.com/pion/dtls/v2.CipherSuite
*TLSEcdheRsaWithAes256GcmSha384 : expvar.Var
*TLSEcdheRsaWithAes256GcmSha384 : fmt.Stringer
TLSPskWithAes128CbcSha256 implements the TLS_PSK_WITH_AES_128_CBC_SHA256 CipherSuite
AuthenticationType controls what authentication method is using during the handshake
CertificateType returns what type of certificate this CipherSuite exchanges
Decrypt decrypts a single TLS RecordLayer
ECC uses Elliptic Curve Cryptography
Encrypt encrypts a single TLS RecordLayer
HashFunc returns the hashing func for this CipherSuite
ID returns the ID of the CipherSuite
Init initializes the internal Cipher with keying material
IsInitialized returns if the CipherSuite has keying material and can
encrypt/decrypt packets
KeyExchangeAlgorithm controls what key exchange algorithm is using during the handshake
(*TLSPskWithAes128CbcSha256) String() string
*TLSPskWithAes128CbcSha256 : github.com/pion/dtls/v2.CipherSuite
*TLSPskWithAes128CbcSha256 : expvar.Var
*TLSPskWithAes128CbcSha256 : fmt.Stringer
TLSPskWithAes128GcmSha256 implements the TLS_PSK_WITH_AES_128_GCM_SHA256 CipherSuite
TLSEcdheEcdsaWithAes128GcmSha256 TLSEcdheEcdsaWithAes128GcmSha256
AuthenticationType controls what authentication method is using during the handshake
CertificateType returns what type of certificate this CipherSuite exchanges
Decrypt decrypts a single TLS RecordLayer
ECC uses Elliptic Curve Cryptography
Encrypt encrypts a single TLS RecordLayer
HashFunc returns the hashing func for this CipherSuite
ID returns the ID of the CipherSuite
Init initializes the internal Cipher with keying material
IsInitialized returns if the CipherSuite has keying material and can
encrypt/decrypt packets
KeyExchangeAlgorithm controls what key exchange algorithm is using during the handshake
(*TLSPskWithAes128GcmSha256) String() string
*TLSPskWithAes128GcmSha256 : github.com/pion/dtls/v2.CipherSuite
*TLSPskWithAes128GcmSha256 : expvar.Var
*TLSPskWithAes128GcmSha256 : fmt.Stringer
Package-Level Functions (total 6)
NewTLSEcdheEcdsaWithAes128Ccm constructs a TLS_ECDHE_ECDSA_WITH_AES_128_CCM Cipher
NewTLSEcdheEcdsaWithAes128Ccm8 creates a new TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 CipherSuite
NewTLSEcdhePskWithAes128CbcSha256 creates TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256 cipher.
NewTLSPskWithAes128Ccm returns the TLS_PSK_WITH_AES_128_CCM CipherSuite
NewTLSPskWithAes128Ccm8 returns the TLS_PSK_WITH_AES_128_CCM_8 CipherSuite
NewTLSPskWithAes256Ccm8 returns the TLS_PSK_WITH_AES_256_CCM_8 CipherSuite
Package-Level Constants (total 20)
AuthenticationType Enums
AuthenticationType Enums
KeyExchangeAlgorithm Bitmask
KeyExchangeAlgorithm Bitmask
KeyExchangeAlgorithm Bitmask
AES-128-CCM
Supported Cipher Suites
AES-128-GCM-SHA256
AES-256-CBC-SHA
Supported Cipher Suites
Supported Cipher Suites
Supported Cipher Suites
Supported Cipher Suites
Supported Cipher Suites
Supported Cipher Suites
Supported Cipher Suites
Supported Cipher Suites
Supported Cipher Suites
Supported Cipher Suites
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |