[][src]Enum webauthn_rs::attestation::AttestationType

pub enum AttestationType {
    Basic(CredentialX509PublicKey),
    Self_(Credential),
    AttCa(CredentialX509PublicKeyVec<X509PublicKey>),
    ECDAA,
    None(Credential),
    Uncertain(Credential),
}

The type of Attestation that the Authenticator is providing.

Variants

The credential is authenticated by a signing X509 Certificate from a vendor or provider.

Self_(Credential)

The credential is authenticated using surrogate basic attestation it uses the credential private key to create the attestation signature

The credential is authenticated using a CA, and may provide a ca chain to validate to it's root.

ECDAA

Unimplemented

No Attestation type was provided with this Credential. If in doubt reject this Credential.

Uncertain(Credential)

Uncertain Attestation was provided with this Credential, which may not be trustworthy in all cases. If in doubt, reject this type.

Trait Implementations

impl Debug for AttestationType[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> From<T> for T[src]

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

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.