docs.rodeo

MDN Web Docs mirror

EcKeyImportParams

{{ APIRef("Web Crypto API") }} 

The EcKeyImportParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into {{domxref("SubtleCrypto.importKey()")}}  or {{domxref("SubtleCrypto.unwrapKey()")}} , when generating any elliptic-curve-based key pair: that is, when the algorithm is identified as either of ECDSA or ECDH.

Instance properties

Examples

See the examples for {{domxref("SubtleCrypto.importKey()")}} .

Specifications

{{Specifications}} 

Browser compatibility

Browsers that support the “ECDH” or “ECDSA” algorithms for the {{domxref("SubtleCrypto.importKey()")}}  or {{domxref("SubtleCrypto.wrapKey()")}}  methods will support this type.

See also

In this article

View on MDN