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

What the signature covers

01

In the default compact form, signing covers the encoded protected header, a dot, and the encoded payload.

RFC 7515 · § 5.1EXAMPLE
3 / 3
03
Sign or MAC

Compute the protected value using the selected appropriate key.

What the signature coversIn the default compact form, signing covers the encoded protected header, a dot, and the encoded payload. Current state: Sign or MAC.What the signature coversencoded header.encoded payloadexact signing inputsignature / MACReadable encoded content; the protected bytes matter.

Key idea: Base64url encoding does not hide the payload.

Terms

Look up a term in the glossary ↗

Rules & examples
  • 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
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.

What changed
RFC 7515 default payload encodingRFC 7797 § 3

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 ↗

All chapters in RFC 7515

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 ↗