docs.rodeo

MDN Web Docs mirror

HmacImportParams

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

The HmacImportParams 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 a key for the HMAC algorithm.

Instance properties

Examples

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

Specifications

{{Specifications}} 

Browser compatibility

Browsers that support the “HMAC” algorithm for the {{domxref("SubtleCrypto.importKey()")}} , {{domxref("SubtleCrypto.unwrapKey()")}}  methods will support this type.

See also

In this article

View on MDN