importEncryptedSec1Pem
Import an EC private key from legacy Proc-Type: 4,ENCRYPTED PEM (SEC 1).
ts
function importEncryptedSec1Pem(
pem: string,
password: string,
algorithm: ImportEcKeyInput,
): Promise<ImportEncryptedKeyResult<CryptoKey>>Parameters
pem:stringpassword:stringalgorithm:ImportEcKeyInput
See also
importEncryptedSec1PemOrThrowfor the throwing variant