Handshake.cc File Reference
#include "squid.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

 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 ParseProtocolVersion (Parser::BinaryTokenizer &tk)
 Convenience helper: We parse ProtocolVersion but store "int". More...
 

Variables

static const uint64_t Security::HelloRandomSize = 32
 The size of the TLS Random structure from RFC 5246 Section 7.4.1.2. More...
 

Function Documentation

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors