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

x/jose/key/export.ts

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, and other Web-interoperable runtimes.
Extremely Popular
Go to Latest
import * as jose from "https://deno.land/x/jose@v4.10.0/key/export.ts";

Functions

Exports a runtime-specific key representation (KeyLike) to a JWK.

Exports a runtime-specific private key representation (KeyObject or CryptoKey) to a PEM-encoded PKCS8 string format.

Exports a runtime-specific public key representation (KeyObject or CryptoKey) to a PEM-encoded SPKI string format.