#[non_exhaustive]pub enum KeyInfoSource {
KeyName(String),
KeyValue(KeyValueInfo),
X509Data(X509DataInfo),
DerEncodedKeyValue(Vec<u8>),
RetrievalMethod {
uri: String,
resource_type: Option<String>,
transforms: RetrievalMethodTransforms,
},
KeyInfoReference {
uri: String,
},
}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).
RetrievalMethod
<RetrievalMethod> URI and optional type URI.
Fields
§
transforms: RetrievalMethodTransformsSupported transform shape declared by the retrieval method.
KeyInfoReference
XMLDSig 1.1 reference to another KeyInfo element.
Trait Implementations§
Source§impl Clone for KeyInfoSource
impl Clone for KeyInfoSource
Source§impl Debug for KeyInfoSource
impl Debug for KeyInfoSource
impl Eq for KeyInfoSource
Source§impl PartialEq for KeyInfoSource
impl PartialEq 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