RsaPssParams
Open source

RsaPssParams

Caution

The experimental module k6/experimental/webcrypto has graduated, and its functionality is now available globally through the crypto object. The k6/experimental/webcrypto is deprecated and will be removed in the near future.

To migrate your scripts, remove the k6/experimental/webcrypto imports and use the crypto object instead.

The RsaPssParams represents the object that should be passed as the algorithm parameter into sign or verify when using the RSA-PSS algorithm.

Properties

PropertyTypeDescription
namestringAn algorithm name. Should be RSA-PSS.
saltLengthnumberA long integer representing the length of the random salt to use, in bytes.

Caution

Since under the hood we use Golang’s SDK the salt length 0 is not supported. In that case the maximum possible salt length will be used.