#[non_exhaustive]pub enum KeyValueInfo {
Rsa {
modulus: Vec<u8>,
exponent: Vec<u8>,
},
Ec {
curve_oid: String,
public_key: Vec<u8>,
},
InvalidEcKeyValue,
Unsupported {
namespace: Option<String>,
local_name: String,
},
}Expand description
Parsed <KeyValue> dispatch result.
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.
Rsa
<RSAKeyValue> with unsigned big-endian CryptoBinary parameters.
Ec
dsig11:ECKeyValue with a supported named curve and SEC1 public point.
Fields
InvalidEcKeyValue
dsig11:ECKeyValue with unusable curve or point data.
Unsupported
Any other <KeyValue> child not yet supported by this phase.
Trait Implementations§
Source§impl Clone for KeyValueInfo
impl Clone for KeyValueInfo
Source§fn clone(&self) -> KeyValueInfo
fn clone(&self) -> KeyValueInfo
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 moreSource§impl Debug for KeyValueInfo
impl Debug for KeyValueInfo
impl Eq for KeyValueInfo
Source§impl PartialEq for KeyValueInfo
impl PartialEq for KeyValueInfo
impl StructuralPartialEq for KeyValueInfo
Auto Trait Implementations§
impl Freeze for KeyValueInfo
impl RefUnwindSafe for KeyValueInfo
impl Send for KeyValueInfo
impl Sync for KeyValueInfo
impl Unpin for KeyValueInfo
impl UnsafeUnpin for KeyValueInfo
impl UnwindSafe for KeyValueInfo
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