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

Decryption must authenticate

05

Recovering candidate plaintext is not enough: the authenticated-encryption check must succeed.

RFC 7516 · § 5.2EXAMPLE
3 / 3
03
Release or reject

Release plaintext only after every required check passes.

Decryption must authenticateRecovering candidate plaintext is not enough: the authenticated-encryption check must succeed. Current state: Release or reject.Decryption must authenticateencrypted objectalg / enc / tagauthenticationdecryptverified onlyplaintextNever release unauthenticated candidate plaintext.

Key idea: The consumer checks algorithm suitability and all required header parameters.

Terms

Look up a term in the glossary ↗

Rules & examples
  • The consumer checks algorithm suitability and all required header parameters.
  • A failed tag must reject the encrypted object.
  • Private keys and sensitive plaintext require protection outside the serialized format.

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 ↗