Key Attestation Reporter
Reports on key attestation status for compliance and security auditing.
Provides information about whether keys are hardware-backed and can generate attestation challenge responses for remote verification.
Usage:
val reporter = KeyAttestationReporter(context)
// Check key security properties
val status = reporter.getAttestationStatus("my_key_alias")
if (status.isHardwareBacked) {
// Key is protected by hardware
}
// Generate attestation for remote verification
val challenge = serverProvidedChallenge
val response = reporter.generateAttestationChallengeResponse("attestation_key", challenge)
// Send response to server for verificationContent copied to clipboard