← Back to index
function flattenedDecrypt

Decrypts a Flattened JWE.

Parameters

🔗
jwe: FlattenedJWE

Flattened JWE.

🔗
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.

🔗
options: DecryptOptions

JWE Decryption options.

Type Parameters

🔗
KeyLikeType extends KeyLike = KeyLike

Parameters

🔗
jwe: FlattenedJWE

Flattened JWE.

🔗
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.

🔗
options: DecryptOptions

JWE Decryption options.