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.11.2/key/generate_key_pair.ts";

Properties

privateKey: KeyLike

The generated Private Key.

publicKey: KeyLike

Public Key corresponding to the generated Private Key.