mirror of
https://github.com/danbulant/jose
synced 2026-05-21 21:39:04 +00:00
835 B
835 B
Interface: GeneralVerifyGetKey
jws/general/verify.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>