[][src]Enum webauthn_rs::crypto::COSEKeyType

pub enum COSEKeyType {
    EC_OKP,
    EC_EC2(COSEEC2Key),
    RSA(COSERSAKey),
}

The type of Key contained within a COSE value. You should never need to alter or change this type.

Variants

EC_OKP

Identifies this as an Eliptic Curve octet key pair

EC_EC2(COSEEC2Key)

Identifies this as an Eliptic Curve EC2 key

Identifies this as an RSA key

Trait Implementations

impl Clone for COSEKeyType[src]

impl Debug for COSEKeyType[src]

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

impl Serialize for COSEKeyType[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.