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 JWE Decryption dynamic key resolution. No token components have been verified at the time of this function call.
▸ FlattenedDecryptGetKey(protectedHeader
, token
): Uint8Array
| KeyLike
| Promise
<Uint8Array
| KeyLike
>
Interface for Flattened JWE Decryption dynamic key resolution. No token components have been verified at the time of this function call.
Parameter | Type | Description |
---|---|---|
protectedHeader |
undefined | JWEHeaderParameters |
JWE or JWS Protected Header. |
token |
FlattenedJWE |
The consumed JWE or JWS token. |
Uint8Array
| KeyLike
| Promise
<Uint8Array
| KeyLike
>