package
2.0.0-20240529111029-d117ae7ff556
Repository: https://github.com/adrian38/dtls.git
Documentation: pkg.go.dev
# Functions
ALPNProtocolSelection negotiates a shared protocol according to #3.2 of rfc7301.
Marshal many extensions at once.
Unmarshal many extensions at once.
# Constants
TypeValue constants.
TypeValue constants.
TypeValue constants.
TypeValue constants.
nolint.
nolint.
nolint.
nolint.
TypeValue constants.
TypeValue constants.
TypeValue constants.
TypeValue constants.
TypeValue constants.
# Variables
nolint:goerr113.
# Structs
ALPN is a TLS extension for application-layer protocol negotiation within the TLS handshake.
ConnectionID is a DTLS extension that provides an alternative to IP address and port for session association.
RenegotiationInfo allows a Client/Server to communicate their renegotation support
https://tools.ietf.org/html/rfc5746.
ServerName allows the client to inform the server the specific name it wishes to contact.
SupportedEllipticCurves allows a Client/Server to communicate what curves they both support
https://tools.ietf.org/html/rfc8422#section-5.1.1.
SupportedPointFormats allows a Client/Server to negotiate the EllipticCurvePointFormats
https://tools.ietf.org/html/rfc4492#section-5.1.2.
SupportedSignatureAlgorithms allows a Client/Server to negotiate what SignatureHash Algorithms they both support
https://tools.ietf.org/html/rfc5246#section-7.4.1.4.1.
UseExtendedMasterSecret defines a TLS extension that contextually binds the master secret to a log of the full handshake that computes it, thus preventing MITM attacks.
UseSRTP allows a Client/Server to negotiate what SRTPProtectionProfiles they both support
https://tools.ietf.org/html/rfc8422.
# Interfaces
Extension represents a single TLS extension.
# Type aliases
SRTPProtectionProfile defines the parameters and options that are in effect for the SRTP processing https://tools.ietf.org/html/rfc5764#section-4.1.2.
TypeValue is the 2 byte value for a TLS Extension as registered in the IANA
https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml.