ACE_INet
6.2.0
|
#include <SSL_CallbackManager.h>
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_CallbackManager * | instance () |
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) |
|
private |
|
private |
ACE::INet::SSL_CallbackManager::SSL_CallbackManager | ( | ) |
ACE::INet::SSL_CallbackManager::~SSL_CallbackManager | ( | ) |
|
inline |
void ACE::INet::SSL_CallbackManager::initialize_callbacks | ( | ACE_SSL_Context * | ssl_ctx = ACE_SSL_Context::instance () | ) |
|
static |
|
private |
|
inline |
|
inline |
|
private |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
staticprivate |