importSec1Der
Import an EC private key from DER-encoded SEC 1 ECPrivateKey.
ts
function importSec1Der(
der: Uint8Array,
algorithm: ImportEcKeyInput,
): Promise<ImportKeyResult<CryptoKey>>Parameters
der:Uint8Arrayalgorithm:ImportEcKeyInput
See also
importSec1DerOrThrowfor the throwing variant