Module

x/jose/key/generate_key_pair.ts>GenerateKeyPairResult

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Latest
interface GenerateKeyPairResult
import { type GenerateKeyPairResult } from "https://dotland.deno.dev/x/jose@v5.9.6/key/generate_key_pair.ts";

Type Parameters

optional
KeyLikeType extends KeyLike = KeyLike

Properties

privateKey: KeyLikeType

The generated Private Key.

publicKey: KeyLikeType

Public Key corresponding to the generated Private Key.