importPkcs1Pem
importPkcs1Pem
Import an RSA private key from PEM-encoded PKCS#1 RSAPrivateKey.
ts
function importPkcs1Pem(
pem: string,
algorithm: ImportRsaKeyInput,
): Promise<ImportKeyResult<CryptoKey>>Parameters
pem:stringalgorithm:ImportRsaKeyInput
See also
importPkcs1PemOrThrowfor the throwing variant