What the signature covers
01In the default compact form, signing covers the encoded protected header, a dot, and the encoded payload.
Compute the protected value using the selected appropriate key.
Key idea: Base64url encoding does not hide the payload.
Rules & examples
Base64url encoding does not hide the payload.
- Base64url encoding does not hide the payload.
- The signing input is bytes, not a reserialized interpretation of JSON.
- The third compact part is the signature or MAC value.
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.
An optional b64:false extension allows unencoded payloads with explicit critical-header handling. RFC 7797 prohibits this option for JWTs.
Read the updated RFC section ↗