function flattenedDecrypt
Decrypts a Flattened 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<FlattenedDecryptResult>
Type Parameters
🔗
KeyLikeType extends KeyLike = KeyLike
Parameters
🔗
getKey: FlattenedDecryptGetKey
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<FlattenedDecryptResult & ResolvedKey<KeyLikeType>>