Skip to main content

Module tls

Module tls 

Source
Expand description

TLS record and handshake views and caller-buffer construction. Standalone allocation-free TLS record and handshake wire views.

Structs§

AlpnProtocol
One opaque ALPN protocol identification sequence.
AlpnProtocolIter
A fallible iterator over ALPN protocol names.
AlpnProtocolList
An ordered ALPN protocol-name list.
CertificateCompressionAlgorithms
Ordered certificate-compression algorithm identifiers.
ClientHello
A structurally validated ClientHello body.
ClientHelloBuilder
Builds a ClientHello body in caller-owned storage.
ClientKeyShare
Ordered ClientHello key-share entries.
ClientPreSharedKey
Borrowed ClientHello PSK identities and binders.
ClientServerNameList
An ordered ClientHello server-name list.
ClientSupportedVersions
Ordered protocol versions from a ClientHello supported_versions extension.
Cookie
A nonempty opaque TLS cookie.
EcPointFormats
Ordered legacy EC point-format identifiers.
HrrKeyShare
The named group selected by a HelloRetryRequest.
KeyShareEntry
One named-group key-share entry.
KeyShareIter
A fallible iterator over key-share entries.
PskBinderIter
A fallible iterator over PSK binder byte strings.
PskIdentity
One PSK identity and its obfuscated ticket age.
PskIdentityIter
A fallible iterator over PSK identities.
PskKeyExchangeModes
Ordered PSK key-exchange modes from a ClientHello.
ServerHello
A structurally validated ServerHello body.
ServerHelloBuilder
Builds a ServerHello body in caller-owned storage.
ServerKeyShare
The single key share carried by a ServerHello.
ServerName
One raw-preserving server-name entry.
ServerNameIter
A fallible iterator over server-name entries.
ServerPreSharedKey
The PSK identity index selected by a server.
ServerSelectedAlpn
The single ALPN protocol selected by a server.
ServerSupportedVersion
A protocol version selected by a server or HelloRetryRequest.
SignatureAlgorithms
An ordered TLS SignatureAlgorithms vector.
SupportedGroups
An ordered TLS SupportedGroups vector.
TlsCertificateCompressionAlgorithm
A raw TLS TlsCertificateCompressionAlgorithm value.
TlsCipherSuite
A raw TLS TlsCipherSuite value.
TlsCompressionMethod
A raw TLS TlsCompressionMethod value.
TlsContentType
A raw TLS TlsContentType value.
TlsExtension
A raw TLS extension preserving its type and opaque payload.
TlsExtensionBuilder
Builds one TLS extension TLV in caller-owned storage.
TlsExtensionType
A raw TLS TlsExtensionType value.
TlsExtensions
A fallible iterator over ordered TLS extension TLVs.
TlsHandshake
A single structurally bounded TLS handshake message.
TlsHandshakeBuilder
Builds a TLS handshake frame in caller-owned storage.
TlsHandshakeType
A raw TLS TlsHandshakeType value.
TlsNamedGroup
A raw TLS TlsNamedGroup value.
TlsProtocolVersion
A raw TLS TlsProtocolVersion value.
TlsPskKeyExchangeMode
A raw TLS TlsPskKeyExchangeMode value.
TlsRecord
A single structurally bounded TLS record.
TlsRecordBuilder
Builds a TLS record in caller-owned storage.
TlsRecordMut
A mutable structurally bounded TLS record.
TlsServerNameType
A raw TLS TlsServerNameType value.
TlsSignatureScheme
A raw TLS TlsSignatureScheme value.

Enums§

TlsBuildError
Failure to construct TLS bytes in caller-provided storage.
TlsParseError
Failure to validate a TLS wire layout.

Constants§

HELLO_RETRY_REQUEST_RANDOM
TLS HelloRetryRequest random value.