mirror of
https://github.com/danbulant/jose
synced 2026-05-24 20:41:46 +00:00
BREAKING CHANGE: Revised, Promise-based API BREAKING CHANGE: No dependencies BREAKING CHANGE: Browser support (using [Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/)) BREAKING CHANGE: Support for verification using a remote JWKS endpoint BREAKING CHANGE: Experimental Node.js libuv thread pool based runtime (non-blocking 🎉)
847 B
847 B
Interface: CompactDecryptGetKey
Interface for Compact JWE Decryption dynamic key resolution. No token components have been verified at the time of this function call.
Callable
▸ (protectedHeader: JWEHeaderParameters, token: FlattenedJWE): Promise<KeyLike>
Defined in src/types.d.ts:75
Interface for Compact 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>