Associated data is checked too
03Authenticated encryption binds protected metadata as well as the encrypted content.
A protected-header modification makes verification fail.
Key idea: The encoded protected header contributes to authenticated additional data.
Rules & examples
The encoded protected header contributes to authenticated additional data.
- The encoded protected header contributes to authenticated additional data.
- JSON serialization can also carry explicit additional authenticated data.
- Any required authentication failure rejects the JWE.
The illustration is schematic. Example values are illustrative; profiles and later security guidance can add requirements.
Sources
New to this? Start hereA quick picture + helpful background
A seal answers a specific question.
A certificate or signature supports particular checks about a key or message. It does not automatically prove that every claim or sender is trustworthy.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.