Establish a protected connection
03QUIC integrates a cryptographic handshake and transport-parameter negotiation. The cryptographic details are in RFC 9001.
The client sends Handshake CRYPTO/Finished before or alongside its first 1-RTT stream data. This is not handshake confirmation.
Key idea: Handshake progress establishes keys and transport context.
Rules & examples
Handshake progress establishes keys and transport context.
- Initial, Handshake, and 1-RTT packets have different protection contexts.
- Initial protection does not provide secrecy from an observer who can derive the public Initial keys.
- Before address validation, a server limits bytes sent to an address to three times bytes received from it.
This simplified full handshake shows server Initial/ServerHello before protected handshake messages and client Handshake/Finished before 1-RTT data. Flights can contain multiple packets; a UDP datagram can coalesce packet types (§ 7.1). TLS completion differs from confirmation (RFC 9001 §§ 4.1.1–4.1.2). A client confirms on HANDSHAKE_DONE, or MAY use acknowledgment of its 1-RTT packet; application data need not wait for confirmation. 0-RTT on resumed connections has replay risks. UDP datagrams carrying client Initial packets are at least 1200 bytes.
Sources
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.
Version 2 changes long-header type encodings: Initial=01, 0-RTT=10, Handshake=11, Retry=00. These are wire-version differences, not RFC revision numbers.
Read the updated RFC section ↗