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@v5.2.0/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.