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

Usage in Deno

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

Properties

optional
modulusLength: number | undefined

Key size in bits (RSA, DSA).

optional
publicExponent: bigint | undefined

Public exponent (RSA).

optional
hashAlgorithm: string | undefined

Name of the message digest (RSA-PSS).

optional
mgf1HashAlgorithm: string | undefined

Name of the message digest used by MGF1 (RSA-PSS).

optional
saltLength: number | undefined

Minimal salt length in bytes (RSA-PSS).

optional
divisorLength: number | undefined

Size of q in bits (DSA).

optional
namedCurve: string | undefined

Name of the curve (EC).