importPrivateKeyPem
importPrivateKeyPem
Result-returning counterpart of importPrivateKeyPemOrThrow.
ts
function importPrivateKeyPem(
pem: string,
algorithm?: PrivateKeyImportInput,
): Promise<ImportKeyResult<CryptoKey>>Parameters
pem:stringalgorithm?:PrivateKeyImportInput