Tags and data models
04A tag adds semantic interpretation to the following data item.
DIAGRAMRead RFC section 3.4 ↗
RFC 8949 · § 3.4EXAMPLE
3 / 3
03
Validate semantics
The application applies the tag’s requirements, not only byte parsing.
Key idea: A tag is not a separate security guarantee.
Rules & examples
A tag is not a separate security guarantee.
- A tag is not a separate security guarantee.
- Tag 0 describes a standard date/time string; other tags define other semantics.
- Applications must specify which tags and values they understand.
Examples are illustrative. Consult the linked RFC and its errata for implementation details.
Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background
First, agree how to read the message.
An encoding tells a reader how to interpret bytes. A format tells it how values fit together. Correctly reading a value does not make that value 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.
Read the updated RFC section ↗