Security::NegotiationHistory Class Reference

#include <NegotiationHistory.h>

Collaboration diagram for Security::NegotiationHistory:

Public Member Functions

 NegotiationHistory ()
 
void retrieveNegotiatedInfo (const Security::SessionPointer &)
 Extract negotiation information from TLS object. More...
 
void retrieveParsedInfo (Security::TlsDetails::Pointer const &details)
 Extract information from parser stored in TlsDetails object. More...
 
const char * cipherName () const
 
const char * negotiatedVersion () const
 String representation of TLS negotiated version. More...
 
const char * helloVersion () const
 String representation of the received TLS hello message version. More...
 
const char * supportedVersion () const
 

Private Member Functions

const char * printTlsVersion (AnyP::ProtocolVersion const &v) const
 String representation of the TLS version 'v'. More...
 

Private Attributes

AnyP::ProtocolVersion helloVersion_
 The TLS version of the hello message. More...
 
AnyP::ProtocolVersion supportedVersion_
 The maximum supported TLS version. More...
 
AnyP::ProtocolVersion version_
 The negotiated TLS version. More...
 
const SSL_CIPHER * cipher
 The negotiated cipher. More...
 

Detailed Description

Definition at line 18 of file NegotiationHistory.h.

Constructor & Destructor Documentation

Security::NegotiationHistory::NegotiationHistory ( )

Definition at line 18 of file NegotiationHistory.cc.

Member Function Documentation

const char * Security::NegotiationHistory::cipherName ( ) const

The name of negotiated cipher

Definition at line 98 of file NegotiationHistory.cc.

Referenced by Format::Format::assemble().

const char* Security::NegotiationHistory::helloVersion ( ) const
inline

Definition at line 33 of file NegotiationHistory.h.

References helloVersion_, and printTlsVersion().

Referenced by Format::Format::assemble().

const char* Security::NegotiationHistory::negotiatedVersion ( ) const
inline

Definition at line 31 of file NegotiationHistory.h.

Referenced by Format::Format::assemble().

const char * Security::NegotiationHistory::printTlsVersion ( AnyP::ProtocolVersion const &  v) const
private
void Security::NegotiationHistory::retrieveNegotiatedInfo ( const Security::SessionPointer session)

Definition at line 68 of file NegotiationHistory.cc.

References BIO_get_data(), debugs, Debug::Enabled(), and toProtocolVersion().

Referenced by clientNegotiateSSL().

void Security::NegotiationHistory::retrieveParsedInfo ( Security::TlsDetails::Pointer const &  details)
const char* Security::NegotiationHistory::supportedVersion ( ) const
inline

String representation of the maximum supported TLS version by remote peer

Definition at line 36 of file NegotiationHistory.h.

References printTlsVersion(), and supportedVersion_.

Referenced by Format::Format::assemble().

Member Data Documentation

const SSL_CIPHER* Security::NegotiationHistory::cipher
private

Definition at line 44 of file NegotiationHistory.h.

AnyP::ProtocolVersion Security::NegotiationHistory::helloVersion_
private

Definition at line 40 of file NegotiationHistory.h.

Referenced by helloVersion().

AnyP::ProtocolVersion Security::NegotiationHistory::supportedVersion_
private

Definition at line 41 of file NegotiationHistory.h.

Referenced by supportedVersion().

AnyP::ProtocolVersion Security::NegotiationHistory::version_
private

Definition at line 42 of file NegotiationHistory.h.


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors