/
var
/
www
/
greso.tech
/
server
/
nsm
/
node_modules
/
jose
/
dist
/
types
/
jwk
/
/var/www/greso.tech/server/nsm/node_modules/jose/dist/types/jwk
mkdir
upload
Name
Size
Mode
Actions
embedded.d.ts
633
0644
edit
dl
rm
thumbprint.d.ts
824
0644
edit
dl
rm
Edit:
/var/www/greso.tech/server/nsm/node_modules/jose/dist/types/jwk/thumbprint.d.ts
(824B)
import type { JWK } from '../types'; /** * Calculates a base64url-encoded JSON Web Key (JWK) Thumbprint * * @param jwk JSON Web Key. * @param digestAlgorithm Digest Algorithm to use for calculating the thumbprint. Default is * "sha256". * @see {@link https://www.rfc-editor.org/rfc/rfc7638 RFC7638} */ export declare function calculateJwkThumbprint(jwk: JWK, digestAlgorithm?: 'sha256' | 'sha384' | 'sha512'): Promise<string>; /** * Calculates a JSON Web Key (JWK) Thumbprint URI * * @param jwk JSON Web Key. * @param digestAlgorithm Digest Algorithm to use for calculating the thumbprint. Default is * "sha256". * @see {@link https://www.rfc-editor.org/rfc/rfc9278 RFC9278} */ export declare function calculateJwkThumbprintUri(jwk: JWK, digestAlgorithm?: 'sha256' | 'sha384' | 'sha512'): Promise<string>;
Save
cmd:
run