Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 759 Bytes

jws_general_verify.GeneralVerifyGetKey.md

File metadata and controls

24 lines (15 loc) · 759 Bytes

Interface: GeneralVerifyGetKey

Callable

GeneralVerifyGetKey

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

Interface for General 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.

Parameters

Name Type
protectedHeader JWSHeaderParameters
token FlattenedJWSInput

Returns

Promise<KeyLike | Uint8Array>