pub struct KeyResolverConfig {
pub lookup_certs: Vec<Vec<u8>>,
pub trusted_certs: Vec<Vec<u8>>,
pub crls: Vec<Vec<u8>>,
pub named_keys: HashMap<String, VerificationKey>,
}Expand description
Configuration for the default XMLDSig key resolver.
The configuration owns all key material and has no global registry. Chain verification is opt-in so callers that pin an embedded certificate can use the documented TOFU model without constructing a certificate path.
Fields§
§lookup_certs: Vec<Vec<u8>>DER-encoded certificates available to X.509 selectors and as untrusted
path intermediates. They establish trust only by chaining to an entry in
Self::trusted_certs.
trusted_certs: Vec<Vec<u8>>DER-encoded certificates accepted as trust anchors.
crls: Vec<Vec<u8>>Caller-owned revocation evidence applied without copying it into each XML source.
named_keys: HashMap<String, VerificationKey>Verification keys addressable by <KeyName> content.
Trait Implementations§
Source§impl Clone for KeyResolverConfig
impl Clone for KeyResolverConfig
Source§impl Debug for KeyResolverConfig
impl Debug for KeyResolverConfig
Source§impl Default for KeyResolverConfig
impl Default for KeyResolverConfig
impl Eq for KeyResolverConfig
Source§impl PartialEq for KeyResolverConfig
impl PartialEq for KeyResolverConfig
impl StructuralPartialEq for KeyResolverConfig
Auto Trait Implementations§
impl Freeze for KeyResolverConfig
impl RefUnwindSafe for KeyResolverConfig
impl Send for KeyResolverConfig
impl Sync for KeyResolverConfig
impl Unpin for KeyResolverConfig
impl UnsafeUnpin for KeyResolverConfig
impl UnwindSafe for KeyResolverConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more