01Three promises
TLS (Transport Layer Security) sits between TCP and your application. It takes a stream of bytes, wraps it in encryption and authentication, and hands it back. The older name SSL is still used out of habit; the SSL protocol versions themselves are dead.
| Guarantee | What it means | How it is achieved |
|---|---|---|
| Confidentiality | Nobody on the path can read the bytes | Symmetric encryption with a per-session key |
| Integrity | Nobody can change the bytes undetected | Authenticated encryption (AEAD) with per-record nonces |
| Server authentication | You are talking to the holder of the certificate key | Certificate validation plus a signature over the handshake |