Skip to main content

Module tls

Module tls 

Source
Expand description

TLS identity: certificate/key loading and the rustls server configuration.

QUIC mandates TLS 1.3, so the configuration is pinned to it explicitly rather than relying on rustls’ defaults. The crypto provider is also passed explicitly (aws-lc-rs, D102) instead of going through the process-wide default, which keeps behaviour independent of initialisation order elsewhere in the process.

Functions§

server_crypto
Builds the rustls server configuration.