MCPcopy Create free account

hub / github.com/pion/dtls / functions

Functions1,125 in github.com/pion/dtls

↓ 2 callersMethodTypeValue
TypeValue returns the extension TypeValue.
pkg/protocol/extension/supported_elliptic_curves.go:28
↓ 2 callersMethodTypeValue
TypeValue returns the extension TypeValue.
pkg/protocol/extension/post_handshake_auth.go:21
↓ 2 callersMethodTypeValue
TypeValue returns the extension TypeValue.
pkg/protocol/extension/supported_point_formats.go:25
↓ 2 callersMethodTypeValue
TypeValue returns the extension TypeValue.
pkg/protocol/extension/alpn.go:21
↓ 2 callersMethodTypeValue
TypeValue returns the extension TypeValue.
pkg/protocol/extension/server_name.go:24
↓ 2 callersMethodTypeValue
TypeValue returns the extension TypeValue.
pkg/protocol/extension/supported_signature_algorithms.go:19
↓ 2 callersMethodTypeValue
TypeValue returns the extension TypeValue.
pkg/protocol/extension/use_master_secret.go:20
↓ 2 callersMethodTypeValue
TypeValue returns the extension TypeValue.
pkg/protocol/extension/psk_key_exchange_modes.go:27
↓ 2 callersMethodTypeValue
TypeValue returns the extension TypeValue.
pkg/protocol/extension/certificate_auth.go:20
↓ 2 callersMethodTypeValue
()
pkg/protocol/extension/supported_versions.go:21
↓ 2 callersMethodTypeValue
TypeValue returns the extension TypeValue.
pkg/protocol/extension/use_srtp.go:25
↓ 2 callersMethodTypeValue
TypeValue returns the extension TypeValue.
pkg/protocol/extension/renegotiation_info.go:21
↓ 2 callersMethodTypeValue
TypeValue returns the extension TypeValue.
pkg/protocol/extension/cookie.go:19
↓ 2 callersMethodTypeValue
TypeValue returns the extension TypeValue.
pkg/protocol/extension/early_data_indication.go:19
↓ 2 callersMethodUnmarshal
Unmarshal populates the ChangeCipherSpec from binary.
pkg/protocol/change_cipher_spec.go:24
↓ 2 callersMethodUnmarshal
Unmarshal populates a DTLS InnerPlaintext from binary.
pkg/protocol/recordlayer/inner_plaintext.go:31
↓ 2 callersMethodUnmarshal
Unmarshal populates the message from encoded data.
pkg/protocol/handshake/message_server_key_exchange.go:74
↓ 2 callersMethodUnmarshal
Unmarshal populates the message from encoded data.
pkg/protocol/handshake/message_certificate.go:57
↓ 2 callersMethodUnmarshal
Unmarshal decodes the MessageCertificateRequest13 from its wire format.
pkg/protocol/handshake/message_certificate_request_13.go:87
↓ 2 callersMethodUnmarshal
Unmarshal populates the extension from encoded data.
pkg/protocol/extension/connection_id.go:40
↓ 2 callersMethodUnmarshal
Unmarshal populates the extension from encoded data.
pkg/protocol/extension/supported_elliptic_curves.go:49
↓ 2 callersMethodUnmarshal
Unmarshal populates the extension from encoded data.
pkg/protocol/extension/supported_point_formats.go:50
↓ 2 callersMethodUnmarshal
Unmarshal populates the extension from encoded data.
pkg/protocol/extension/alpn.go:44
↓ 2 callersMethodUnmarshal
Unmarshal populates the extension from encoded data.
pkg/protocol/extension/server_name.go:45
↓ 2 callersMethodUnmarshal
Unmarshal populates the extension from encoded data.
pkg/protocol/extension/renegotiation_info.go:37
↓ 2 callersMethodUnmarshal
Unmarshal populates the extension from encoded data.
pkg/protocol/extension/cookie.go:41
↓ 2 callersMethodUnmarshalBinary
UnmarshalBinary is a binary.BinaryUnmarshaler.UnmarshalBinary implementation.
state.go:222
↓ 2 callersFunctionWithClientHelloMessageHook
WithClientHelloMessageHook sets the client hello message hook. Returns an error if the hook is nil.
options.go:558
↓ 2 callersFunctionWithConnectionIDGenerator
WithConnectionIDGenerator sets the connection ID generator. Returns an error if the generator is nil.
options.go:519
↓ 2 callersFunctionWithCustomCipherSuites
WithCustomCipherSuites sets the custom cipher suites provider. Returns an error if the provider is nil.
options.go:242
↓ 2 callersFunctionWithDNS
WithDNS creates a self-signed certificate from a elliptic curve key.
pkg/crypto/selfsign/selfsign.go:50
↓ 2 callersFunctionWithGetClientCertificate
WithGetClientCertificate sets the client certificate getter callback. Returns an error if the callback is nil.
options.go:506
↓ 2 callersFunctionWithHelloRandomBytesGenerator
WithHelloRandomBytesGenerator sets the hello random bytes generator. Returns an error if the generator is nil.
options.go:545
↓ 2 callersFunctionWithPSK
WithPSK sets the pre-shared key callback. Returns an error if the callback is nil.
options.go:341
↓ 2 callersFunctionWithPaddingLengthGenerator
WithPaddingLengthGenerator sets the padding length generator. Returns an error if the generator is nil.
options.go:532
↓ 2 callersFunctionWithVerifyConnection
WithVerifyConnection sets the connection verification callback. Returns an error if the callback is nil.
options.go:395
↓ 2 callersFunctionWithVerifyPeerCertificate
WithVerifyPeerCertificate sets the peer certificate verification callback. Returns an error if the callback is nil.
options.go:382
↓ 2 callersFunctionaddKeyShareEntry
(b *cryptobyte.Builder, e KeyShareEntry)
pkg/protocol/extension/key_share.go:168
↓ 2 callersMethodapplyServer
(*dtlsConfig)
options.go:21
↓ 2 callersMethodcbcData
(mac, data []byte)
pkg/crypto/ccm/ccm.go:110
↓ 2 callersFunctioncidConnIdentifier
cidConnIdentifier extracts connection IDs from outgoing ServerHello records and associates them with the associated connection. NOTE: a ServerHello sh
connection_id.go:71
↓ 2 callersFunctioncidDatagramRouter
cidDatagramRouter extracts connection IDs from incoming datagram payloads and uses them to route to the proper connection. NOTE: properly routing data
connection_id.go:42
↓ 2 callersFunctionciphersFromSuites
(cipherSuites []dtls.CipherSuiteID)
e2e/e2e_openssl_test.go:199
↓ 2 callersMethodclose
(err error)
conn.go:670
↓ 2 callersFunctiondecodeCipherSuiteIDs
(buf []byte)
pkg/protocol/handshake/cipher_suite.go:8
↓ 2 callersMethoddecrypt
decrypt decrypts a DTLS RecordLayer message.
pkg/crypto/ciphersuite/ciphersuite.go:112
↓ 2 callersMethoddeserialize
(serialized serializedState)
state.go:139
↓ 2 callersMethodencrypt
encrypt encrypts a DTLS RecordLayer message.
pkg/crypto/ciphersuite/ciphersuite.go:75
↓ 2 callersFunctionfindMatchingCipherSuite
(a, b []CipherSuite)
util.go:18
↓ 2 callersFunctionfindMatchingSRTPProfile
(a, b []SRTPProtectionProfile)
util.go:8
↓ 2 callersFunctionflight1Parse
( ctx context.Context, conn flightConn, state *State, cache *handshakeCache, cfg *handshakeConfig, )
flight1handler.go:17
↓ 2 callersFunctionformatSize
(b *testing.B, size int)
pkg/crypto/ciphersuite/bench_helpers_test.go:112
↓ 2 callersMethodhandleIncomingPacket
nolint:gocognit,gocyclo,cyclop,maintidx
conn.go:1022
↓ 2 callersMethodhandleQueuedPackets
(context.Context)
handshaker.go:150
↓ 2 callersFunctionhandleServerKeyExchange
nolint:cyclop
flight3handler.go:224
↓ 2 callersMethodhmac
( epoch uint16, sequenceNumber uint64, contentType protocol.ContentType, protocolVersion protocol.Version,
pkg/crypto/ciphersuite/cbc.go:177
↓ 2 callersMethodhmacCID
hmacCID calculates a MAC according to https://datatracker.ietf.org/doc/html/rfc9146#section-5.1
pkg/crypto/ciphersuite/cbc.go:209
↓ 2 callersMethodincludeCertificateSuites
()
config.go:246
↓ 2 callersMethodinit
( masterSecret, clientRandom, serverRandom []byte, isClient bool, prfMacLen, prfKeyLen, prfIvLen int, hash
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_128_gcm_sha256.go:63
↓ 2 callersFunctioninvalidKeyingLabels
()
conn.go:43
↓ 2 callersFunctionloadCerts
(rawCertificates [][]byte)
crypto.go:316
↓ 2 callersFunctionmarshalGenericSignatureHashAlgorithm
marshalGenericSignatureHashAlgorithm encodes the extension. This supports hybrid encoding: TLS 1.3 PSS schemes are encoded as full uint16, while TLS 1
pkg/protocol/extension/generic_signature_hash_extension.go:17
↓ 2 callersFunctionmaxlen
(l uint8, tagsize int)
pkg/crypto/ccm/ccm.go:77
↓ 2 callersFunctionnewAEAD
newAEAD creates a generic DTLS AEAD-based Cipher.
pkg/crypto/ciphersuite/ciphersuite.go:50
↓ 2 callersFunctionpipeConn
(ca, cb net.Conn)
conn_test.go:230
↓ 2 callersFunctionprfVerifyData
(masterSecret, handshakeBodies []byte, label string, hashFunc HashFunc)
pkg/crypto/prf/prf.go:245
↓ 2 callersMethodpull
returns a list handshakes that match the requested rules the list will contain null entries for rules that can't be satisfied multiple entries may mat
handshake_cache.go:53
↓ 2 callersMethodrecvHandshake
()
handshaker.go:148
↓ 2 callersMethodserialize
()
state.go:108
↓ 2 callersFunctionserverWithConfig
serverWithConfig is an internal helper that accepts a *Config.
conn.go:409
↓ 2 callersMethodsessionKey
()
handshaker.go:151
↓ 2 callersMethodtag
(nonce, plaintext, adata []byte)
pkg/crypto/ccm/ccm.go:124
↓ 2 callersFunctiontestPionE2EChaCha20Poly1305PSK
(t *testing.T, server, client func(*comm), opts ...dtlsTestOpts)
e2e/e2e_test.go:580
↓ 2 callersMethodtoECDH
toECDH returns the crypto/ecdh curve for our enum.
pkg/crypto/elliptic/elliptic.go:110
↓ 2 callersMethodtranslateHandshakeCtxError
(err error)
conn.go:1410
↓ 2 callersFunctionunmarshalGenericSignatureHashAlgorithm
unmarshalGenericSignatureAlgorithm populates the extension from encoded data. This supports hybrid encoding: detects TLS 1.3 PSS schemes and handles t
pkg/protocol/extension/generic_signature_hash_extension.go:34
↓ 2 callersFunctionvalidateSignatureAlgOID
validateSignatureAlgOID validates that the signature scheme matches the certificate's public key algorithm OID. This is required by RFC 8446 Section 4
crypto.go:53
↓ 2 callersMethodwritePackets
(context.Context, []*packet)
handshaker.go:147
↓ 2 callersMethodwritePackets
(ctx context.Context, pkts []*packet)
conn.go:565
↓ 2 callersFunctionwriteTempPEMFromCerts
(certs []tls.Certificate)
e2e/e2e_openssl_test.go:236
↓ 1 callersMethodCertificateType
What type of Certificate does this CipherSuite use
cipher_suite.go:88
↓ 1 callersFunctionCipherSuiteName
CipherSuiteName provides the same functionality as tls.CipherSuiteName that appeared first in Go 1.14. Our implementation differs slightly in that it
cipher_suite.go:118
↓ 1 callersFunctionCipherSuites
CipherSuites returns a list of cipher suites currently implemented by this package, excluding those with security issues, which are returned by Insecu
cipher_suite.go:140
↓ 1 callersFunctionCurveTypes
CurveTypes returns all known curves.
pkg/crypto/elliptic/elliptic.go:44
↓ 1 callersMethodDecrypt
(header recordlayer.Header, in []byte)
pkg/crypto/ciphersuite/bench_helpers_test.go:17
↓ 1 callersFunctionDial
Dial connects to the given network address and establishes a DTLS connection on top. Deprecated: Use DialWithOptions instead.
conn.go:358
↓ 1 callersFunctionDialWithOptions
DialWithOptions connects to the given network address and establishes a DTLS connection on top.
conn.go:371
↓ 1 callersMethodECC
ECC (Elliptic Curve Cryptography) determines whether ECC extesions will be send during handshake. https://datatracker.ietf.org/doc/html/rfc4492#page-1
cipher_suite.go:101
↓ 1 callersFunctionEncodeCompressionMethods
EncodeCompressionMethods the given compression methods.
pkg/protocol/compression_method.go:46
↓ 1 callersMethodEncrypt
Encrypt encrypt a DTLS RecordLayer message.
pkg/crypto/ciphersuite/ccm.go:61
↓ 1 callersMethodHashFunc
HashFunc returns the hashing func for this CipherSuite.
internal/ciphersuite/tls_ecdhe_ecdsa_with_chacha20_poly1305_sha256.go:49
↓ 1 callersMethodHashFunc
HashFunc returns the hashing func for this CipherSuite.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_256_gcm_sha384.go:26
↓ 1 callersMethodHashFunc
HashFunc returns the hashing func for this CipherSuite.
internal/ciphersuite/aes_ccm.go:54
↓ 1 callersMethodHashFunc
HashFunc returns the hashing func for this CipherSuite.
internal/ciphersuite/tls_ecdhe_ecdsa_with_aes_256_cbc_sha.go:49
↓ 1 callersMethodID
ID returns the ID of the CipherSuite.
internal/ciphersuite/tls_ecdhe_ecdsa_with_chacha20_poly1305_sha256.go:39
↓ 1 callersMethodID
ID returns the ID of the CipherSuite.
internal/ciphersuite/tls_psk_with_chacha20_poly1305_sha256.go:26
↓ 1 callersMethodID
ID returns the ID of the CipherSuite.
internal/ciphersuite/tls_ecdhe_rsa_with_chacha20_poly1305_sha256.go:21
↓ 1 callersMethodInsecure
Insecure returns if the given HashAlgorithm is considered secure in DTLS 1.2 .
pkg/crypto/hash/hash.go:91
↓ 1 callersFunctionInsecureCipherSuites
InsecureCipherSuites returns a list of cipher suites currently implemented by this package and which have security issues.
cipher_suite.go:152
↓ 1 callersFunctionIsSupportedBytes
IsSupportedBytes returns true if it's supported by Pion. Only DTLS 1.2 is currently supported. DTLS 1.3 is a work in progress and is currently being i
pkg/protocol/version.go:29
← previousnext →301–400 of 1,125, ranked by callers