Expand description
Key management for the Bergshamra XML Security library.
Supports loading keys from PEM, DER, PKCS#8, PKCS#12, and raw binary formats.
Provides a KeysManager for named key lookup and a KeyInfo XML processor.
§Shared infrastructure
Trust store management, certificate chain building/verification, and
cryptographic algorithm support are re-exported from the shared tsp_ltv
crate. This follows the same “thin facade” pattern used by underskrift
(PDF signing library).
Re-exports§
pub use key::Key;pub use key::KeyData;pub use key::KeyUsage;pub use keyinfo::build_x509_key_info;pub use keyinfo::build_x509_key_info_from_der;pub use manager::KeysManager;
Modules§
- key
- Key types and data structures.
- keyinfo
- KeyInfo XML processing — reads
<ds:KeyInfo>elements to extract key material. - keysxml
- Parser for xmlsec’s
keys.xmlformat. - loader
- Key loading from various formats (PEM, DER, PKCS#8, PKCS#12, raw binary).
- manager
- Key manager with named key store.
- trust
- Trust store management for certificate chain validation.
- tsp_
crypto - Cryptographic primitives for certificate and signature verification.
- tsp_
error - Error types for the tsp-ltv crate.
- x509
- X.509 certificate chain validation.