RsaHashedImportParams
The RsaHashedImportParams
dictionary represents the object that should be passed as the algorithm
parameter into SubtleCrypto.importKey()
, when importing any RSA-based key pair.
Instance properties
name
- : A string. This should be set to
RSASSA-PKCS1-v1_5
.
- : A string. This should be set to
hash
- : A string representing the name of the digest function to use. This can be one of
SHA-256
,SHA-384
, orSHA-512
.Warning: Although you can technically pass
SHA-1
here, this is strongly discouraged as it is considered vulnerable.
- : A string representing the name of the digest function to use. This can be one of