AuthenticatorAttestationResponse
The AuthenticatorAttestationResponse
interface of the Web Authentication API is the result of a WebAuthn credential registration. Available only in secure contexts.
Properties
The attestationObject
property of the entire attestationObject
with a private key that is stored in the authenticator when it is manufactured.
The clientDataJSON
property of the AuthenticatorResponse interface stores a JSON string in an An ArrayBuffer.
Functions
The getAuthenticatorData()
method of the AuthenticatorAttestationResponse interface returns an ArrayBuffer containing the authenticator data contained within the AuthenticatorAttestationResponse.attestationObject property.
The getPublicKey()
method of the AuthenticatorAttestationResponse interface returns an ArrayBuffer containing the DER SubjectPublicKeyInfo
of the new credential (see Subject Public Key Info), or null
if this is not available.
The getPublicKeyAlgorithm()
method of the AuthenticatorAttestationResponse interface returns a number that is equal to a COSE Algorithm Identifier, representing the cryptographic algorithm used for the new credential.
The getTransports()
method of the AuthenticatorAttestationResponse interface returns an array of strings describing the different transports which may be used by the authenticator.