ACE_INet  6.1.0
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes
ACE::INet::SSL_CallbackManager Class Reference

#include <SSL_CallbackManager.h>

Collaboration diagram for ACE::INet::SSL_CallbackManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SSL_CallbackManager ()
 ~SSL_CallbackManager ()
void initialize_callbacks (ACE_SSL_Context *ssl_ctx=ACE_SSL_Context::instance())
const ACE_SSL_Context * context () const
void set_certificate_callback (ACE::INet::SSL_CertificateCallback *cb)
void set_password_callback (ACE::INet::SSL_PasswordCallback *cb)

Static Public Member Functions

static SSL_CallbackManagerinstance ()

Private Types

typedef
ACE_Refcounted_Auto_Ptr
< ACE::INet::SSL_CertificateCallback,
ACE_SYNCH::MUTEX > 
TCertificateCallback
typedef
ACE_Refcounted_Auto_Ptr
< ACE::INet::SSL_PasswordCallback,
ACE_SYNCH::MUTEX > 
TPasswordCallback

Private Member Functions

int verify_certificate_callback (SSL_CertificateCallbackArg &arg)
void passwd_callback (ACE_CString &pwd)

Static Private Member Functions

static int verify_certificate_callback (int ok, X509_STORE_CTX *cert_ctx)
static int passwd_callback (char *buf, int size, int rwflag, void *user_data)

Private Attributes

ACE_SSL_Context * ssl_ctx_
TCertificateCallback cert_callback_
TPasswordCallback passwd_callback_

Static Private Attributes

static int ssl_ctx_mngr_index_ = (-2)

Member Typedef Documentation


Constructor & Destructor Documentation

ACE::INet::SSL_CallbackManager::SSL_CallbackManager ( )
ACE::INet::SSL_CallbackManager::~SSL_CallbackManager ( )

Member Function Documentation

const ACE_SSL_Context * ACE::INet::SSL_CallbackManager::context ( ) const [inline]
void ACE::INet::SSL_CallbackManager::initialize_callbacks ( ACE_SSL_Context *  ssl_ctx = ACE_SSL_Context::instance ())
SSL_CallbackManager * ACE::INet::SSL_CallbackManager::instance ( void  ) [static]
void ACE::INet::SSL_CallbackManager::passwd_callback ( ACE_CString pwd) [private]
int ACE::INet::SSL_CallbackManager::passwd_callback ( char *  buf,
int  size,
int  rwflag,
void *  user_data 
) [static, private]
void ACE::INet::SSL_CallbackManager::set_certificate_callback ( ACE::INet::SSL_CertificateCallback cb) [inline]
void ACE::INet::SSL_CallbackManager::set_password_callback ( ACE::INet::SSL_PasswordCallback cb) [inline]
int ACE::INet::SSL_CallbackManager::verify_certificate_callback ( SSL_CertificateCallbackArg arg) [private]
int ACE::INet::SSL_CallbackManager::verify_certificate_callback ( int  ok,
X509_STORE_CTX *  cert_ctx 
) [static, private]

Member Data Documentation

ACE_SSL_Context* ACE::INet::SSL_CallbackManager::ssl_ctx_ [private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines