Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cSSLSessionBase1 Class Reference

#include <cSSLSession.h>

Inheritance diagram for GrayLib::cSSLSessionBase1:
GrayLib::cSSLSessionBase2 GrayLib::cSSLSession

Public Member Functions

 cSSLSessionBase1 () noexcept
 
bool isIdValid () const noexcept
 
BYTE get_IdSize () const noexcept
 
bool isMatchId (BYTE nIdSize, const BYTE *pId) const
 
bool isMatchId (const cSSLSessionBase1 *pSession) const
 
bool isMatchHead (const cSSLSessionBase1 *pSession) const
 
void SetId (BYTE nIdSize, const BYTE *pId)
 
HRESULT SetIdRandom (IRandomNoise *pRandom)
 
void SetPayload1 (const cSSLSessionBase1 *pSession)
 
void SetPayload2 (const cSSLSessionBase1 *pSession)
 
void SetZeroSession ()
 

Public Attributes

BYTE m_Id [32]
 session identifier. unique. More...
 
BYTE m_nIdSize
 session m_Id length actually used. >=16 && <=32 More...
 
SSL_CipherSuite_TYPE m_eCipherSuite
 chosen ciphersuite. SSL_CipherSuite_TYPE More...
 
SSL_COMPRESS_TYPE m_eCompression
 chosen compression. SSL_COMPRESS_TYPE More...
 
BYTE m_MasterSecret [48]
 the master secret More...
 
X509_Verify_t m_eVerifyResults
 verification result More...
 
TIMESEC_t m_TimeStamp
 entry time stamp. cTimeInt // When last used. More...
 

Detailed Description

This is session stuff that needs to get cached.

Constructor & Destructor Documentation

◆ cSSLSessionBase1()

GrayLib::cSSLSessionBase1::cSSLSessionBase1 ( )
inlinenoexcept

Member Function Documentation

◆ get_IdSize()

BYTE GrayLib::cSSLSessionBase1::get_IdSize ( ) const
inlinenoexcept

◆ isIdValid()

bool GrayLib::cSSLSessionBase1::isIdValid ( ) const
inlinenoexcept

◆ isMatchHead()

bool GrayLib::cSSLSessionBase1::isMatchHead ( const cSSLSessionBase1 pSession) const
inline

◆ isMatchId() [1/2]

bool GrayLib::cSSLSessionBase1::isMatchId ( BYTE  nIdSize,
const BYTE *  pId 
) const
inline

◆ isMatchId() [2/2]

bool GrayLib::cSSLSessionBase1::isMatchId ( const cSSLSessionBase1 pSession) const
inline

◆ SetId()

void GrayLib::cSSLSessionBase1::SetId ( BYTE  nIdSize,
const BYTE *  pId 
)
inline

◆ SetIdRandom()

HRESULT GrayLib::cSSLSessionBase1::SetIdRandom ( IRandomNoise pRandom)
inline

◆ SetPayload1()

void GrayLib::cSSLSessionBase1::SetPayload1 ( const cSSLSessionBase1 pSession)
inline

◆ SetPayload2()

void GrayLib::cSSLSessionBase1::SetPayload2 ( const cSSLSessionBase1 pSession)
inline

◆ SetZeroSession()

void GrayLib::cSSLSessionBase1::SetZeroSession ( )
inline

Member Data Documentation

◆ m_eCipherSuite

SSL_CipherSuite_TYPE GrayLib::cSSLSessionBase1::m_eCipherSuite

chosen ciphersuite. SSL_CipherSuite_TYPE

◆ m_eCompression

SSL_COMPRESS_TYPE GrayLib::cSSLSessionBase1::m_eCompression

chosen compression. SSL_COMPRESS_TYPE

◆ m_eVerifyResults

X509_Verify_t GrayLib::cSSLSessionBase1::m_eVerifyResults

verification result

◆ m_Id

BYTE GrayLib::cSSLSessionBase1::m_Id[32]

session identifier. unique.

◆ m_MasterSecret

BYTE GrayLib::cSSLSessionBase1::m_MasterSecret[48]

the master secret

◆ m_nIdSize

BYTE GrayLib::cSSLSessionBase1::m_nIdSize

session m_Id length actually used. >=16 && <=32

◆ m_TimeStamp

TIMESEC_t GrayLib::cSSLSessionBase1::m_TimeStamp

entry time stamp. cTimeInt // When last used.


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