AuthenticatorAttestationResponse

The AuthenticatorAttestationResponse interface of the Web Authentication API is the result of a WebAuthn credential registration. Available only in secure contexts.

MDN Reference

Properties

Link copied to clipboard

The attestationObject property of the entire attestationObject with a private key that is stored in the authenticator when it is manufactured.

Link copied to clipboard

The clientDataJSON property of the AuthenticatorResponse interface stores a JSON string in an An ArrayBuffer.

Functions

Link copied to clipboard

The getAuthenticatorData() method of the AuthenticatorAttestationResponse interface returns an ArrayBuffer containing the authenticator data contained within the AuthenticatorAttestationResponse.attestationObject property.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The getTransports() method of the AuthenticatorAttestationResponse interface returns an array of strings describing the different transports which may be used by the authenticator.