Skip to content

ImportRsaKeyInput ​

ImportRsaKeyInput ​

RSA variant of PublicKeyImportInput / PrivateKeyImportInput.

ts
type ImportRsaKeyInput = {
  readonly kind: "rsa"
} & ({
  readonly scheme?: RsaSignatureScheme;
  readonly hash?: RsaHash
} | {
  readonly scheme: "oaep";
  readonly hash?: RsaHash | "SHA-1"
})

Released under the MIT License.