importEncryptedPkcs8Pem
Import a private key from PEM-encoded PBES2-encrypted PKCS#8 EncryptedPrivateKeyInfo.
ts
function importEncryptedPkcs8Pem(
pem: string,
password: string,
algorithm: PrivateKeyImportInput,
): Promise<ImportEncryptedKeyResult<CryptoKey>>Parameters
pem:stringpassword:stringalgorithm:PrivateKeyImportInput
See also
importEncryptedPkcs8PemOrThrowfor the throwing variant