Module tls
Available on crate features
quic and std only.Expand description
TLS for QUIC: how a connection’s identity and application protocol are configured.
The configuration itself is the common Rama TLS client and server configuration; this module carries only what QUIC adds to it. Inject a configuration provider explicitly, or use the convenience constructors to select the feature-default provider.
Modules§
- provider
- Interfaces for supplying a QUIC TLS 1.3 implementation.
Structs§
- Boring
TlsProvider boring - BoringSSL QUIC configuration factory.
- Client
Config Cache - Reuse native TLS configuration and session state when opening QUIC connections.
- NoInitial
Cipher Suite - The QUIC initial cipher suite, AES-128-GCM-SHA256, is unavailable or invalid.
- Rustls
TlsProvider rustlsand (aws-lcorring) - Rustls QUIC configuration factory with an explicitly supplied cryptographic provider.
- TlsOptions
- QUIC requirements applied to the common Rama TLS configuration.
Enums§
- Alpn
Policy - How peers agree on their application protocol.
- TlsConfig
Error
Traits§
- Quic
Client Config Provider - Build QUIC TLS configurations from Rama settings using a fixed provider.
- Quic
Server Config Provider - Build server configurations without requiring client-policy support.
Functions§
- default_
server_ tls_ provider - Select the feature-default server configuration provider.
- default_
tls_ provider - Select the feature-default configuration provider once when constructing a connector. Rustls with an enabled cryptographic implementation is preferred, then BoringSSL.