importPkcs1Der
importPkcs1Der
Import an RSA private key from DER-encoded PKCS#1 RSAPrivateKey.
ts
function importPkcs1Der(
der: Uint8Array,
algorithm: ImportRsaKeyInput,
): Promise<ImportKeyResult<CryptoKey>>Parameters
der:Uint8Arrayalgorithm:ImportRsaKeyInput
See also
importPkcs1DerOrThrowfor the throwing variant