public class AndroidKeyAttestation extends Object implements Attestation
Android KeyStore is a key management container, that defends key material from extraction. Depending on the device, it can be either software or hardware backed.
For example if authenticator required to be FIPS/CC/PCI/FIDO compliant, then it needs to be running on the device with FIPS/CC/PCI/FIDO compliant hardware, and it can be found getting KeyStore attestation.
| Constructor and Description |
|---|
AndroidKeyAttestation() |
| Modifier and Type | Method and Description |
|---|---|
String |
fmt()
The unique identifier for the attestation
|
void |
validate(WebAuthnOptions options,
MetaData metadata,
byte[] clientDataJSON,
JsonObject attestation,
AuthData authData)
The implementation of the Attestation verification.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithash, parseX5c, verifySignaturepublic String fmt()
Attestationfmt in interface Attestationpublic void validate(WebAuthnOptions options, MetaData metadata, byte[] clientDataJSON, JsonObject attestation, AuthData authData) throws AttestationException
Attestationvalidate in interface Attestationoptions - the runtime configuration optionsmetadata - the Metadata holder to perform MDS queriesclientDataJSON - the binary client data jsonattestation - the JSON representation of the attestationauthData - the authenticator dataAttestationException - if the validation failsCopyright © 2021. All rights reserved.