Inside an encrypted record
03An authenticated-encryption operation protects content, its real type, and optional padding.
A modified record fails authentication; do not deliver unverified bytes.
Key idea: The outer record is visible; its protected content is not.
Rules & examples
The outer record is visible; its protected content is not.
- TLSInnerPlaintext contains content, an inner content type, and optional zero padding.
- The TLSCiphertext header is associated data for AEAD.
- Failed record authentication terminates the connection with a bad_record_mac alert.
The examples simplify the wire representation. Follow the linked specification and application profile for implementation.
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.
This guide explains the 2018 publication. Superseded by RFC 9846.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.