Skip to content

Commit

Permalink
Merge pull request #50 from tlswg/alert_types
Browse files Browse the repository at this point in the history
Clarify alerts. Fixes issue #40
  • Loading branch information
ekr authored Mar 7, 2022
2 parents b644b7c + 19ce3ab commit 55139c1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions draft-ietf-tls-ctls.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,11 @@ other than 0x30, since every X.509 certificate starts with this byte.
## Record Layer

The only cTLS records that are sent in plaintext are handshake records
(ClientHello and ServerHello/HRR). The content type is therefore constant (it
is always `handshake`), so we instead set the `content_type` field to a fixed
cTLS-specific value to distinguish cTLS plaintext records from encrypted
records, TLS/DTLS records, and other protocols using the same 5-tuple.
(ClientHello and ServerHello/HRR) and alerts. cTLS alerts are the same
as TLS alerts and use the same content types. For handshake records,
we set the `content_type` field to a fixed cTLS-specific value to
distinguish cTLS plaintext records from encrypted records, TLS/DTLS
records, and other protocols using the same 5-tuple.

~~~~
struct {
Expand Down

0 comments on commit 55139c1

Please sign in to comment.