KjSslObject Class Reference

#include <KjSslObject.h>

Inheritance diagram for KjSslObject:

KjSslConnection KjSslServer List of all members.

Public Member Functions

 KjSslObject ()
 Framework object SSL_CTX for SSL enabled functions.
virtual ~KjSslObject ()
void CheckErrors (const string &_str)
 Check SSL errors.
void CheckSslErrors (const SSL *_pSsl, const int _iRet, const string &_str)
 More detail SSL errors checking.
SSL_CTX * GetCtx ()

Private Attributes

SSL_CTX * m_pCtx

Detailed Description

KjSslObject class initializing SSL connection and framework object SSL_CTX. The class contains SSL errors checking.

Definition at line 47 of file KjSslObject.h.


Constructor & Destructor Documentation

KjSslObject::KjSslObject  ) 
 

Framework object SSL_CTX for SSL enabled functions.

Definition at line 36 of file KjSslObject.cpp.

References m_pCtx.

KjSslObject::~KjSslObject  )  [virtual]
 

Definition at line 45 of file KjSslObject.cpp.


Member Function Documentation

void KjSslObject::CheckErrors const string &  _str  ) 
 

Check SSL errors.

Parameters:
_str Some error message

Definition at line 51 of file KjSslObject.cpp.

Referenced by KjSslConnection::ClientConnect(), KjSslConnection::Init(), KjSslServer::KjSslServer(), KjSslServer::NextClient(), and KjSslConnection::ServerConnect().

void KjSslObject::CheckSslErrors const SSL *  _pSsl,
const int  _iRet,
const string &  _str
 

More detail SSL errors checking.

Parameters:
_pSsl SSL connection
_iRet Return value from some SSL function
_str Some error message

Definition at line 67 of file KjSslObject.cpp.

Referenced by KjSslConnection::ClientConnect(), and KjSslConnection::ServerConnect().

SSL_CTX* KjSslObject::GetCtx  )  [inline]
 

Definition at line 58 of file KjSslObject.h.

References m_pCtx.

Referenced by KjSslConnection::Init().


Member Data Documentation

SSL_CTX* KjSslObject::m_pCtx [private]
 

Definition at line 49 of file KjSslObject.h.

Referenced by GetCtx(), and KjSslObject().


The documentation for this class was generated from the following files:
Generated on Tue Jul 24 10:03:19 2007 for KjSslSocket by  doxygen 1.4.6