function compactDecrypt
Decrypts a Compact JWE.
Parameters
🔗
key: KeyLike | Uint8Array
Private Key or Secret to decrypt the JWE with. See Algorithm Key Requirements | https://github.com/panva/jose/issues/210#jwe-alg.
Return Type
🔗
Promise<CompactDecryptResult>
Type Parameters
🔗
KeyLikeType extends KeyLike = KeyLike
Parameters
🔗
getKey: CompactDecryptGetKey
Function resolving Private Key or Secret to decrypt the JWE with. See Algorithm Key Requirements | https://github.com/panva/jose/issues/210#jwe-alg.
Return Type
🔗
Promise<CompactDecryptResult & ResolvedKey<KeyLikeType>>