pub struct KeySourcePolicy {
pub preset_key: bool,
pub key_name: bool,
pub key_value: bool,
pub der_encoded_key_value: bool,
pub x509_data: bool,
}Expand description
KeyInfo sources an XMLDSig verification operation is permitted to trust.
Fields§
§preset_key: boolPermit a caller-supplied pre-resolved key.
key_name: boolPermit keys selected by document KeyName.
key_value: boolPermit public keys embedded in KeyValue.
der_encoded_key_value: boolPermit public keys embedded in DEREncodedKeyValue.
x509_data: boolPermit certificates and selectors embedded in X509Data.
Trait Implementations§
Source§impl Clone for KeySourcePolicy
impl Clone for KeySourcePolicy
Source§fn clone(&self) -> KeySourcePolicy
fn clone(&self) -> KeySourcePolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KeySourcePolicy
Source§impl Debug for KeySourcePolicy
impl Debug for KeySourcePolicy
Source§impl Default for KeySourcePolicy
Available on crate feature xmldsig only.
impl Default for KeySourcePolicy
Available on crate feature
xmldsig only.impl Eq for KeySourcePolicy
Source§impl PartialEq for KeySourcePolicy
impl PartialEq for KeySourcePolicy
impl StructuralPartialEq for KeySourcePolicy
Auto Trait Implementations§
impl Freeze for KeySourcePolicy
impl RefUnwindSafe for KeySourcePolicy
impl Send for KeySourcePolicy
impl Sync for KeySourcePolicy
impl Unpin for KeySourcePolicy
impl UnsafeUnpin for KeySourcePolicy
impl UnwindSafe for KeySourcePolicy
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