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

x/jose/jwk/thumbprint.ts>calculateJwkThumbprintUri

"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
function calculateJwkThumbprintUri
import { calculateJwkThumbprintUri } from "https://deno.land/x/jose@v4.14.4/jwk/thumbprint.ts";

Calculates a JSON Web Key (JWK) Thumbprint URI

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>