importEncryptedPkcs1Pem
importEncryptedPkcs1Pem
Import an RSA private key from legacy Proc-Type: 4,ENCRYPTED PEM (PKCS#1).
ts
function importEncryptedPkcs1Pem(
pem: string,
password: string,
algorithm: ImportRsaKeyInput,
): Promise<ImportEncryptedKeyResult<CryptoKey>>Parameters
pem:stringpassword:stringalgorithm:ImportRsaKeyInput
See also
importEncryptedPkcs1PemOrThrowfor the throwing variant