10.5 Digital certificates in TLS
Now we will take a look at how certificates are handled within the TLS handshake protocol. We start by discussing TLS extensions, which provide a way to transport data in request-response type message exchanges within TLS. The rest of the section is broadly organized according to the TLS extensions dealing with digital certificates and certification authorities.
10.5.1 TLS extensions
Some TLS messages include the tag-value data structure shown in Listing 10.1 and referred to as an extension. The extension˙type
field specifies the type of the extension, and the extension˙data
field stores the corresponding data.
Listing 10.1: Data structure of a TLS extension
struct {
ExtensionType extension_type;
opaque extension_data<0..2^16-1>;
} Extension;
Typically, TLS extensions are used in a request-response message exchange: client Bob sends an extension request in his ClientHello
message, and...