Skip to main content
Version: 2.3.0

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.
  • hash

    • : A string representing the name of the digest function to use. This can be one of SHA-256, SHA-384, or SHA-512.

      Warning: Although you can technically pass SHA-1 here, this is strongly discouraged as it is considered vulnerable.