pub enum AttestationStatementFormatIdentifiers {
Packed,
Tpm,
AndroidKey,
AndroidSafetynet,
FidoU2f,
Apple,
None,
}Expand description
Attestation statement formats are identified by a string, called an attestation statement format identifier, chosen by the author of the attestation statement format. The values defined below are registed in the IANA WebAuthn regirsty. See Attestation Statement Identifiers in the WebAuthn spec for more information.
Variants§
Packed
The packed attestation statement format is a WebAuthn-optimized format for attestation.
It uses a very compact but still extensible encoding method. This format is implementable by
authenticators with limited resources (e.g., secure elements).
Tpm
The TPM attestation statement format returns an attestation statement in the same format as
the packed attestation statement format, although the rawData and signature fields are
computed differently.
AndroidKey
Platform authenticators on versions “N”, and later, may provide this proprietary
hardware attestation statement.
AndroidSafetynet
Android-based platform authenticators MAY produce an attestation statement based on the Android SafetyNet API.
FidoU2f
Used with FIDO U2F authenticators.
Apple
Used with Apple devices’ platform authenticators.
None
Used to replace any authenticator-provided attestation statement when a WebAuthn Relying Party indicates it does not wish to receive attestation information.
Trait Implementations§
Source§impl Clone for AttestationStatementFormatIdentifiers
impl Clone for AttestationStatementFormatIdentifiers
Source§fn clone(&self) -> AttestationStatementFormatIdentifiers
fn clone(&self) -> AttestationStatementFormatIdentifiers
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for AttestationStatementFormatIdentifiers
impl Default for AttestationStatementFormatIdentifiers
Source§fn default() -> AttestationStatementFormatIdentifiers
fn default() -> AttestationStatementFormatIdentifiers
Source§impl<'de> Deserialize<'de> for AttestationStatementFormatIdentifiers
impl<'de> Deserialize<'de> for AttestationStatementFormatIdentifiers
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for AttestationStatementFormatIdentifiers
impl PartialEq for AttestationStatementFormatIdentifiers
Source§fn eq(&self, other: &AttestationStatementFormatIdentifiers) -> bool
fn eq(&self, other: &AttestationStatementFormatIdentifiers) -> bool
self and other values to be equal, and is used by ==.impl Copy for AttestationStatementFormatIdentifiers
impl Eq for AttestationStatementFormatIdentifiers
impl StructuralPartialEq for AttestationStatementFormatIdentifiers
Auto Trait Implementations§
impl Freeze for AttestationStatementFormatIdentifiers
impl RefUnwindSafe for AttestationStatementFormatIdentifiers
impl Send for AttestationStatementFormatIdentifiers
impl Sync for AttestationStatementFormatIdentifiers
impl Unpin for AttestationStatementFormatIdentifiers
impl UnwindSafe for AttestationStatementFormatIdentifiers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.