mirror of
https://github.com/danbulant/jose
synced 2026-05-19 12:29:04 +00:00
605 B
605 B
Interface: GeneralDecryptGetKey
Callable
GeneralDecryptGetKey
▸ GeneralDecryptGetKey(protectedHeader, token): Promise<KeyLike | Uint8Array>
Interface for General JWE Decryption dynamic key resolution. No token components have been verified at the time of this function call.
Parameters
| Name | Type |
|---|---|
protectedHeader |
JWEHeaderParameters |
token |
FlattenedJWE |
Returns
Promise<KeyLike | Uint8Array>