Skip to main content
Module

x/jwe_cookie_map/src/deps.ts>jose.exportSPKI

Easy JWE Cookies for Deno
Latest
function jose.exportSPKI
import { jose } from "https://deno.land/x/jwe_cookie_map@v1.0.1/src/deps.ts";
const { exportSPKI } = jose;

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

Parameters

key: KeyLike

Key representation to transform to a PEM-encoded SPKI string format.

Returns

Promise<string>