Struct webauthn_rs_core::interface::COSEOKPKey
source · [−]pub struct COSEOKPKey {
pub curve: EDDSACurve,
pub x: [u8; 32],
}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: [u8; 32]The key’s public X coordinate.
Trait Implementations
sourceimpl Clone for COSEOKPKey
impl Clone for COSEOKPKey
sourcefn clone(&self) -> COSEOKPKey
fn clone(&self) -> COSEOKPKey
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 COSEOKPKey
impl Debug for COSEOKPKey
sourceimpl<'de> Deserialize<'de> for COSEOKPKey
impl<'de> Deserialize<'de> for COSEOKPKey
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<COSEOKPKey> for COSEOKPKey
impl PartialEq<COSEOKPKey> for COSEOKPKey
sourcefn eq(&self, other: &COSEOKPKey) -> bool
fn eq(&self, other: &COSEOKPKey) -> bool
sourceimpl Serialize for COSEOKPKey
impl Serialize for COSEOKPKey
impl Eq for COSEOKPKey
impl StructuralEq for COSEOKPKey
impl StructuralPartialEq for COSEOKPKey
Auto Trait Implementations
impl RefUnwindSafe for COSEOKPKey
impl Send for COSEOKPKey
impl Sync for COSEOKPKey
impl Unpin for COSEOKPKey
impl UnwindSafe for COSEOKPKey
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