ACE_INet  6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
ACE::INet::SSL_CallbackManager Class Reference

#include <SSL_CallbackManager.h>

Collaboration diagram for ACE::INet::SSL_CallbackManager:
Collaboration graph

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)
 

Private Attributes

ACE_SSL_Context * ssl_ctx_
 
TCertificateCallback cert_callback_
 
TPasswordCallback passwd_callback_
 

Static Private Attributes

static int ssl_ctx_mngr_index_ = (-2)
 

Friends

int extern_C_verify_certificate_callback (int ok, X509_STORE_CTX *cert_ctx)
 
int extern_C_passwd_callback (char *buf, int size, int rwflag, void *user_data)
 

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
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

Friends And Related Function Documentation

int extern_C_passwd_callback ( char *  buf,
int  size,
int  rwflag,
void *  user_data 
)
friend
int extern_C_verify_certificate_callback ( int  ok,
X509_STORE_CTX *  cert_ctx 
)
friend

Member Data Documentation

TCertificateCallback ACE::INet::SSL_CallbackManager::cert_callback_
private
TPasswordCallback ACE::INet::SSL_CallbackManager::passwd_callback_
private
ACE_SSL_Context* ACE::INet::SSL_CallbackManager::ssl_ctx_
private
int ACE::INet::SSL_CallbackManager::ssl_ctx_mngr_index_ = (-2)
staticprivate

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