Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface RSAKeyPairOptions
import { type RSAKeyPairOptions } from "";

Type Parameters

PubF extends KeyFormat
PrivF extends KeyFormat


modulusLength: number

Key size in bits

publicExponent: number | undefined

Public exponent

publicKeyEncoding: { type: "pkcs1" | "spki"; format: PubF; }
privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & { type: "pkcs1" | "pkcs8"; }