Interface RSAKeyPairOptions<PubF, PrivF>

Type Parameters

Hierarchy

  • RSAKeyPairOptions

Properties

modulusLength: number

Key size in bits

privateKeyEncoding: "crypto".BasePrivateKeyEncodingOptions<PrivF> & { type: "pkcs1" | "pkcs8" }
publicExponent?: number

Public exponent

Default

0x10001

publicKeyEncoding: { format: PubF; type: "pkcs1" | "spki" }

Type declaration

  • format: PubF
  • type: "pkcs1" | "spki"

Generated using TypeDoc