Skip to content

importPkcs1Der

Import an RSA private key from DER-encoded PKCS#1 RSAPrivateKey.

ts
function importPkcs1Der(
	der: Uint8Array,
	_: unknown,
): Promise<ImportKeyResult<CryptoKey>>

Parameters

  • der: Uint8Array
  • _: unknown

See also

  • importPkcs1DerOrThrow for the throwing variant

Released under the MIT License.