AttestationVerifier
Parameters
Configuration for Android key attestation. See AndroidAttestationConfiguration for details.
IOS AppAttest configuration. See IosAttestationConfiguration for details.
specifies the OID be used in a CSR to convey an attestation statement. Can be overridden. It defaults to WardenDefaults.OIDs.ATTESTATION_PROOF.
specifies Whether to include a generic make and model (such as "Google Pixel 8", or "iPhone 16" with the attestation proof). On its own, this is not the device's nickname and therefore cannot identify a person in its own. Defaults to true as it is very useful technical, non-personally-identifying data.
a clock to set the time of verification (used for certificate validity checks)
allows for fine-grained clock drift compensation (this offsets the certificate validity duration checks and attestation statement validity checks); can be negative. Note that this is a real offset, shifting the time window of validity, not extending it!
allows for specifying key constraints to the client. Not all platforms can restrict key usage and properties!
indicates how long issued nonces remain valid. This defaults to the maximum of the passed IosAttestationConfiguration.attestationStatementValiditySeconds and AndroidAttestationConfiguration.attestationStatementValiditySeconds.
responsible for generating nonces to ensure freshness of issues challenges. Defaults to WardenDefaults.nonceGenerator, which generates secure, random 64-byte nonces
lambda checking challenges validity and invalidating it once used validity checks); can be negative.