[][src]Struct webauthn_rs::crypto::COSEEC2Key

pub struct COSEEC2Key {
    pub curve: ECDSACurve,
    pub x: [u8; 32],
    pub y: [u8; 32],
}

A COSE Eliptic 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: ECDSACurve

The curve that this key references.

x: [u8; 32]

The key's public X coordinate.

y: [u8; 32]

The key's public Y coordinate.

Trait Implementations

impl Clone for COSEEC2Key[src]

impl Debug for COSEEC2Key[src]

impl<'de> Deserialize<'de> for COSEEC2Key[src]

impl Serialize for COSEEC2Key[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.