Firefox Tomorrow

web api instance property

AuthenticatorAttestationResponse: attestationObject property

View on MDN ↗

Secure context

The attestationObject property of the AuthenticatorAttestationResponse interface returns an ArrayBuffer containing the new public key, as well as signature over the entire attestationObject with a private key that is stored in the authenticator when it is manufactured.

As part of the create() call, an authenticator will create a new key pair as well as an attestationObject for that key pair. The public key that corresponds to the private key that has created the attestation signature is well known; however, there are various well known attestation public key chains for different ecosystems (for example, Android or TPM attestations).

Value

After decoding the CBOR encoded ArrayBuffer, the resulting JavaScript object will contain the following properties:

Examples

See Creating a public key credential for a detailed example.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also

  • create(): the method used to create a statement with a cryptographic challenge which signature by the authenticator is contained in attStmt, with the specified attestation transport option.