SupremeAttestationEngine

Modern, better, independent KMP-first Attestation engine based on in-house clean-room implementation of an attestation record parser that outperforms Google's legacy parser and Google's next-gen parser

Inheritors

Types

Link copied to clipboard
class Hardware(attestationConfiguration: AndroidAttestationConfiguration, verifyChallenge: (expected: ByteArray, actual: ByteArray) -> Boolean) : SupremeAttestationEngine
Link copied to clipboard
class Software(attestationConfiguration: AndroidAttestationConfiguration, verifyChallenge: (expected: ByteArray, actual: ByteArray) -> Boolean) : SupremeAttestationEngine

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun AuthorizationList.verifyAndroidVersionFromAuthList(versionOverride: Int?, patchLevel: PatchLevel?, verificationDate: Instant)
Link copied to clipboard
suspend fun verifyAttestation(certificates: List<X509Certificate>, verificationDate: Instant, expectedChallenge: ByteArray): AttestationKeyDescription

Verifies Android Key attestation Implements in accordance with https://developer.android.com/training/articles/security-key-attestation. Checks are performed according to the properties set in the attestationConfiguration.