Skip to main content
Module

x/oauth4webapi/mod.ts>GenerateKeyPairOptions

OAuth 2 / OpenID Connect for JavaScript Runtimes
Go to Latest
interface GenerateKeyPairOptions
import { type GenerateKeyPairOptions } from "https://deno.land/x/oauth4webapi@v2.4.4/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 algorithms only) The EdDSA sub-type. Default is Ed25519.