xianyun_pki/lib.rs
1//! Rust port of `internal/pki` and `internal/truststore`.
2//!
3//! See `PORT_NOTES.md` for the tests that could not be carried over, and
4//! why, plus the macOS Keychain truststore's own notes
5//! (`truststore::system_darwin`, verified on a real macOS host).
6
7pub mod ca;
8pub mod constraints;
9pub mod domain;
10/// Test-only: see this module's own doc comment. Gated like
11/// `truststore::helpers` is, since it's promoted to `pub(crate)` only so
12/// `ca.rs`'s cross-file test can call it, not for any production use.
13#[cfg(test)]
14pub mod svc;
15pub mod truststore;
16
17pub use ca::{COMMON_NAME, Ca, CertInfo, EcCurve, KeyInfo, PkiError};
18pub use constraints::{ClusterConfig, NetworkConfig};