▸ 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.
Name | Type |
---|---|
protectedHeader |
JWSHeaderParameters |
token |
FlattenedJWSInput |
Promise
<KeyLike
| Uint8Array
>