MCPcopy Create free account

hub / github.com/pion/dtls / types & classes

Types & classes171 in github.com/pion/dtls

↓ 32 callersFuncTypesharedOption
sharedOption wraps an apply function that works for both client and server. This eliminates code duplication for options that behave identically on bo
options.go:209
↓ 20 callersTypeAliasTypeValue
TypeValue is the 2 byte value for a TLS Extension as registered in the IANA https://www.iana.org/assignments/tls-extensiontype-values/tls-extensionty
pkg/protocol/extension/extension.go:14
↓ 8 callersTypeAliasCurve
Curve is used to represent the IANA registered curves for TLS https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-8
pkg/crypto/elliptic/elliptic.go:53
↓ 8 callersTypeAliasType
Type is used to communicate what type of certificate is being transported https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-pa
pkg/crypto/clientcertificate/client_certificate.go:11
↓ 8 callersFuncTypeserverOnlyOption
serverOnlyOption wraps an apply function for server-only options.
options.go:598
↓ 6 callersTypeAliasAlgorithm
Algorithm as defined in TLS 1.2 https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-16
pkg/crypto/signature/signature.go:11
↓ 5 callersTypeAliasContentType
ContentType represents the IANA Registered ContentTypes https://tools.ietf.org/html/rfc4346#section-6.2.1
pkg/protocol/content.go:9
↓ 3 callersTypeAliasAlgorithm
Algorithm is used to indicate the hash algorithm used https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-18
pkg/crypto/hash/hash.go:17
↓ 3 callersTypeAliasClientAuthType
ClientAuthType declares the policy the server will follow for TLS Client Authentication.
config.go:260
↓ 3 callersTypeAliasExtendedMasterSecretType
ExtendedMasterSecretType declares the policy the client and server will follow for the Extended Master Secret extension.
config.go:273
↓ 2 callersTypeAliasCompressionMethodID
CompressionMethodID is the ID for a CompressionMethod.
pkg/protocol/compression_method.go:7
↓ 2 callersTypeAliasCurveType
CurveType is used to represent the IANA registered curve types for TLS https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-param
pkg/crypto/elliptic/elliptic.go:36
↓ 2 callersTypeAliasSRTPProtectionProfile
SRTPProtectionProfile defines the parameters and options that are in effect for the SRTP processing https://tools.ietf.org/html/rfc5764#section-4.1.2
pkg/protocol/extension/srtp_protection_profile.go:8
↓ 2 callersTypeAliasType
Type is the unique identifier for each handshake message https://tools.ietf.org/html/rfc5246#section-7.4
pkg/protocol/handshake/handshake.go:15
↓ 1 callersTypeAliasCurvePointFormat
CurvePointFormat is used to represent the IANA registered curve points https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-paramet
pkg/crypto/elliptic/elliptic.go:19
↓ 1 callersTypeAliasDescription
Description is the extended info of the TLS Alert.
pkg/protocol/alert/alert.go:37
↓ 1 callersTypeAliasKeyExchangeAlgorithm
nolint:revive KeyExchangeAlgorithm controls what exchange algorithm was chosen.
internal/ciphersuite/types/key_exchange_algorithm.go:8
↓ 1 callersTypeAliasLevel
nolint:err113 Level is the level of the TLS Alert.
pkg/protocol/alert/alert.go:17
↓ 1 callersTypeAliasPskBinderEntry
PskBinderEntry represents the binder related to a PSK identity in the "pre_shared_key" extension for DTLS 1.3.
pkg/protocol/extension/pre_shared_key.go:34
↓ 1 callersTypeAliasPskKeyExchangeMode
pkg/protocol/extension/psk_key_exchange_modes.go:18
StructALPN
ALPN is a TLS extension for application-layer protocol negotiation within the TLS handshake. https://tools.ietf.org/html/rfc7301
pkg/protocol/extension/alpn.go:16
StructAddrPacket
AddrPacket is a packet payload and the associated remote address from which it was received.
internal/net/buffer.go:32
StructAes128Ccm
Aes128Ccm is a base class used by multiple AES-CCM Ciphers.
internal/ciphersuite/aes_128_ccm.go:12
StructAes256Ccm
Aes256Ccm is a base class used by multiple AES-CCM Ciphers.
internal/ciphersuite/aes_256_ccm.go:12
StructAesCcm
AesCcm is a base class used by multiple AES-CCM Ciphers.
internal/ciphersuite/aes_ccm.go:19
StructAlert
Alert is one of the content types supported by the TLS record layer. Alert messages convey the severity of the message (warning or fatal) and a descri
pkg/protocol/alert/alert.go:138
StructAlgorithm
Algorithm is a signature/hash algorithm pairs which may be used in digital signatures. https://tools.ietf.org/html/rfc5246#section-7.4.1.4.1
pkg/crypto/signaturehash/signaturehash.go:23
StructApplicationData
ApplicationData messages are carried by the record layer and are fragmented, compressed, and encrypted based on the current connection state. The mes
pkg/protocol/application_data.go:11
TypeAliasAuthenticationType
AuthenticationType controls what authentication method is using during the handshake.
internal/ciphersuite/types/authentication_type.go:7
StructCBC
CBC Provides an API to Encrypt/Decrypt DTLS 1.2 Packets.
pkg/crypto/ciphersuite/cbc.go:28
InterfaceCCM
CCM is a block cipher in Counter with CBC-MAC mode. Providing authenticated encryption with associated data via the cipher.AEAD interface.
pkg/crypto/ccm/ccm.go:37
StructCCM
CCM Provides an API to Encrypt/Decrypt DTLS 1.2 Packets.
pkg/crypto/ciphersuite/ccm.go:24
TypeAliasCCMTagLen
CCMTagLen is the length of Authentication Tag.
pkg/crypto/ciphersuite/ccm.go:14
StructCertificateAuthorities
CertificateAuthorities implements the certificate_authorities extension in DTLS 1.3. See RFC 8446 section 4.2.4. Certificate Authorities. https://da
pkg/protocol/extension/certificate_auth.go:15
StructCertificateEntry13
CertificateEntry13 represents a single certificate entry in the DTLS 1.3 Certificate message. Each entry contains certificate data and optional per-ce
pkg/protocol/handshake/message_certificate_13.go:18
StructCertificateRequestInfo
CertificateRequestInfo contains information from a server's CertificateRequest message, which is used to demand a certificate and proof of control fro
certificate.go:35
StructChaCha20Poly1305
ChaCha20Poly1305 Provides an API to Encrypt/Decrypt DTLS 1.2 Packets. Per RFC 7905, ChaCha20-Poly1305 nonce is formed by XOR-ing the write_IV with th
pkg/crypto/ciphersuite/chacha20poly1305.go:25
StructChangeCipherSpec
ChangeCipherSpec protocol exists to signal transitions in ciphering strategies. The protocol consists of a single message, which is encrypted and com
pkg/protocol/change_cipher_spec.go:11
InterfaceCipherSuite
CipherSuite is an interface that all DTLS CipherSuites must satisfy.
cipher_suite.go:80
StructClientHelloInfo
ClientHelloInfo contains information from a ClientHello message in order to guide application logic in the GetCertificate.
certificate.go:18
InterfaceClientOption
ClientOption configures a DTLS client.
options.go:25
StructCloser
Closer allows for each signaling a channel for shutdown.
internal/closer/closer.go:12
StructCompressionMethod
CompressionMethod represents a TLS Compression Method.
pkg/protocol/compression_method.go:14
StructConfig
Config is used to configure a DTLS client or server. After a Config is passed to a DTLS function it must not be modified. Deprecated: prefer the opti
config.go:30
StructConn
Conn represents a DTLS connection.
conn.go:63
StructConnectionID
ConnectionID is a DTLS extension that provides an alternative to IP address and port for session association. https://tools.ietf.org/html/rfc9146
pkg/protocol/extension/connection_id.go:14
InterfaceContent
Content is the top level distinguisher for a DTLS Datagram.
pkg/protocol/content.go:21
StructCookieExt
CookieExt implements the cookie extension in DTLS 1.3. See RFC 8446 section 4.2.2. Cookie.
pkg/protocol/extension/cookie.go:14
StructEarlyDataIndication
EarlyDataIndication implements the early data indication extension in DTLS 1.3. See RFC 8446 section 4.2.10. Early Data Indication. https://datatrack
pkg/protocol/extension/early_data_indication.go:14
StructEncryptionKeys
EncryptionKeys is all the state needed for a TLS CipherSuite.
pkg/crypto/prf/prf.go:32
InterfaceExtension
Extension represents a single TLS extension.
pkg/protocol/extension/extension.go:41
StructFatalError
FatalError indicates that the DTLS connection is no longer available. It is mainly caused by wrong configuration of server or client.
pkg/protocol/errors.go:19
StructGCM
GCM Provides an API to Encrypt/Decrypt DTLS 1.2 Packets.
pkg/crypto/ciphersuite/gcm.go:19
StructHandshake
Handshake protocol is responsible for selecting a cipher spec and generating a master secret, which together comprise the primary cryptographic parame
pkg/protocol/handshake/handshake.go:75
StructHandshakeError
HandshakeError indicates that the handshake failed.
pkg/protocol/errors.go:41
FuncTypeHashFunc
HashFunc allows callers to decide what hash is used in PRF.
pkg/crypto/prf/prf.go:29
StructHeader
Header implements a TLS RecordLayer header.
pkg/protocol/recordlayer/header.go:14
StructHeader
Header is the static first 12 bytes of each RecordLayer of type Handshake. These fields allow us to support message loss, reordering, and message frag
pkg/protocol/handshake/header.go:21
StructHub
Hub is a helper to handle one to many chat.
examples/util/hub.go:16
TypeAliasID
ID is an ID for our supported CipherSuites.
internal/ciphersuite/ciphersuite.go:20
StructInnerPlaintext
InnerPlaintext implements DTLSInnerPlaintext https://datatracker.ietf.org/doc/html/rfc9146#name-record-layer-extensions
pkg/protocol/recordlayer/inner_plaintext.go:14
StructInternalError
InternalError indicates and internal error caused by the implementation, and the DTLS connection is no longer available. It is mainly caused by bugs o
pkg/protocol/errors.go:26
StructKeyShare
KeyShare represents the "key_share" extension. Only one of the fields can be used at a time. See RFC 8446 section 4.2.8.
pkg/protocol/extension/key_share.go:18
StructKeyShareEntry
pkg/protocol/extension/key_share.go:11
StructKeypair
Keypair is a Curve with a Private/Public Keypair.
pkg/crypto/elliptic/elliptic.go:27
StructListenConfig
ListenConfig stores options for listening to an address.
internal/net/udp/packet_conn.go:139
InterfaceMessage
Message is the body of a Handshake datagram.
pkg/protocol/handshake/handshake.go:63
StructMessageCertificate
MessageCertificate is a DTLS Handshake Message it can contain either a Client or Server Certificate https://tools.ietf.org/html/rfc5246#section-7.4.2
pkg/protocol/handshake/message_certificate.go:14
StructMessageCertificate13
MessageCertificate13 represents the Certificate handshake message for DTLS 1.3. This message is used to transport the certificate chain and associated
pkg/protocol/handshake/message_certificate_13.go:32
StructMessageCertificateRequest
* MessageCertificateRequest is so a non-anonymous server can optionally request a certificate from the client, if appropriate for the selected cipher
pkg/protocol/handshake/message_certificate_request.go:23
StructMessageCertificateRequest13
MessageCertificateRequest13 represents the CertificateRequest handshake message for DTLS 1.3. This message is used by the server to request a certific
pkg/protocol/handshake/message_certificate_request_13.go:17
StructMessageCertificateVerify
MessageCertificateVerify provide explicit verification of a client certificate. https://tools.ietf.org/html/rfc5246#section-7.4.8
pkg/protocol/handshake/message_certificate_verify.go:19
StructMessageClientHello
* MessageClientHello is for when a client first connects to a server it is required to send the client hello as its first message. The client can als
pkg/protocol/handshake/message_client_hello.go:20
StructMessageClientKeyExchange
MessageClientKeyExchange is a DTLS Handshake Message With this message, the premaster secret is set, either by direct transmission of the RSA-encrypte
pkg/protocol/handshake/message_client_key_exchange.go:19
StructMessageFinished
MessageFinished is a DTLS Handshake Message this message is the first one protected with the just negotiated algorithms, keys, and secrets. Recipient
pkg/protocol/handshake/message_finished.go:12
StructMessageHelloVerifyRequest
MessageHelloVerifyRequest is as follows: struct { ProtocolVersion server_version; opaque cookie<0..2^8-1>; } HelloVerifyRequest; The HelloV
pkg/protocol/handshake/message_hello_verify_request.go:25
StructMessageServerHello
MessageServerHello is sent in response to a ClientHello message when it was able to find an acceptable set of algorithms. If it cannot find such a mat
pkg/protocol/handshake/message_server_hello.go:19
StructMessageServerHelloDone
MessageServerHelloDone is final non-encrypted message from server this communicates server has sent all its handshake messages and next should be Mess
pkg/protocol/handshake/message_server_hello_done.go:9
StructMessageServerKeyExchange
MessageServerKeyExchange supports ECDH and PSK.
pkg/protocol/handshake/message_server_key_exchange.go:18
StructOIDFilter
pkg/protocol/extension/oid_filters.go:17
StructOIDFilters
OIDFilters defines a DTLS 1.3 extension that is used to allow server to provide a set of OID/value pairs which it would like the client's certificate
pkg/protocol/extension/oid_filters.go:13
InterfaceOption
Option is an option that can be used with both client and server. This is used for options that apply to both sides of a connection, such as in the Re
options.go:32
FuncTypePSKCallback
nolint:gochecknoglobals PSKCallback is called once we have the remote's PSKIdentityHint. If the remote provided none it will be nil.
config.go:256
StructPacketBuffer
PacketBuffer is a circular buffer for network packets. Each slot in the buffer contains the remote address from which the packet was received, as well
internal/net/buffer.go:40
StructPacketConn
PacketConn is a net.PacketConn implementation that is able to dictate its routing ID via an alternate identifier from its remote address. Internal buf
internal/net/udp/packet_conn.go:284
InterfacePacketListener
A PacketListener is the same as net.Listener but returns a net.PacketConn on Accept() rather than a net.Conn. Multiple goroutines may invoke methods
pkg/net/net.go:17
StructPostHandshakeAuth
PostHandshakeAuth defines a DTLS 1.3 extension that is used to indicate that a client is willing to perform post-handshake authentication. https://da
pkg/protocol/extension/post_handshake_auth.go:16
StructPreSharedKey
PreSharedKey represents the "pre_shared_key" extension for DTLS 1.3. This extension is used in both ClientHello and ServerHello messages, but only the
pkg/protocol/extension/pre_shared_key.go:16
StructPskIdentity
PskIdentity represents the PSK identitiy in the "pre_shared_key" extension for DTLS 1.3.
pkg/protocol/extension/pre_shared_key.go:27
StructPskKeyExchangeModes
PskKeyExchangeModes implements the PskKeyExchangeModes extension in DTLS 1.3. See RFC 8446 section 4.2.9. Pre-Shared Key Exchange Modes. https://data
pkg/protocol/extension/psk_key_exchange_modes.go:14
StructRandom
Random value that is used in ClientHello and ServerHello https://tools.ietf.org/html/rfc4346#section-7.4.1.2
pkg/protocol/handshake/random.go:21
StructRecordLayer
RecordLayer which handles all data transport. The record layer is assumed to sit directly on top of some reliable transport such as TCP. The record la
pkg/protocol/recordlayer/recordlayer.go:46
StructRenegotiationInfo
RenegotiationInfo allows a Client/Server to communicate their renegotation support https://tools.ietf.org/html/rfc5746
pkg/protocol/extension/renegotiation_info.go:16
StructServerName
ServerName allows the client to inform the server the specific name it wishes to contact. Useful if multiple DNS names resolve to one IP https://tool
pkg/protocol/extension/server_name.go:19
InterfaceServerOption
ServerOption configures a DTLS server.
options.go:20
StructSession
Session store data needed in resumption.
session.go:7
InterfaceSessionStore
SessionStore defines methods needed for session resumption.
session.go:15
StructSignatureAlgorithmsCert
SignatureAlgorithmsCert allows a Client/Server to indicate which signature algorithms may be used in digital signatures for X.509 certificates. This i
pkg/protocol/extension/signature_algorithms_cert.go:20
StructState
State holds the dtls connection state and implements both encoding.BinaryMarshaler and encoding.BinaryUnmarshaler.
state.go:21
StructSupportedEllipticCurves
SupportedEllipticCurves allows a Client/Server to communicate what curves they both support https://tools.ietf.org/html/rfc8422#section-5.1.1 In DTL
pkg/protocol/extension/supported_elliptic_curves.go:23
next →1–100 of 171, ranked by callers