Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oauth4webapi/mod.ts>GenerateKeyPairOptions

Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
Latest
interface GenerateKeyPairOptions
import { type GenerateKeyPairOptions } from "https://deno.land/x/oauth4webapi@v2.17.0/mod.ts";

Properties

optional
extractable: boolean

Indicates whether or not the private key may be exported. Default is false.

optional
modulusLength: number

(RSA algorithms only) The length, in bits, of the RSA modulus. Default is 2048.

optional
crv: "Ed25519" | "Ed448"

(EdDSA algorithm only) The EdDSA sub-type. Default is Ed25519.