Package-level declarations
Types
Representation of the AttestationApplicationId sequence contained within AuthorizationList.
Representation of the AttestationPackageInfo sequence contained within AttestationApplicationId.
Constraint that checks a single attribute of the KeyDescription.
Representation of the AuthorizationList sequence contained within KeyDescription.
Representation of the BlockMode enum contained within AuthorizationList.
Constructs pretty-printed strings for various parts of an Android Key Attestation certificate.
An interface to handle checking validity of challenges.
An individual limit to place on the KeyDescription from an attestation certificate.
Configuration for validating the attributes in an Android attestation certificate, as described at https://source.android.com/docs/security/features/keystore/attestation.
We need a builder to support creating a ConstraintConfig, as it's a thread-safe object. A Kotlin-idiomatic builder function is provided below.
Representation of the Digest enum contained within AuthorizationList.
Representation of the ECCurve enum contained within AuthorizationList.
Constraint that is always satisfied.
Polyfill for java.time.InstantSource.
Representation of the Algorithm enum contained within AuthorizationList.
Reasons why a certificate chain could not be verified which are specific to key attestation.
KeyMint tag names and IDs.
Representation of the KeyPurpose enum contained within AuthorizationList.
Representation of the MLDsaVariant enum contained within AuthorizationList.
Representation of the Origin enum contained within KeyDescription.
Representation of the RootOfTrust sequence contained within AuthorizationList.
Representation of the SecurityLevel enum contained within KeyDescription.
Configuration for validating the attestationSecurityLevel and keyMintSecurityLevel fields in an Android attestation certificate.
Configuration for validating the ordering of the attributes in the AuthorizationList sequence in an Android attestation certificate.
The result of verifying an Android Key Attestation certificate chain.
Representation of the VerifiedBootState enum contained within RootOfTrust.
Verifier for Android Key Attestation certificate chain.
Functions
Returns an X509Certificate from a String.
Implements a Kotlin-style type safe builder for creating a ConstraintConfig.
Fetches Google's revocation status list from the web.
Fetches a revocation status list from the web.
Returns the Android Key Attestation extension.
Parses a revocation status list from an input stream.
Returns the Android Key Attestation extension for provisioning info.