Decryption must authenticate
05Recovering candidate plaintext is not enough: the authenticated-encryption check must succeed.
Release plaintext only after every required check passes.
Key idea: The consumer checks algorithm suitability and all required header parameters.
Rules & examples
The consumer checks algorithm suitability and all required header parameters.
- 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
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.