Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/jose/key/generate_key_pair.ts>GenerateKeyPairResult

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Go to Latest
interface GenerateKeyPairResult
import { type GenerateKeyPairResult } from "https://deno.land/x/jose@v4.14.0/key/generate_key_pair.ts";

Type Parameters

optional
T extends KeyLike = KeyLike

Properties

privateKey: T

The generated Private Key.

publicKey: T

Public Key corresponding to the generated Private Key.