Hardware
class Hardware(attestationConfiguration: AndroidAttestationConfiguration, verifyChallenge: (expected: ByteArray, actual: ByteArray) -> Boolean) : SupremeAttestationEngine(source)
Constructors
Link copied to clipboard
constructor(attestationConfiguration: AndroidAttestationConfiguration, verifyChallenge: (expected: ByteArray, actual: ByteArray) -> Boolean)
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.