importSec1Pem
Import an EC private key from PEM-encoded SEC 1 ECPrivateKey.
ts
function importSec1Pem(
pem: string,
algorithm: ImportEcKeyInput,
): Promise<ImportKeyResult<CryptoKey>>Parameters
pem:stringalgorithm:ImportEcKeyInput
See also
importSec1PemOrThrowfor the throwing variant