#[non_exhaustive]pub enum SigningPublicKeyInfo {
Rsa {
spki_der: Vec<u8>,
modulus: Vec<u8>,
exponent: Vec<u8>,
},
Ec {
spki_der: Vec<u8>,
curve_oid: &'static str,
public_key: Vec<u8>,
},
}Expand description
Public key material corresponding to a private XMLDSig signing key.
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
RSA public key with DER SubjectPublicKeyInfo and normalized parameters.
Fields
Ec
EC public key with DER SubjectPublicKeyInfo and XMLDSig 1.1 KeyValue data.
Implementations§
Trait Implementations§
Source§impl Clone for SigningPublicKeyInfo
impl Clone for SigningPublicKeyInfo
Source§fn clone(&self) -> SigningPublicKeyInfo
fn clone(&self) -> SigningPublicKeyInfo
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 SigningPublicKeyInfo
impl Debug for SigningPublicKeyInfo
impl Eq for SigningPublicKeyInfo
Source§impl PartialEq for SigningPublicKeyInfo
impl PartialEq for SigningPublicKeyInfo
impl StructuralPartialEq for SigningPublicKeyInfo
Auto Trait Implementations§
impl Freeze for SigningPublicKeyInfo
impl RefUnwindSafe for SigningPublicKeyInfo
impl Send for SigningPublicKeyInfo
impl Sync for SigningPublicKeyInfo
impl Unpin for SigningPublicKeyInfo
impl UnsafeUnpin for SigningPublicKeyInfo
impl UnwindSafe for SigningPublicKeyInfo
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