Visual RFC.
ALL RFCs / RFC 7516
Read the RFC ↗
RFC 7516 / MECHANISMS

Associated data is checked too

03

Authenticated encryption binds protected metadata as well as the encrypted content.

RFC 7516 · § 5.2EXAMPLE
3 / 3
03
Changed metadata

A protected-header modification makes verification fail.

Associated data is checked tooAuthenticated encryption binds protected metadata as well as the encrypted content. Current state: Changed metadata.Associated data is checked tooprotected headerassociated dataciphertext + tagAEAD checkChanged protected metadata → reject

Key idea: The encoded protected header contributes to authenticated additional data.

Terms

Look up a term in the glossary ↗

Rules & examples
  • 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
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
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.

All chapters in RFC 7516

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗