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
sourceimpl Clone for COSERSAKey
impl Clone for COSERSAKey
sourcefn clone(&self) -> COSERSAKey
fn clone(&self) -> COSERSAKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for COSERSAKey
impl Debug for COSERSAKey
sourceimpl<'de> Deserialize<'de> for COSERSAKey
impl<'de> Deserialize<'de> for COSERSAKey
sourcefn 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
sourceimpl PartialEq<COSERSAKey> for COSERSAKey
impl PartialEq<COSERSAKey> for COSERSAKey
sourcefn eq(&self, other: &COSERSAKey) -> bool
fn eq(&self, other: &COSERSAKey) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more