Struct webauthn_rs_core::interface::COSEEC2Key
source · [−]pub struct COSEEC2Key {
pub curve: ECDSACurve,
pub x: Base64UrlSafeData,
pub y: Base64UrlSafeData,
}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: ECDSACurveThe curve that this key references.
x: Base64UrlSafeDataThe key’s public X coordinate.
y: Base64UrlSafeDataThe key’s public Y coordinate.
Trait Implementations
sourceimpl Clone for COSEEC2Key
impl Clone for COSEEC2Key
sourcefn clone(&self) -> COSEEC2Key
fn clone(&self) -> COSEEC2Key
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 COSEEC2Key
impl Debug for COSEEC2Key
sourceimpl<'de> Deserialize<'de> for COSEEC2Key
impl<'de> Deserialize<'de> for COSEEC2Key
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<COSEEC2Key> for COSEEC2Key
impl PartialEq<COSEEC2Key> for COSEEC2Key
sourcefn eq(&self, other: &COSEEC2Key) -> bool
fn eq(&self, other: &COSEEC2Key) -> bool
sourceimpl Serialize for COSEEC2Key
impl Serialize for COSEEC2Key
impl Eq for COSEEC2Key
impl StructuralEq for COSEEC2Key
impl StructuralPartialEq for COSEEC2Key
Auto Trait Implementations
impl RefUnwindSafe for COSEEC2Key
impl Send for COSEEC2Key
impl Sync for COSEEC2Key
impl Unpin for COSEEC2Key
impl UnwindSafe for COSEEC2Key
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