Module

x/jose/index.ts>calculateJwkThumbprintUri

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Extremely Popular
Latest
function calculateJwkThumbprintUri
import { calculateJwkThumbprintUri } from "https://dotland.deno.dev/x/jose@v5.9.6/index.ts";

Calculates a JSON Web Key (JWK) Thumbprint URI

This function is exported (as a named export) from the main 'jose' module entry point as well as from its subpath export 'jose/jwk/thumbprint'.

Parameters

jwk: JWK

JSON Web Key.

optional
digestAlgorithm: "sha256" | "sha384" | "sha512"

Digest Algorithm to use for calculating the thumbprint. Default is "sha256".

Returns

Promise<string>