pub enum AttestationType {
None,
SelfAttestation,
Basic,
BasicVerified,
}Expand description
The level of attestation the authenticator provided.
Variants§
None
The authenticator explicitly provided no attestation ("fmt": "none").
The credential is still usable, but device provenance cannot be verified.
SelfAttestation
The attestation was signed by the same key used for authentication (self-attestation). Proves the credential is fresh but not the device model.
Basic
The attestation was signed by a separate attestation key with an x5c
certificate chain present. The chain order has been verified (each cert is
signed by the next), but the root has not been checked against a trust
anchor because none were configured on crate::RelyingParty. Device
provenance is structurally plausible but not cryptographically anchored.
BasicVerified
Same as Basic but the root certificate was
additionally verified to be signed by one of the trust anchors configured
via crate::RelyingParty::trust_anchors. Device provenance is
cryptographically anchored to the configured CA set.
Trait Implementations§
Source§impl Debug for AttestationType
impl Debug for AttestationType
impl Eq for AttestationType
Source§impl PartialEq for AttestationType
impl PartialEq for AttestationType
Source§fn eq(&self, other: &AttestationType) -> bool
fn eq(&self, other: &AttestationType) -> bool
self and other values to be equal, and is used by ==.