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

Pending and current keys

02

Read and write each have pending and current connection states.

RFC 5246 · § 6.1EXAMPLE
3 / 3
03
Protected record

The next Finished record uses the new state, starting its record sequence at zero.

Pending and current keysRead and write each have pending and current connection states. Current state: Protected record.Pending and current keysPending write statenew key / algorithmsCurrent write statenew key / algorithmsCCSFinishedrecord seq = 0Read and write state changes are independent.

Key idea: Sending ChangeCipherSpec makes the pending write state current.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Sending ChangeCipherSpec makes the pending write state current.
  • Receiving it makes the pending read state current.
  • The record sequence number resets when a state becomes active.

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.

This guide explains the 2008 publication. Superseded by RFC 8446, RFC 9846.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

EXPLORE THIS PROTOCOL

TLS versions and editions

RFC 9846 revises TLS 1.3; it is not TLS 1.4. Publication status and negotiated protocol version are different.

All chapters in RFC 5246

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 ↗