exportSec1Pem
Export an EC private key as PEM-encoded SEC 1 ECPrivateKey.
ts
function exportSec1Pem(
privateKey: CryptoKey,
): Promise<string>Parameters
privateKey:CryptoKey
Throws
Error— If the key is not an EC key
See also
importSec1Pemfor the inverse operationexportEncryptedSec1Pemfor password-protected export