Handshake.cc File Reference
#include "squid.h"
#include "base/IoManip.h"
#include "sbuf/Stream.h"
#include "security/Handshake.h"
#include "ssl/support.h"
#include <unordered_set>
Include dependency graph for Handshake.cc:
Go to the source code of this file.
Classes | |
class | Security::TLSPlaintext |
TLS Record Layer's frame from RFC 5246 Section 6.2.1. More... | |
class | Security::Sslv2Record |
draft-hickman-netscape-ssl-00. Section 4.1. SSL Record Header Format More... | |
class | Security::Handshake |
TLS Handshake Protocol frame from RFC 5246 Section 7.4. More... | |
class | Security::Alert |
TLS Alert protocol frame from RFC 5246 Section 7.2. More... | |
class | Security::Extension |
TLS Hello Extension from RFC 5246 Section 7.4.1.4. More... | |
Namespaces | |
namespace | Security |
Network/connection security abstraction layer. | |
Typedefs | |
typedef std::unordered_set< Extension::Type > | Security::Extensions |
Extension types optimized for fast lookups. More... | |
Enumerations | |
enum | Security::ContentType { Security::ctChangeCipherSpec = 20 , Security::ctAlert = 21 , Security::ctHandshake = 22 , Security::ctApplicationData = 23 } |
TLS Record Layer's content types from RFC 5246 Section 6.2.1. More... | |
enum | Security::HandshakeType { Security::hskClientHello = 1 , Security::hskServerHello = 2 , Security::hskCertificate = 11 , Security::hskServerHelloDone = 14 } |
TLS Handshake protocol's handshake types from RFC 5246 Section 7.4. More... | |
Functions | |
static Extensions | Security::SupportedExtensions () |
A helper function to create a set of all supported TLS extensions. More... | |
static AnyP::ProtocolVersion | Security::ParseProtocolVersionBase (Parser::BinaryTokenizer &tk, const char *contextLabel, const bool beStrict) |
static AnyP::ProtocolVersion | Security::ParseProtocolVersion (Parser::BinaryTokenizer &tk) |
static AnyP::ProtocolVersion | Security::ParseOptionalProtocolVersion (Parser::BinaryTokenizer &tk, const char *contextLabel) |
Variables | |
static const uint64_t | Security::HelloRandomSize = 32 |
The size of the TLS Random structure from RFC 5246 Section 7.4.1.2. More... | |