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
Function
TestServerCertificate
(t *testing.T)
conn_test.go:1562
Function
TestServerName
(t *testing.T)
pkg/protocol/extension/server_name_test.go:12
Function
TestServerNameIndicationExtension
(t *testing.T)
conn_test.go:2480
Function
TestServerOnlyNilCallbackOptionsReturnError
TestServerOnlyNilCallbackOptionsReturnError verifies server-only options return errors for nil callbacks.
options_test.go:202
Function
TestServerTimeout
(t *testing.T)
conn_test.go:1960
Function
TestServerWithOptionsValidatesOptionValues
(t *testing.T)
options_test.go:33
Function
TestSessionResume
(t *testing.T)
conn_test.go:2805
Function
TestShortBuffer
(t *testing.T)
internal/net/buffer_test.go:115
Function
TestSignatureAlgorithmsCert
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:15
Function
TestSignatureAlgorithmsCertDuplicateAlgorithms
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:255
Function
TestSignatureAlgorithmsCertLargeList
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:276
Function
TestSignatureAlgorithmsCertMixedPSSAndNonPSS
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:77
Function
TestSignatureAlgorithmsCertPSSSchemes
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:48
Function
TestSignatureAlgorithmsCertRoundTrip
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:108
Function
TestSignatureAlgorithmsCertTypeValue
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:42
Function
TestSignatureAlgorithmsCertUnmarshalErrors
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:163
Function
TestSignatureAlgorithmsCertUnmarshalFiltering
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:231
Function
TestSimpleReadWrite
(t *testing.T)
bench_test.go:21
Function
TestSkipHelloVerify
(t *testing.T)
conn_test.go:3175
Function
TestStressDuplex
(t *testing.T)
conn_test.go:53
Function
TestStressDuplex
(t *testing.T)
internal/net/udp/packet_conn_test.go:29
Function
TestString
(t *testing.T)
pkg/crypto/elliptic/elliptic_test.go:14
Function
TestStringFromHash_Roundtrip
(t *testing.T)
pkg/crypto/fingerprint/hash_test.go:30
Function
TestSupportedEllipticCurves
Assert that SupportedEllipticCurves is only sent when a ECC CipherSuite is available.
flight3handler_test.go:23
Function
TestSupportedGroupsExtension
Make sure the supported_groups extension is not included in the ServerHello.
conn_test.go:2738
Function
TestSupportedVersions_ClientHello_Marshal_Invalid
(t *testing.T)
pkg/protocol/extension/supported_versions_test.go:64
Function
TestSupportedVersions_ClientHello_RoundTrip
(t *testing.T)
pkg/protocol/extension/supported_versions_test.go:13
Function
TestSupportedVersions_ClientHello_Unmarshal_Invalid
(t *testing.T)
pkg/protocol/extension/supported_versions_test.go:80
Function
TestSupportedVersions_Marshal_LengthBounds
(t *testing.T)
pkg/protocol/extension/supported_versions_test.go:107
Function
TestSupportedVersions_ServerHello_RoundTrip
(t *testing.T)
pkg/protocol/extension/supported_versions_test.go:42
Function
TestSupportedVersions_Unmarshal_Errors
(t *testing.T)
pkg/protocol/extension/supported_versions_test.go:120
Function
TestToECDH_InvalidCurve
(t *testing.T)
pkg/crypto/elliptic/elliptic_test.go:55
Function
TestUDPDecode
(t *testing.T)
pkg/protocol/recordlayer/recordlayer_test.go:15
Function
TestUseMasterSecret
(t *testing.T)
pkg/protocol/extension/use_master_secret_test.go:12
Function
TestUseMasterSecret_NonEmpty
(t *testing.T)
pkg/protocol/extension/use_master_secret_test.go:30
Function
TestValidOptionsSucceed
TestValidOptionsSucceed verifies that valid options don't return errors.
options_test.go:341
Function
TestValidateCertificateSignatureAlgorithms
(t *testing.T)
crypto_test.go:358
Function
TestValidateConfig
(t *testing.T)
config_test.go:18
Function
TestVerifyData
(t *testing.T)
pkg/crypto/prf/prf_test.go:94
Function
TestVersionEqual
(t *testing.T)
pkg/protocol/version_test.go:13
Function
TestWithOptionsCreatesConn
(t *testing.T)
options_test.go:46
Function
TestWraparound
(t *testing.T)
internal/net/buffer_test.go:183
Function
TestWriteKeyLog
Test that writes to the key log are in the correct format and only applies when a key log writer is given.
handshaker_test.go:29
Function
Test_hasTooManyContexts
(t *testing.T)
pkg/protocol/extension/key_share_test.go:392
Method
Timeout
Timeout implements net.Error.Timeout().
pkg/protocol/errors.go:57
Method
Timeout
Timeout implements net.Error.Timeout().
pkg/protocol/errors.go:68
Method
Timeout
Timeout implements net.Error.Timeout().
pkg/protocol/errors.go:79
Method
Timeout
Timeout implements net.Error.Timeout().
pkg/protocol/errors.go:90
Method
Type
Type returns the Handshake Type.
pkg/protocol/handshake/message_hello_verify_request.go:31
Method
Type
Type returns the Handshake Type.
pkg/protocol/handshake/message_server_hello_done.go:12
Method
Type
Type returns the Handshake Type.
pkg/protocol/handshake/message_client_key_exchange.go:28
Method
Type
Type returns the Handshake Type.
pkg/protocol/handshake/message_client_hello.go:35
Method
Type
Type returns the Handshake Type.
pkg/protocol/handshake/message_server_hello.go:33
Method
Type
Type returns the Handshake Type.
pkg/protocol/handshake/message_server_key_exchange.go:33
Method
Type
Type returns the Handshake Type.
pkg/protocol/handshake/message_certificate_verify.go:28
Method
Type
Type returns the Handshake Type.
pkg/protocol/handshake/message_certificate.go:19
Method
Type
Type returns the Handshake Type.
pkg/protocol/handshake/message_finished.go:17
Method
Type
Type returns the Handshake Type.
pkg/protocol/handshake/message_certificate_request.go:34
Method
Unmarshal
Unmarshal populates the ApplicationData from binary.
pkg/protocol/application_data.go:26
Method
Unmarshal
Unmarshal populates a TLS RecordLayer Header from binary.
pkg/protocol/recordlayer/header.go:54
Method
Unwrap
Unwrap implements Go1.13 error unwrapper.
pkg/protocol/errors.go:63
Method
Unwrap
Unwrap implements Go1.13 error unwrapper.
pkg/protocol/errors.go:74
Method
Unwrap
Unwrap implements Go1.13 error unwrapper.
pkg/protocol/errors.go:85
Method
Unwrap
Unwrap implements Go1.13 error unwrapper.
pkg/protocol/errors.go:110
Function
WithCertificateSignatureSchemes
WithCertificateSignatureSchemes sets the signature and hash schemes that may be used in digital signatures for X.509 certificates. If not set, the sig
options.go:271
Function
WithClientCAs
WithClientCAs sets the client certificate authorities. This option is only applicable to servers.
options.go:618
Function
WithDisableRetransmitBackoff
WithDisableRetransmitBackoff disables retransmit backoff.
options.go:331
Function
WithInsecureHashes
WithInsecureHashes allows the use of insecure hash algorithms.
options.go:372
Function
WithKeyLogWriter
WithKeyLogWriter sets the key log writer for debugging. Use of KeyLogWriter compromises security and should only be used for debugging.
options.go:461
Function
WithLoggerFactory
WithLoggerFactory sets the logger factory for creating loggers.
options.go:425
Function
WithRootCAs
WithRootCAs sets the root certificate authorities.
options.go:407
Function
WithSessionStore
WithSessionStore sets the session store for resumption.
options.go:470
Method
Write
(data []byte)
resume_test.go:190
Method
WriteTo
WriteTo writes to the underlying net.Conn.
pkg/net/net.go:82
Method
applyClient
(c *dtlsConfig)
options.go:212
Method
applyServer
(c *dtlsConfig)
options.go:211
Method
applyServer
(c *dtlsConfig)
options.go:600
Function
clientOpenSSL
(c *comm)
e2e/e2e_openssl_test.go:114
Function
clientPion
(c *comm)
e2e/e2e_test.go:251
Function
flight0Generate
( _ flightConn, state *State, _ *handshakeCache, cfg *handshakeConfig, )
flight0handler.go:165
Function
flight1Generate
nolint:cyclop
flight1handler.go:57
Function
flight2Generate
( _ flightConn, state *State, _ *handshakeCache, _ *handshakeConfig, )
flight2handler.go:54
Function
flight2Parse
( ctx context.Context, c flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight2handler.go:16
Function
flight3Generate
( _ flightConn, state *State, _ *handshakeCache, cfg *handshakeConfig, )
flight3handler.go:276
Function
flight4bGenerate
nolint:cyclop
flight4bhandler.go:57
Function
flight4bParse
( _ context.Context, _ flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight4bhandler.go:18
Function
flight5Generate
nolint:gocognit,cyclop,maintidx
flight5handler.go:75
Function
flight5Parse
( _ context.Context, conn flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight5handler.go:20
Function
flight5bGenerate
( _ flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight5bhandler.go:39
Function
flight5bParse
( _ context.Context, _ flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight5bhandler.go:16
Function
flight6Generate
( _ flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight6handler.go:39
Function
flight6Parse
( _ context.Context, _ flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight6handler.go:16
Method
handleQueuedPackets
(context.Context)
flight1handler_test.go:27
Method
handleQueuedPackets
(context.Context)
flight4handler_test.go:30
Method
handleQueuedPackets
(ctx context.Context)
conn.go:981
Method
handleQueuedPackets
(context.Context)
handshaker_test.go:470
Function
isOpErrorTemporary
(err *os.SyscallError)
errors_noerrno.go:16
Function
main
()
examples/listen/psk/main.go:17
Function
main
()
examples/listen/verify/main.go:18
Function
main
()
examples/listen/cid/main.go:17
← previous
next →
1,001–1,100 of 1,125, ranked by callers