Interface: GeneralDecryptResult

September 11, 2026 ยท View on GitHub

๐Ÿ’— Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.

General JWE JSON Serialization decryption result.

Properties

plaintext

โ€ข plaintext: Uint8Array

Plaintext.


additionalAuthenticatedData?

โ€ข optional additionalAuthenticatedData?: Uint8Array

Decoded JWE AAD bytes, integrity protected but not encrypted.


protectedHeader?

โ€ข optional protectedHeader?: JWEHeaderParameters

JWE Protected Header.


sharedUnprotectedHeader?

โ€ข optional sharedUnprotectedHeader?: JWEHeaderParameters

JWE Shared Unprotected Header. Not integrity protected.


unprotectedHeader?

โ€ข optional unprotectedHeader?: JWEHeaderParameters

JWE Per-Recipient Unprotected Header. Not integrity protected.