[][src]Enum webauthn_rs::crypto::COSEContentType

pub enum COSEContentType {
    ECDSA_SHA256,
    ECDSA_SHA384,
    ECDSA_SHA512,
}

A COSE Key Content type, indicating the type of key and hash type that should be used with this key. You shouldn't need to alter or use this value.

Variants

ECDSA_SHA256

Identifies this key as ECDSA (recommended SECP256R1) with SHA256 hashing

ECDSA_SHA384

Identifies this key as ECDSA (recommended SECP384R1) with SHA384 hashing

ECDSA_SHA512

Identifies this key as ECDSA (recommended SECP521R1) with SHA512 hashing

Trait Implementations

impl<'_> From<&'_ COSEContentType> for i64[src]

impl Clone for COSEContentType[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for COSEContentType[src]

impl TryFrom<i64> for COSEContentType[src]

type Error = WebauthnError

The type returned in the event of a conversion error.

impl Serialize for COSEContentType[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into 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> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

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