MCPcopy Create free account

hub / github.com/pion/dtls / functions

Functions1,125 in github.com/pion/dtls

FunctionTestServerCertificate
(t *testing.T)
conn_test.go:1562
FunctionTestServerName
(t *testing.T)
pkg/protocol/extension/server_name_test.go:12
FunctionTestServerNameIndicationExtension
(t *testing.T)
conn_test.go:2480
FunctionTestServerOnlyNilCallbackOptionsReturnError
TestServerOnlyNilCallbackOptionsReturnError verifies server-only options return errors for nil callbacks.
options_test.go:202
FunctionTestServerTimeout
(t *testing.T)
conn_test.go:1960
FunctionTestServerWithOptionsValidatesOptionValues
(t *testing.T)
options_test.go:33
FunctionTestSessionResume
(t *testing.T)
conn_test.go:2805
FunctionTestShortBuffer
(t *testing.T)
internal/net/buffer_test.go:115
FunctionTestSignatureAlgorithmsCert
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:15
FunctionTestSignatureAlgorithmsCertDuplicateAlgorithms
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:255
FunctionTestSignatureAlgorithmsCertLargeList
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:276
FunctionTestSignatureAlgorithmsCertMixedPSSAndNonPSS
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:77
FunctionTestSignatureAlgorithmsCertPSSSchemes
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:48
FunctionTestSignatureAlgorithmsCertRoundTrip
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:108
FunctionTestSignatureAlgorithmsCertTypeValue
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:42
FunctionTestSignatureAlgorithmsCertUnmarshalErrors
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:163
FunctionTestSignatureAlgorithmsCertUnmarshalFiltering
(t *testing.T)
pkg/protocol/extension/signature_algorithms_cert_test.go:231
FunctionTestSimpleReadWrite
(t *testing.T)
bench_test.go:21
FunctionTestSkipHelloVerify
(t *testing.T)
conn_test.go:3175
FunctionTestStressDuplex
(t *testing.T)
conn_test.go:53
FunctionTestStressDuplex
(t *testing.T)
internal/net/udp/packet_conn_test.go:29
FunctionTestString
(t *testing.T)
pkg/crypto/elliptic/elliptic_test.go:14
FunctionTestStringFromHash_Roundtrip
(t *testing.T)
pkg/crypto/fingerprint/hash_test.go:30
FunctionTestSupportedEllipticCurves
Assert that SupportedEllipticCurves is only sent when a ECC CipherSuite is available.
flight3handler_test.go:23
FunctionTestSupportedGroupsExtension
Make sure the supported_groups extension is not included in the ServerHello.
conn_test.go:2738
FunctionTestSupportedVersions_ClientHello_Marshal_Invalid
(t *testing.T)
pkg/protocol/extension/supported_versions_test.go:64
FunctionTestSupportedVersions_ClientHello_RoundTrip
(t *testing.T)
pkg/protocol/extension/supported_versions_test.go:13
FunctionTestSupportedVersions_ClientHello_Unmarshal_Invalid
(t *testing.T)
pkg/protocol/extension/supported_versions_test.go:80
FunctionTestSupportedVersions_Marshal_LengthBounds
(t *testing.T)
pkg/protocol/extension/supported_versions_test.go:107
FunctionTestSupportedVersions_ServerHello_RoundTrip
(t *testing.T)
pkg/protocol/extension/supported_versions_test.go:42
FunctionTestSupportedVersions_Unmarshal_Errors
(t *testing.T)
pkg/protocol/extension/supported_versions_test.go:120
FunctionTestToECDH_InvalidCurve
(t *testing.T)
pkg/crypto/elliptic/elliptic_test.go:55
FunctionTestUDPDecode
(t *testing.T)
pkg/protocol/recordlayer/recordlayer_test.go:15
FunctionTestUseMasterSecret
(t *testing.T)
pkg/protocol/extension/use_master_secret_test.go:12
FunctionTestUseMasterSecret_NonEmpty
(t *testing.T)
pkg/protocol/extension/use_master_secret_test.go:30
FunctionTestValidOptionsSucceed
TestValidOptionsSucceed verifies that valid options don't return errors.
options_test.go:341
FunctionTestValidateCertificateSignatureAlgorithms
(t *testing.T)
crypto_test.go:358
FunctionTestValidateConfig
(t *testing.T)
config_test.go:18
FunctionTestVerifyData
(t *testing.T)
pkg/crypto/prf/prf_test.go:94
FunctionTestVersionEqual
(t *testing.T)
pkg/protocol/version_test.go:13
FunctionTestWithOptionsCreatesConn
(t *testing.T)
options_test.go:46
FunctionTestWraparound
(t *testing.T)
internal/net/buffer_test.go:183
FunctionTestWriteKeyLog
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
FunctionTest_hasTooManyContexts
(t *testing.T)
pkg/protocol/extension/key_share_test.go:392
MethodTimeout
Timeout implements net.Error.Timeout().
pkg/protocol/errors.go:57
MethodTimeout
Timeout implements net.Error.Timeout().
pkg/protocol/errors.go:68
MethodTimeout
Timeout implements net.Error.Timeout().
pkg/protocol/errors.go:79
MethodTimeout
Timeout implements net.Error.Timeout().
pkg/protocol/errors.go:90
MethodType
Type returns the Handshake Type.
pkg/protocol/handshake/message_hello_verify_request.go:31
MethodType
Type returns the Handshake Type.
pkg/protocol/handshake/message_server_hello_done.go:12
MethodType
Type returns the Handshake Type.
pkg/protocol/handshake/message_client_key_exchange.go:28
MethodType
Type returns the Handshake Type.
pkg/protocol/handshake/message_client_hello.go:35
MethodType
Type returns the Handshake Type.
pkg/protocol/handshake/message_server_hello.go:33
MethodType
Type returns the Handshake Type.
pkg/protocol/handshake/message_server_key_exchange.go:33
MethodType
Type returns the Handshake Type.
pkg/protocol/handshake/message_certificate_verify.go:28
MethodType
Type returns the Handshake Type.
pkg/protocol/handshake/message_certificate.go:19
MethodType
Type returns the Handshake Type.
pkg/protocol/handshake/message_finished.go:17
MethodType
Type returns the Handshake Type.
pkg/protocol/handshake/message_certificate_request.go:34
MethodUnmarshal
Unmarshal populates the ApplicationData from binary.
pkg/protocol/application_data.go:26
MethodUnmarshal
Unmarshal populates a TLS RecordLayer Header from binary.
pkg/protocol/recordlayer/header.go:54
MethodUnwrap
Unwrap implements Go1.13 error unwrapper.
pkg/protocol/errors.go:63
MethodUnwrap
Unwrap implements Go1.13 error unwrapper.
pkg/protocol/errors.go:74
MethodUnwrap
Unwrap implements Go1.13 error unwrapper.
pkg/protocol/errors.go:85
MethodUnwrap
Unwrap implements Go1.13 error unwrapper.
pkg/protocol/errors.go:110
FunctionWithCertificateSignatureSchemes
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
FunctionWithClientCAs
WithClientCAs sets the client certificate authorities. This option is only applicable to servers.
options.go:618
FunctionWithDisableRetransmitBackoff
WithDisableRetransmitBackoff disables retransmit backoff.
options.go:331
FunctionWithInsecureHashes
WithInsecureHashes allows the use of insecure hash algorithms.
options.go:372
FunctionWithKeyLogWriter
WithKeyLogWriter sets the key log writer for debugging. Use of KeyLogWriter compromises security and should only be used for debugging.
options.go:461
FunctionWithLoggerFactory
WithLoggerFactory sets the logger factory for creating loggers.
options.go:425
FunctionWithRootCAs
WithRootCAs sets the root certificate authorities.
options.go:407
FunctionWithSessionStore
WithSessionStore sets the session store for resumption.
options.go:470
MethodWrite
(data []byte)
resume_test.go:190
MethodWriteTo
WriteTo writes to the underlying net.Conn.
pkg/net/net.go:82
MethodapplyClient
(c *dtlsConfig)
options.go:212
MethodapplyServer
(c *dtlsConfig)
options.go:211
MethodapplyServer
(c *dtlsConfig)
options.go:600
FunctionclientOpenSSL
(c *comm)
e2e/e2e_openssl_test.go:114
FunctionclientPion
(c *comm)
e2e/e2e_test.go:251
Functionflight0Generate
( _ flightConn, state *State, _ *handshakeCache, cfg *handshakeConfig, )
flight0handler.go:165
Functionflight1Generate
nolint:cyclop
flight1handler.go:57
Functionflight2Generate
( _ flightConn, state *State, _ *handshakeCache, _ *handshakeConfig, )
flight2handler.go:54
Functionflight2Parse
( ctx context.Context, c flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight2handler.go:16
Functionflight3Generate
( _ flightConn, state *State, _ *handshakeCache, cfg *handshakeConfig, )
flight3handler.go:276
Functionflight4bGenerate
nolint:cyclop
flight4bhandler.go:57
Functionflight4bParse
( _ context.Context, _ flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight4bhandler.go:18
Functionflight5Generate
nolint:gocognit,cyclop,maintidx
flight5handler.go:75
Functionflight5Parse
( _ context.Context, conn flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight5handler.go:20
Functionflight5bGenerate
( _ flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight5bhandler.go:39
Functionflight5bParse
( _ context.Context, _ flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight5bhandler.go:16
Functionflight6Generate
( _ flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight6handler.go:39
Functionflight6Parse
( _ context.Context, _ flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight6handler.go:16
MethodhandleQueuedPackets
(context.Context)
flight1handler_test.go:27
MethodhandleQueuedPackets
(context.Context)
flight4handler_test.go:30
MethodhandleQueuedPackets
(ctx context.Context)
conn.go:981
MethodhandleQueuedPackets
(context.Context)
handshaker_test.go:470
FunctionisOpErrorTemporary
(err *os.SyscallError)
errors_noerrno.go:16
Functionmain
()
examples/listen/psk/main.go:17
Functionmain
()
examples/listen/verify/main.go:18
Functionmain
()
examples/listen/cid/main.go:17
← previousnext →1,001–1,100 of 1,125, ranked by callers