importEncryptedPkcs8Der
Import a private key from DER-encoded PBES2-encrypted PKCS#8 EncryptedPrivateKeyInfo.
ts
function importEncryptedPkcs8Der(
der: Uint8Array,
password: string,
algorithm: PrivateKeyImportInput,
): Promise<ImportEncryptedKeyResult<CryptoKey>>Parameters
der:Uint8Arraypassword:stringalgorithm:PrivateKeyImportInput
See also
importEncryptedPkcs8DerOrThrowfor the throwing variant