Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.73 KB

jws_flattened_verify.FlattenedVerifyGetKey.md

File metadata and controls

29 lines (17 loc) · 1.73 KB

Interface: FlattenedVerifyGetKey

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


Interface for Flattened JWS Verification dynamic key resolution. No token components have been verified at the time of this function call.

see createRemoteJWKSet to verify using a remote JSON Web Key Set.

Callable

FlattenedVerifyGetKey

FlattenedVerifyGetKey(protectedHeader, token): Uint8Array | KeyLike | Promise<Uint8Array | KeyLike>

Parameters

Name Type
protectedHeader undefined | JWSHeaderParameters
token FlattenedJWSInput

Returns

Uint8Array | KeyLike | Promise<Uint8Array | KeyLike>