Expand description
TLS settings + helpers.
The actual handshake plugs into the TcpTransport through the
TlsConfig shape; that wiring lands once the reader/writer split (5.D)
is in.
For now we ship the typed configuration + a lightweight helper
to load PEM-encoded cert/key pairs into the form rustls
expects. Both feature-gated bits are deferred to keep the slim
build dep-free.
Structs§
- TlsConfig
- TLS configuration knobs surfaced on
RemoteSettings.
Enums§
Functions§
- parse_
pem_ blocks - Best-effort PEM block extraction. Returns the DER bytes of every
block whose header matches
expected_label(e.g. “CERTIFICATE”, “PRIVATE KEY”). Used as a base for the eventualrustlsintegration without taking the dep here.