pub struct COSERSAKey {
pub n: HumanBinaryData,
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: HumanBinaryDataAn 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 duplicate 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<COSERSAKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<COSERSAKey, <__D as Deserializer<'de>>::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§impl Serialize for COSERSAKey
impl Serialize for COSERSAKey
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for COSERSAKey
impl StructuralPartialEq for COSERSAKey
Auto Trait Implementations§
impl Freeze for COSERSAKey
impl RefUnwindSafe for COSERSAKey
impl Send for COSERSAKey
impl Sync for COSERSAKey
impl Unpin for COSERSAKey
impl UnwindSafe for COSERSAKey
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