SoftwareAttestationChecker

class SoftwareAttestationChecker @JvmOverloads constructor(attestationConfiguration: AndroidAttestationConfiguration, verifyChallenge: (expected: ByteArray, actual: ByteArray) -> Boolean = { expected, actual -> expected contentEquals actual }) : AndroidAttestationChecker(source)

Constructors

Link copied to clipboard
constructor(attestationConfiguration: AndroidAttestationConfiguration, verifyChallenge: (expected: ByteArray, actual: ByteArray) -> Boolean = { expected, actual -> expected contentEquals actual })

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun collectDebugInfo(certificates: List<X509Certificate>, expectedChallenge: ByteArray, verificationDate: Date = Date()): AndroidDebugAttestationStatement

Packs

Link copied to clipboard
open fun verifyAttestation(certificates: List<X509Certificate>, verificationDate: Date = Date(), expectedChallenge: ByteArray): ParsedAttestationRecord

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.