rskit_security/lib.rs
1//! Shared security configuration used across transports.
2//!
3//! This crate owns lower-level security vocabulary that multiple transport
4//! and auth crates need without depending on each other: TLS policy, [`SecretString`],
5//! secure HTTP response headers, and shared HTTP auth scheme constants.
6
7#![warn(missing_docs)]
8
9/// HTTP security header policy and shared auth scheme constants.
10pub mod http;
11/// Secret redaction and constant-time comparison helpers.
12pub mod secret;
13/// TLS material and verification policy.
14pub mod tls;
15
16pub use http::{BASIC_AUTH_SCHEME, BEARER_AUTH_SCHEME, SecurityHeadersConfig, TransportSecurity};
17pub use secret::{SecretString, constant_time_eq};
18pub use tls::{TlsConfig, TlsVersion};