docs.rodeo

MDN Web Docs mirror

EcKeyGenParams

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

The EcKeyGenParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into {{domxref("SubtleCrypto.generateKey()")}} , 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.generateKey()")}} .

Specifications

{{Specifications}} 

Browser compatibility

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

See also

In this article

View on MDN