Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pion/dtls
/ functions
Functions
1,125 in github.com/pion/dtls
⨍
Functions
1,125
◇
Types & classes
171
↓ 1 callers
Method
setNameToCertificateLocked
()
certificate.go:74
↓ 1 callers
Method
size
current total size of buffer.
fragment_buffer.go:45
↓ 1 callers
Function
sliceForAppend
sliceForAppend takes a slice and a requested number of bytes. It returns a slice with the contents of the given slice followed by that many bytes and
pkg/crypto/ccm/ccm.go:176
↓ 1 callers
Function
splitBytes
(bytes []byte, splitLen int)
util.go:30
↓ 1 callers
Function
srtpProtectionProfiles
()
pkg/protocol/extension/srtp_protection_profile.go:21
↓ 1 callers
Function
stressDuplex
(t *testing.T)
conn_test.go:66
↓ 1 callers
Function
stressDuplex
(t *testing.T)
internal/net/udp/packet_conn_test.go:64
↓ 1 callers
Function
testPionE2ESimpleClientHelloHook
(t *testing.T, server, client func(*comm), opts ...dtlsTestOpts)
e2e/e2e_test.go:870
↓ 1 callers
Function
testPionE2ESimpleServerHelloHook
(t *testing.T, server, client func(*comm), opts ...dtlsTestOpts)
e2e/e2e_test.go:931
↓ 1 callers
Function
toTLSCipherSuite
Convert from our cipherSuite interface to a tls.CipherSuite struct.
cipher_suite.go:128
↓ 1 callers
Method
unregister
(conn net.Conn)
examples/util/hub.go:50
↓ 1 callers
Function
verifyCertificateVerify
nolint:dupl,cyclop
crypto.go:248
↓ 1 callers
Function
verifyClientCert
( rawCertificates [][]byte, roots *x509.CertPool, certSignatureSchemes []signaturehash.Algorithm, )
crypto.go:333
↓ 1 callers
Function
verifyServerCert
( rawCertificates [][]byte, roots *x509.CertPool, serverName string, certSignatureSchemes []signaturehash.
crypto.go:377
↓ 1 callers
Method
wait
(ctx context.Context, conn flightConn)
handshaker.go:282
↓ 1 callers
Function
withMaxVersion
MaxVersion sets the maxiumum TLS version that is acceptable. By default, DTLS 1.2 is currently used as the minimum as it's the only supported version.
options.go:585
↓ 1 callers
Function
withMinVersion
MinVersion sets the minimum TLS version that is acceptable. By default, DTLS 1.2 is currently used as the minimum as it's the only supported version.
options.go:571
Method
Accept
Accept waits for and returns the next connection to the listener. You have to either close or read on all connection that are created.
listener.go:97
Method
Accept
Accept calls Accept on the underlying net.Listener and converts the returned net.Conn into a net.PacketConn.
pkg/net/net.go:45
Method
Accept
Accept waits for and returns the next connection to the listener.
internal/net/udp/packet_conn.go:67
Method
Addr
Addr returns the listener's network address.
listener.go:114
Method
Addr
Addr returns the address of the underlying net.Listener.
pkg/net/net.go:60
Method
Addr
Addr returns the listener's network address.
internal/net/udp/packet_conn.go:134
Method
AuthenticationType
()
cipher_suite_test.go:70
Method
AuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/tls_ecdhe_ecdsa_with_chacha20_poly1305_sha256.go:54
Method
AuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/tls_ecdhe_psk_with_aes_128_cbc_sha256.go:58
Method
AuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/tls_psk_with_chacha20_poly1305_sha256.go:36
Method
AuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/tls_psk_with_aes_128_gcm_sha256.go:33
Method
AuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/aes_ccm.go:59
Method
AuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_128_gcm_sha256.go:53
Method
AuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_256_cbc_sha.go:54
Method
AuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/tls_psk_with_aes_128_cbc_sha256.go:53
Function
BenchmarkBuffer14
(b *testing.B)
internal/net/buffer_test.go:392
Function
BenchmarkBuffer140
(b *testing.B)
internal/net/buffer_test.go:396
Function
BenchmarkBuffer1400
(b *testing.B)
internal/net/buffer_test.go:400
Function
BenchmarkBufferWR14
In this benchmark, the buffer is often empty, which is hopefully typical of real usage.
internal/net/buffer_test.go:322
Function
BenchmarkBufferWR140
(b *testing.B)
internal/net/buffer_test.go:326
Function
BenchmarkBufferWR1400
(b *testing.B)
internal/net/buffer_test.go:330
Function
BenchmarkBufferWWR14
Here, the buffer never becomes empty, which forces wraparound.
internal/net/buffer_test.go:335
Function
BenchmarkBufferWWR140
(b *testing.B)
internal/net/buffer_test.go:339
Function
BenchmarkBufferWWR1400
(b *testing.B)
internal/net/buffer_test.go:343
Function
BenchmarkCBCDecrypt
BenchmarkCBCDecrypt benchmarks CBC decryption with various payload sizes.
pkg/crypto/ciphersuite/cbc_bench_test.go:30
Function
BenchmarkCBCEncrypt
BenchmarkCBCEncrypt benchmarks CBC encryption with various payload sizes.
pkg/crypto/ciphersuite/cbc_bench_test.go:14
Function
BenchmarkCCMDecrypt
BenchmarkCCMDecrypt benchmarks CCM decryption with various payload sizes.
pkg/crypto/ciphersuite/ccm_bench_test.go:28
Function
BenchmarkCCMEncrypt
BenchmarkCCMEncrypt benchmarks CCM encryption with various payload sizes.
pkg/crypto/ciphersuite/ccm_bench_test.go:14
Function
BenchmarkChaCha20Poly1305Decrypt
BenchmarkChaCha20Poly1305Decrypt benchmarks ChaCha20-Poly1305 decryption with various payload sizes.
pkg/crypto/ciphersuite/chacha20poly1305_bench_test.go:28
Function
BenchmarkChaCha20Poly1305Encrypt
BenchmarkChaCha20Poly1305Encrypt benchmarks ChaCha20-Poly1305 encryption with various payload sizes.
pkg/crypto/ciphersuite/chacha20poly1305_bench_test.go:14
Function
BenchmarkConnReadWrite
(b *testing.B)
bench_test.go:105
Function
BenchmarkGCMDecrypt
BenchmarkGCMDecrypt benchmarks GCM decryption with various payload sizes.
pkg/crypto/ciphersuite/gcm_bench_test.go:28
Function
BenchmarkGCMEncrypt
BenchmarkGCMEncrypt benchmarks GCM encryption with various payload sizes.
pkg/crypto/ciphersuite/gcm_bench_test.go:14
Method
CertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_ecdsa_with_chacha20_poly1305_sha256.go:24
Method
CertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_rsa_with_aes_256_cbc_sha.go:14
Method
CertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_psk_with_aes_128_cbc_sha256.go:29
Method
CertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_rsa_with_aes_128_gcm_sha256.go:14
Method
CertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_rsa_with_aes_256_gcm_sha384.go:14
Method
CertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_psk_with_chacha20_poly1305_sha256.go:16
Method
CertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_psk_with_aes_128_gcm_sha256.go:14
Method
CertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/aes_ccm.go:30
Method
CertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_rsa_with_chacha20_poly1305_sha256.go:16
Method
CertificateType
CertificateType returns what type of certficate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_128_gcm_sha256.go:24
Method
CertificateType
CertificateType returns what type of certficate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_256_cbc_sha.go:25
Method
CertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_psk_with_aes_128_cbc_sha256.go:24
Method
Close
Close closes the listener. Any blocked Accept operations will be unblocked and return errors. Already Accepted connections are not closed.
listener.go:109
Method
Close
()
resume_test.go:204
Method
Close
Close closes the underlying net.Listener.
pkg/net/net.go:55
Method
Close
Close closes the underlying net.Conn.
pkg/net/net.go:89
Method
Close
Close sends a signal to trigger the ctx done channel.
internal/closer/closer.go:48
Method
Close
Close closes the listener. Any blocked Accept operations will be unblocked and return errors.
internal/net/udp/packet_conn.go:86
Method
Close
Close closes the conn and releases any Read calls.
internal/net/udp/packet_conn.go:365
Method
ContentType
ContentType returns the ContentType of this content.
pkg/protocol/change_cipher_spec.go:14
Method
ContentType
ContentType returns the ContentType of this content.
pkg/protocol/application_data.go:16
Method
ContentType
ContentType returns the ContentType of this Content.
pkg/protocol/alert/alert.go:144
Method
ContentType
ContentType returns what kind of content this message is carying.
pkg/protocol/handshake/handshake.go:83
Method
Decrypt
Decrypt decrypts a DTLS RecordLayer message.
pkg/crypto/ciphersuite/cbc.go:119
Method
Decrypt
Decrypt decrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_ecdsa_with_chacha20_poly1305_sha256.go:138
Method
Decrypt
Decrypt decrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_psk_with_aes_128_cbc_sha256.go:113
Method
Decrypt
Decrypt decrypts a single TLS RecordLayer.
internal/ciphersuite/aes_ccm.go:113
Method
Decrypt
Decrypt decrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_128_gcm_sha256.go:109
Method
Decrypt
Decrypt decrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_256_cbc_sha.go:109
Method
Decrypt
Decrypt decrypts a single TLS RecordLayer.
internal/ciphersuite/tls_psk_with_aes_128_cbc_sha256.go:108
Method
Del
(key []byte)
conn_test.go:2951
Method
ECC
ECC uses Elliptic Curve Cryptography.
internal/ciphersuite/tls_ecdhe_ecdsa_with_chacha20_poly1305_sha256.go:34
Method
ECC
ECC uses Elliptic Curve Cryptography.
internal/ciphersuite/tls_ecdhe_psk_with_aes_128_cbc_sha256.go:39
Method
ECC
ECC uses Elliptic Curve Cryptography.
internal/ciphersuite/aes_ccm.go:44
Method
ECC
ECC uses Elliptic Curve Cryptography.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_128_gcm_sha256.go:34
Method
ECC
ECC uses Elliptic Curve Cryptography.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_256_cbc_sha.go:35
Method
ECC
ECC uses Elliptic Curve Cryptography.
internal/ciphersuite/tls_psk_with_aes_128_cbc_sha256.go:34
Method
Encrypt
Encrypt encrypt a DTLS RecordLayer message.
pkg/crypto/ciphersuite/cbc.go:70
Method
Encrypt
Encrypt encrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_ecdsa_with_chacha20_poly1305_sha256.go:128
Method
Encrypt
Encrypt encrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_psk_with_aes_128_cbc_sha256.go:103
Method
Encrypt
Encrypt encrypts a single TLS RecordLayer.
internal/ciphersuite/aes_ccm.go:103
Method
Encrypt
Encrypt encrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_128_gcm_sha256.go:99
Method
Encrypt
Encrypt encrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_256_cbc_sha.go:99
Method
Encrypt
Encrypt encrypts a single TLS RecordLayer.
internal/ciphersuite/tls_psk_with_aes_128_cbc_sha256.go:98
Method
Err
Err returns an error of the context.
internal/closer/closer.go:43
Method
Error
()
errors.go:243
Method
Error
()
pkg/protocol/errors.go:65
Method
Error
()
pkg/protocol/errors.go:76
Method
Error
()
pkg/protocol/errors.go:87
Method
Error
()
pkg/protocol/errors.go:112
← previous
next →
501–600 of 1,125, ranked by callers