Keystore Attestation Provider
class KeystoreAttestationProvider(context: Context, keyAlias: String = "kioskops_audit_signing") : DeviceAttestationProvider
DeviceAttestationProvider implementation using Android Keystore.
Creates an ECDSA P-256 signing key with key attestation. The key is hardware-backed when the device supports it.
Functions
Link copied to clipboard
Get the serialized attestation blob for storage.
Link copied to clipboard
Get the attestation certificate chain.
Link copied to clipboard
Parse an attestation blob back into a certificate chain.
Link copied to clipboard
Sign an audit entry payload.
Link copied to clipboard
Stable identifier of the current signing key, or null when the provider cannot name its key. The audit trail records it so a replaced key shows up as a chain event.
Link copied to clipboard
X.509 SubjectPublicKeyInfo of the current signing key, or null when unavailable. The audit trail stores it when the key changes so older signatures stay verifiable.
Link copied to clipboard
Verify a signature over an audit entry.
Link copied to clipboard