Firefox Tomorrow

web api instance property

AuthenticatorAssertionResponse: signature property

View on MDN ↗

Secure context

The signature read-only property of the AuthenticatorAssertionResponse interface is an ArrayBuffer object which is the signature of the authenticator for both authenticatorData and a SHA-256 hash of the client data (AuthenticatorAssertionResponse.clientDataJSON).

This signature will be sent to the server for control, as part of the response. It provides the proof that an authenticator does possess the private key which was used for the credential’s generation.

Value

An ArrayBuffer object which the signature of the authenticator (using its private key) for both authenticatorData and a SHA-256 hash given by the client for its data (the challenge, the origin, etc. and available from AuthenticatorAssertionResponse.clientDataJSON).

Examples

See Retrieving 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.