MCPcopy Create free account

hub / github.com/pion/dtls / functions

Functions1,125 in github.com/pion/dtls

↓ 1 callersMethodsetNameToCertificateLocked
()
certificate.go:74
↓ 1 callersMethodsize
current total size of buffer.
fragment_buffer.go:45
↓ 1 callersFunctionsliceForAppend
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 callersFunctionsplitBytes
(bytes []byte, splitLen int)
util.go:30
↓ 1 callersFunctionsrtpProtectionProfiles
()
pkg/protocol/extension/srtp_protection_profile.go:21
↓ 1 callersFunctionstressDuplex
(t *testing.T)
conn_test.go:66
↓ 1 callersFunctionstressDuplex
(t *testing.T)
internal/net/udp/packet_conn_test.go:64
↓ 1 callersFunctiontestPionE2ESimpleClientHelloHook
(t *testing.T, server, client func(*comm), opts ...dtlsTestOpts)
e2e/e2e_test.go:870
↓ 1 callersFunctiontestPionE2ESimpleServerHelloHook
(t *testing.T, server, client func(*comm), opts ...dtlsTestOpts)
e2e/e2e_test.go:931
↓ 1 callersFunctiontoTLSCipherSuite
Convert from our cipherSuite interface to a tls.CipherSuite struct.
cipher_suite.go:128
↓ 1 callersMethodunregister
(conn net.Conn)
examples/util/hub.go:50
↓ 1 callersFunctionverifyCertificateVerify
nolint:dupl,cyclop
crypto.go:248
↓ 1 callersFunctionverifyClientCert
( rawCertificates [][]byte, roots *x509.CertPool, certSignatureSchemes []signaturehash.Algorithm, )
crypto.go:333
↓ 1 callersFunctionverifyServerCert
( rawCertificates [][]byte, roots *x509.CertPool, serverName string, certSignatureSchemes []signaturehash.
crypto.go:377
↓ 1 callersMethodwait
(ctx context.Context, conn flightConn)
handshaker.go:282
↓ 1 callersFunctionwithMaxVersion
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 callersFunctionwithMinVersion
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
MethodAccept
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
MethodAccept
Accept calls Accept on the underlying net.Listener and converts the returned net.Conn into a net.PacketConn.
pkg/net/net.go:45
MethodAccept
Accept waits for and returns the next connection to the listener.
internal/net/udp/packet_conn.go:67
MethodAddr
Addr returns the listener's network address.
listener.go:114
MethodAddr
Addr returns the address of the underlying net.Listener.
pkg/net/net.go:60
MethodAddr
Addr returns the listener's network address.
internal/net/udp/packet_conn.go:134
MethodAuthenticationType
()
cipher_suite_test.go:70
MethodAuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/tls_ecdhe_ecdsa_with_chacha20_poly1305_sha256.go:54
MethodAuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/tls_ecdhe_psk_with_aes_128_cbc_sha256.go:58
MethodAuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/tls_psk_with_chacha20_poly1305_sha256.go:36
MethodAuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/tls_psk_with_aes_128_gcm_sha256.go:33
MethodAuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/aes_ccm.go:59
MethodAuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_128_gcm_sha256.go:53
MethodAuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_256_cbc_sha.go:54
MethodAuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/tls_psk_with_aes_128_cbc_sha256.go:53
FunctionBenchmarkBuffer14
(b *testing.B)
internal/net/buffer_test.go:392
FunctionBenchmarkBuffer140
(b *testing.B)
internal/net/buffer_test.go:396
FunctionBenchmarkBuffer1400
(b *testing.B)
internal/net/buffer_test.go:400
FunctionBenchmarkBufferWR14
In this benchmark, the buffer is often empty, which is hopefully typical of real usage.
internal/net/buffer_test.go:322
FunctionBenchmarkBufferWR140
(b *testing.B)
internal/net/buffer_test.go:326
FunctionBenchmarkBufferWR1400
(b *testing.B)
internal/net/buffer_test.go:330
FunctionBenchmarkBufferWWR14
Here, the buffer never becomes empty, which forces wraparound.
internal/net/buffer_test.go:335
FunctionBenchmarkBufferWWR140
(b *testing.B)
internal/net/buffer_test.go:339
FunctionBenchmarkBufferWWR1400
(b *testing.B)
internal/net/buffer_test.go:343
FunctionBenchmarkCBCDecrypt
BenchmarkCBCDecrypt benchmarks CBC decryption with various payload sizes.
pkg/crypto/ciphersuite/cbc_bench_test.go:30
FunctionBenchmarkCBCEncrypt
BenchmarkCBCEncrypt benchmarks CBC encryption with various payload sizes.
pkg/crypto/ciphersuite/cbc_bench_test.go:14
FunctionBenchmarkCCMDecrypt
BenchmarkCCMDecrypt benchmarks CCM decryption with various payload sizes.
pkg/crypto/ciphersuite/ccm_bench_test.go:28
FunctionBenchmarkCCMEncrypt
BenchmarkCCMEncrypt benchmarks CCM encryption with various payload sizes.
pkg/crypto/ciphersuite/ccm_bench_test.go:14
FunctionBenchmarkChaCha20Poly1305Decrypt
BenchmarkChaCha20Poly1305Decrypt benchmarks ChaCha20-Poly1305 decryption with various payload sizes.
pkg/crypto/ciphersuite/chacha20poly1305_bench_test.go:28
FunctionBenchmarkChaCha20Poly1305Encrypt
BenchmarkChaCha20Poly1305Encrypt benchmarks ChaCha20-Poly1305 encryption with various payload sizes.
pkg/crypto/ciphersuite/chacha20poly1305_bench_test.go:14
FunctionBenchmarkConnReadWrite
(b *testing.B)
bench_test.go:105
FunctionBenchmarkGCMDecrypt
BenchmarkGCMDecrypt benchmarks GCM decryption with various payload sizes.
pkg/crypto/ciphersuite/gcm_bench_test.go:28
FunctionBenchmarkGCMEncrypt
BenchmarkGCMEncrypt benchmarks GCM encryption with various payload sizes.
pkg/crypto/ciphersuite/gcm_bench_test.go:14
MethodCertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_ecdsa_with_chacha20_poly1305_sha256.go:24
MethodCertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_rsa_with_aes_256_cbc_sha.go:14
MethodCertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_psk_with_aes_128_cbc_sha256.go:29
MethodCertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_rsa_with_aes_128_gcm_sha256.go:14
MethodCertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_rsa_with_aes_256_gcm_sha384.go:14
MethodCertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_psk_with_chacha20_poly1305_sha256.go:16
MethodCertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_psk_with_aes_128_gcm_sha256.go:14
MethodCertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/aes_ccm.go:30
MethodCertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_rsa_with_chacha20_poly1305_sha256.go:16
MethodCertificateType
CertificateType returns what type of certficate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_128_gcm_sha256.go:24
MethodCertificateType
CertificateType returns what type of certficate this CipherSuite exchanges.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_256_cbc_sha.go:25
MethodCertificateType
CertificateType returns what type of certificate this CipherSuite exchanges.
internal/ciphersuite/tls_psk_with_aes_128_cbc_sha256.go:24
MethodClose
Close closes the listener. Any blocked Accept operations will be unblocked and return errors. Already Accepted connections are not closed.
listener.go:109
MethodClose
()
resume_test.go:204
MethodClose
Close closes the underlying net.Listener.
pkg/net/net.go:55
MethodClose
Close closes the underlying net.Conn.
pkg/net/net.go:89
MethodClose
Close sends a signal to trigger the ctx done channel.
internal/closer/closer.go:48
MethodClose
Close closes the listener. Any blocked Accept operations will be unblocked and return errors.
internal/net/udp/packet_conn.go:86
MethodClose
Close closes the conn and releases any Read calls.
internal/net/udp/packet_conn.go:365
MethodContentType
ContentType returns the ContentType of this content.
pkg/protocol/change_cipher_spec.go:14
MethodContentType
ContentType returns the ContentType of this content.
pkg/protocol/application_data.go:16
MethodContentType
ContentType returns the ContentType of this Content.
pkg/protocol/alert/alert.go:144
MethodContentType
ContentType returns what kind of content this message is carying.
pkg/protocol/handshake/handshake.go:83
MethodDecrypt
Decrypt decrypts a DTLS RecordLayer message.
pkg/crypto/ciphersuite/cbc.go:119
MethodDecrypt
Decrypt decrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_ecdsa_with_chacha20_poly1305_sha256.go:138
MethodDecrypt
Decrypt decrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_psk_with_aes_128_cbc_sha256.go:113
MethodDecrypt
Decrypt decrypts a single TLS RecordLayer.
internal/ciphersuite/aes_ccm.go:113
MethodDecrypt
Decrypt decrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_128_gcm_sha256.go:109
MethodDecrypt
Decrypt decrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_256_cbc_sha.go:109
MethodDecrypt
Decrypt decrypts a single TLS RecordLayer.
internal/ciphersuite/tls_psk_with_aes_128_cbc_sha256.go:108
MethodDel
(key []byte)
conn_test.go:2951
MethodECC
ECC uses Elliptic Curve Cryptography.
internal/ciphersuite/tls_ecdhe_ecdsa_with_chacha20_poly1305_sha256.go:34
MethodECC
ECC uses Elliptic Curve Cryptography.
internal/ciphersuite/tls_ecdhe_psk_with_aes_128_cbc_sha256.go:39
MethodECC
ECC uses Elliptic Curve Cryptography.
internal/ciphersuite/aes_ccm.go:44
MethodECC
ECC uses Elliptic Curve Cryptography.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_128_gcm_sha256.go:34
MethodECC
ECC uses Elliptic Curve Cryptography.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_256_cbc_sha.go:35
MethodECC
ECC uses Elliptic Curve Cryptography.
internal/ciphersuite/tls_psk_with_aes_128_cbc_sha256.go:34
MethodEncrypt
Encrypt encrypt a DTLS RecordLayer message.
pkg/crypto/ciphersuite/cbc.go:70
MethodEncrypt
Encrypt encrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_ecdsa_with_chacha20_poly1305_sha256.go:128
MethodEncrypt
Encrypt encrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_psk_with_aes_128_cbc_sha256.go:103
MethodEncrypt
Encrypt encrypts a single TLS RecordLayer.
internal/ciphersuite/aes_ccm.go:103
MethodEncrypt
Encrypt encrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_128_gcm_sha256.go:99
MethodEncrypt
Encrypt encrypts a single TLS RecordLayer.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_256_cbc_sha.go:99
MethodEncrypt
Encrypt encrypts a single TLS RecordLayer.
internal/ciphersuite/tls_psk_with_aes_128_cbc_sha256.go:98
MethodErr
Err returns an error of the context.
internal/closer/closer.go:43
MethodError
()
errors.go:243
MethodError
()
pkg/protocol/errors.go:65
MethodError
()
pkg/protocol/errors.go:76
MethodError
()
pkg/protocol/errors.go:87
MethodError
()
pkg/protocol/errors.go:112
← previousnext →501–600 of 1,125, ranked by callers