Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface AsymmetricKeyDetails
import { type AsymmetricKeyDetails } from "https://deno.land/std@0.172.0/node/internal/crypto/keys.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).