pub struct COSEOKPKey {
pub curve: EDDSACurve,
pub x: HumanBinaryData,
}Expand description
A COSE Elliptic Curve Public Key. This is generally the provided credential that an authenticator registers, and is used to authenticate the user. You will likely never need to interact with this value, as it is part of the Credential API.
Fields§
§curve: EDDSACurveThe curve that this key references.
x: HumanBinaryDataThe key’s public X coordinate.
Trait Implementations§
Source§impl Clone for COSEOKPKey
impl Clone for COSEOKPKey
Source§fn clone(&self) -> COSEOKPKey
fn clone(&self) -> COSEOKPKey
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 COSEOKPKey
impl Debug for COSEOKPKey
Source§impl<'de> Deserialize<'de> for COSEOKPKey
impl<'de> Deserialize<'de> for COSEOKPKey
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<COSEOKPKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<COSEOKPKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for COSEOKPKey
impl PartialEq for COSEOKPKey
Source§impl Serialize for COSEOKPKey
impl Serialize for COSEOKPKey
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 COSEOKPKey
impl StructuralPartialEq for COSEOKPKey
Auto Trait Implementations§
impl Freeze for COSEOKPKey
impl RefUnwindSafe for COSEOKPKey
impl Send for COSEOKPKey
impl Sync for COSEOKPKey
impl Unpin for COSEOKPKey
impl UnwindSafe for COSEOKPKey
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