[−][src]Enum webauthn_rs::crypto::COSEContentType
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
Identifies this key as ECDSA (recommended SECP256R1) with SHA256 hashing
Identifies this key as ECDSA (recommended SECP384R1) with SHA384 hashing
Identifies this key as ECDSA (recommended SECP521R1) with SHA512 hashing
Identifies this key as RS256 aka RSASSA-PKCS1-v1_5 w/ SHA-256
Identifies this key as RS384 aka RSASSA-PKCS1-v1_5 w/ SHA-384
Identifies this key as RS512 aka RSASSA-PKCS1-v1_5 w/ SHA-512
Identifies this key as PS256 aka RSASSA-PSS w/ SHA-256
Identifies this key as PS384 aka RSASSA-PSS w/ SHA-384
Identifies this key as PS512 aka RSASSA-PSS w/ SHA-512
Identifies this key as EdDSA (likely curve ed25519)
Identifies this as an INSECURE RS1 aka RSASSA-PKCS1-v1_5 using SHA-1. This is not used by validators, but can exist in some windows hello tpm's
Trait Implementations
impl Clone for COSEContentType
[src]
fn clone(&self) -> COSEContentType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for COSEContentType
[src]
impl Debug for COSEContentType
[src]
impl<'de> Deserialize<'de> for COSEContentType
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'_> From<&'_ COSEContentType> for i64
[src]
fn from(c: &COSEContentType) -> Self
[src]
impl PartialEq<COSEContentType> for COSEContentType
[src]
fn eq(&self, other: &COSEContentType) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for COSEContentType
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for COSEContentType
[src]
impl TryFrom<i128> for COSEContentType
[src]
Auto Trait Implementations
impl RefUnwindSafe for COSEContentType
impl Send for COSEContentType
impl Sync for COSEContentType
impl Unpin for COSEContentType
impl UnwindSafe for COSEContentType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,