W3cubDocs

/DOM

RsaPssParams

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 RSA-PSS algorithm.

Properties

name
DOMString. This should be set to "RSA-PSS".
saltLength
long. The length of the random salt to use. This should usually be set to the length of the hash algorithm for this key, in bytes. So if the key uses SHA-256 it should be 256.

Examples

Specifications

Browser compatibility

No compatibility data found. Please contribute data for "api.SubtleCrypto.sign.algorithm-rsapss" (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/RsaPssParams