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

#include <cSSLChannel.h>

Inheritance diagram for GrayLib::CSSLClient:
GrayLib::cSSLChannel

Public Member Functions

 CSSLClient (cStream *pStream)
 
virtual ~CSSLClient ()
 
HRESULT SendClientHello (int iVerBest, void *pRandomNumber, cArrayVal< SSL_CipherSuite_t > *pSupport, void *pSessionIdResume)
 
HRESULT SendCertificate ()
 
HRESULT SendClientKeyExchange (bool bCertificateVerify)
 
HRESULT SendChangeCipherSpec ()
 
HRESULT OnServerHello ()
 
HRESULT OnCertificate ()
 
HRESULT OnServerHelloDone ()
 
HRESULT OnChangeCipherSpec ()
 
HRESULT OnFinished ()
 
cStreamOutputget_SSLOut () const
 
cStreamInputget_SSLInp () const
 
- Public Member Functions inherited from GrayLib::cSSLChannel
 cSSLChannel ()
 
virtual ~cSSLChannel ()
 
void ChangeCipherSpec ()
 
 UNITTEST2_PREDEF (cSSLChannel)
 

Public Attributes

cStreamm_pStream
 the data stream to/from the cNetSocket More...
 
- Public Attributes inherited from GrayLib::cSSLChannel
bool m_bFinished
 
cSSLMsgHandHello m_Hello
 last set of hello params. More...
 
cSSLSession m_Neg
 the encryption we are negotiating. not active til Cont_ChangeCipherSpec. More...
 
cSSLSession m_Cur
 the current active selected encryption of the channel. More...
 
cNewPtr< cCipherBasem_pCrypt
 the current active encryption. More...
 

Detailed Description

SSL Client always initiates the conversation. TODO MERGE with cSSLClient

Constructor & Destructor Documentation

◆ CSSLClient()

GrayLib::CSSLClient::CSSLClient ( cStream pStream)

◆ ~CSSLClient()

GrayLib::CSSLClient::~CSSLClient ( )
virtual

Member Function Documentation

◆ get_SSLInp()

cStreamInput* GrayLib::CSSLClient::get_SSLInp ( ) const

◆ get_SSLOut()

cStreamOutput* GrayLib::CSSLClient::get_SSLOut ( ) const

◆ OnCertificate()

HRESULT GrayLib::CSSLClient::OnCertificate ( )

◆ OnChangeCipherSpec()

HRESULT GrayLib::CSSLClient::OnChangeCipherSpec ( )

◆ OnFinished()

HRESULT GrayLib::CSSLClient::OnFinished ( )

◆ OnServerHello()

HRESULT GrayLib::CSSLClient::OnServerHello ( )

◆ OnServerHelloDone()

HRESULT GrayLib::CSSLClient::OnServerHelloDone ( )

◆ SendCertificate()

HRESULT GrayLib::CSSLClient::SendCertificate ( )

◆ SendChangeCipherSpec()

HRESULT GrayLib::CSSLClient::SendChangeCipherSpec ( )

◆ SendClientHello()

HRESULT GrayLib::CSSLClient::SendClientHello ( int  iVerBest,
void *  pRandomNumber,
cArrayVal< SSL_CipherSuite_t > *  pSupport,
void *  pSessionIdResume 
)

◆ SendClientKeyExchange()

HRESULT GrayLib::CSSLClient::SendClientKeyExchange ( bool  bCertificateVerify)

Member Data Documentation

◆ m_pStream

cStream* GrayLib::CSSLClient::m_pStream

the data stream to/from the cNetSocket


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