Module tls
Expand description
TLS and mutual TLS (mTLS) support for the gateway server.
Thin adapter over the shared zeroclaw_tls crate: it maps the gateway’s
GatewayTlsConfig onto the transport-neutral
zeroclaw_tls::ServerConfigParams and delegates construction. The reusable
verifier / certificate-pinning / PEM-loading logic lives in zeroclaw-tls so
it can also be consumed by zeroclaw-runtime without an upward dependency on
the gateway.
Functions§
- build_
server_ config - Build a [
rustls::ServerConfig] from the gateway TLS configuration. - build_
tls_ acceptor - Build a [
TlsAcceptor] from the gateway TLS configuration.