W3cubDocs

/DOM

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

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

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/EcdsaParams