#[non_exhaustive]pub enum KeyInfoSource {
KeyName(String),
KeyValue(KeyValueInfo),
X509Data(X509DataInfo),
DerEncodedKeyValue(Vec<u8>),
}Expand description
Top-level key material source parsed from <KeyInfo>.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
KeyName(String)
<KeyName> source.
KeyValue(KeyValueInfo)
<KeyValue> source.
X509Data(X509DataInfo)
<X509Data> source.
DerEncodedKeyValue(Vec<u8>)
dsig11:DEREncodedKeyValue source (base64-decoded DER bytes).
Trait Implementations§
Source§impl Clone for KeyInfoSource
impl Clone for KeyInfoSource
Source§fn clone(&self) -> KeyInfoSource
fn clone(&self) -> KeyInfoSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyInfoSource
impl Debug for KeyInfoSource
Source§impl PartialEq for KeyInfoSource
impl PartialEq for KeyInfoSource
impl Eq for KeyInfoSource
impl StructuralPartialEq for KeyInfoSource
Auto Trait Implementations§
impl Freeze for KeyInfoSource
impl RefUnwindSafe for KeyInfoSource
impl Send for KeyInfoSource
impl Sync for KeyInfoSource
impl Unpin for KeyInfoSource
impl UnsafeUnpin for KeyInfoSource
impl UnwindSafe for KeyInfoSource
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