Skip to main content
AsymmetricKeyDetails - node__crypto.d.ts - Node documentation
interface AsymmetricKeyDetails

Usage in Deno

```typescript import { type AsymmetricKeyDetails } from "node:node__crypto.d.ts"; ```

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).