Visual RFC.
ALL RFCs / RFC 7468
Read the RFC ↗
RFC 7468 / TEXTUAL SECURITY OBJECTS

Turn bytes into a labeled text object

01

A certificate or key is a structured binary object. Base64 turns its bytes into printable characters; boundary lines identify the kind of structure inside. These wrappers are often called PEM, after Privacy-Enhanced Mail, but this RFC defines its own textual encoding.

RFC 7468 · § 2EXAMPLE
3 / 3
Turn bytes into a labeled text objectSchematic matching CERTIFICATE boundaries enclose a placeholder for a real Certificate structure.Bytes → printable textBinary dataText tool-----BEGIN CERTIFICATE-----[real Certificate bytes as Base64]-----END CERTIFICATE-----labelSchematic; no usable certificateThe label names the expected inner type
03
Identify the expected structure with boundaries.

A schematic CERTIFICATE wrapper names the expected inner type. Its placeholder body is not a usable certificate; a real file must contain the required encoded Certificate structure.

Source for this drawing: RFC 7468 · Read RFC section 2 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

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.

KEY POINT

A text wrapper changes how bytes travel, not what they mean.

  • The opening line is five hyphens, BEGIN, one space, the label and five hyphens. The closing line uses END in the same form. Labels are case-sensitive; generators MUST use matching opening and closing labels.
  • The body uses the ordinary Base64 alphabet from RFC 4648 §4, including + and / and any required = padding. It is not the URL-safe alphabet.
  • ASN.1 (Abstract Syntax Notation One) describes the inner structures. BER (Basic Encoding Rules) encodes them as bytes; DER (Distinguished Encoding Rules) restricts BER to a canonical representation. Textual decoding alone does not check those structures.
DETAILS

The two-byte 00 ff → AP8= example only illustrates Base64. It is deliberately NOT a certificate or key. No real private material is used.

Read the RFC section ↗

All chapters in RFC 7468

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 ↗