EcdsaParams

Draft
This page is not complete.

Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

This dictionary represents the object that should be passed into SubtleCrypto.sign() or SubtleCrypto.verify() when using the ECDSA algorithm.

Properties

name
DOMString. This should be set to "ECDSA".
hash
DOMString. An identifier for the hash algorithm to use. This should be one of the following:
  • "SHA-256"
  • "SHA-384"
  • "SHA-512"

"SHA-1" is also supported here but should no longer be used, unless it's needed for backwards compatibility.

Examples

Specifications

Specification Status Comment
Web Cryptography API
The definition of 'SubtleCrypto.EcdsaParams' in that specification.
Recommendation  

Browser compatibility

No compatibility data found. Please contribute data for "api.SubtleCrypto.sign.algorithm-ecdsaparams" (depth: 1) to the MDN compatibility data repository.

See also

Document Tags and Contributors

Contributors to this page: wbamberg
Last updated by: wbamberg,