Enum webauthn_rs::prelude::AttestationMetadata
source · pub enum AttestationMetadata {
None,
Packed {
aaguid: Uuid,
},
Tpm {
aaguid: Uuid,
firmware_version: u64,
},
AndroidKey {
is_km_tee: bool,
is_attest_tee: bool,
},
AndroidSafetyNet {
apk_package_name: String,
apk_certificate_digest_sha256: Vec<Base64UrlSafeData>,
cts_profile_match: bool,
basic_integrity: bool,
evaluation_type: Option<String>,
},
}
Expand description
The processed Attestation that the Authenticator is providing in it’s AttestedCredentialData. This metadata may allow identification of the device and it’s specific properties.
Variants§
None
no metadata available for this device.
Packed
Fields
This is commonly found on Fido Authenticators.
Tpm
Fields
This is found on TPM authenticators.
AndroidKey
Fields
various attestation flags set by the device (attested by OS)
AndroidSafetyNet
Fields
apk_certificate_digest_sha256: Vec<Base64UrlSafeData>
cert chain for this apk
cts_profile_match: bool
A stricter verdict of device integrity. If the value of ctsProfileMatch is true, then the profile of the device running your app matches the profile of a device that has passed Android compatibility testing and has been approved as a Google-certified Android device.
various attestation flags set by the device (attested via safety-net) https://developer.android.com/training/safetynet/attestation#use-response-server
Trait Implementations§
source§impl Clone for AttestationMetadata
impl Clone for AttestationMetadata
source§fn clone(&self) -> AttestationMetadata
fn clone(&self) -> AttestationMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more