Struct webauthn_rs_core::interface::COSERSAKey
source · pub struct COSERSAKey {
pub n: Base64UrlSafeData,
pub e: [u8; 3],
}Expand description
A COSE RSA PublicKey. This is a provided credential from a registered authenticator. You will likely never need to interact with this value, as it is part of the Credential API.
Fields§
§n: Base64UrlSafeDataAn RSA modulus
e: [u8; 3]An RSA exponent
Trait Implementations§
source§impl Clone for COSERSAKey
impl Clone for COSERSAKey
source§fn clone(&self) -> COSERSAKey
fn clone(&self) -> COSERSAKey
Returns a copy 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 COSERSAKey
impl Debug for COSERSAKey
source§impl<'de> Deserialize<'de> for COSERSAKey
impl<'de> Deserialize<'de> for COSERSAKey
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for COSERSAKey
impl PartialEq for COSERSAKey
source§fn eq(&self, other: &COSERSAKey) -> bool
fn eq(&self, other: &COSERSAKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for COSERSAKey
impl Serialize for COSERSAKey
impl Eq for COSERSAKey
impl StructuralEq for COSERSAKey
impl StructuralPartialEq for COSERSAKey
Auto Trait Implementations§
impl RefUnwindSafe for COSERSAKey
impl Send for COSERSAKey
impl Sync for COSERSAKey
impl Unpin for COSERSAKey
impl UnwindSafe for COSERSAKey
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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