Expand description
Shared security configuration used across transports.
This crate owns lower-level security vocabulary that multiple transport and
auth crates need without depending on each other: TLS policy,
SecretString, secure HTTP response headers, and shared HTTP auth scheme
constants.
Re-exports§
pub use http::BASIC_AUTH_SCHEME;pub use http::BEARER_AUTH_SCHEME;pub use http::SecurityHeadersConfig;pub use http::TransportSecurity;pub use secret::constant_time_eq;pub use tls::TlsConfig;pub use tls::TlsVersion;
Modules§
- http
- HTTP security header policy and shared auth scheme constants. HTTP security policy and auth vocabulary shared by transport adapters.
- secret
- Secret redaction and constant-time comparison helpers. Shared secret handling primitives.
- tls
- TLS material and verification policy. TLS material and verification policy.
Structs§
- Secret
String - A string wrapper that prevents accidental secret exposure in logs or config dumps.