importPkcs8Der
Import a private key from DER-encoded PKCS#8 PrivateKeyInfo.
ts
function importPkcs8Der(
der: Uint8Array,
algorithm: PrivateKeyImportInput,
): Promise<ImportKeyResult<CryptoKey>>Parameters
der:Uint8Arrayalgorithm:PrivateKeyImportInput
See also
importPkcs8DerOrThrowfor the throwing variant