Skip to main content
RSAKeyPairOptions - crypto - Node documentation
interface RSAKeyPairOptions

Usage in Deno

import { type RSAKeyPairOptions } from "node:crypto";

Type Parameters

PubF extends KeyFormat
PrivF extends KeyFormat

Properties

Key size in bits

optional
publicExponent: number | undefined

Public exponent

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