RsaHashedImportParams
Open source

RsaHashedImportParams

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 RsaHashedImportParams represents the object that should be passed as the algorithm parameter into importKey when using the RSA algorithm.

Properties

PropertyTypeDescription
namestringThis should be set to RSASSA-PKCS1-v1_5, RSA-PSS or RSA-OAEP.
hashstringobjectThe name or an object with a name property of the digest function to use. Possible values are SHA-1, SHA-256, SHA-384 and SHA-512.