version 1.22, 2005/07/08 20:28:24
|
version 1.23, 2005/12/21 06:20:17
|
|
|
// | // |
// Modified By: Sushma Fernandes, Hewlett-Packard Company (sushma_fernandes@hp.com) | // Modified By: Sushma Fernandes, Hewlett-Packard Company (sushma_fernandes@hp.com) |
// Heather Sterling, IBM (hsterl@us.ibm.com) | // Heather Sterling, IBM (hsterl@us.ibm.com) |
|
// Aruran, IBM (ashanmug@in.ibm.com) for Bug#4422 |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
| |
SSLCertificateVerifyFunction* getSSLCertificateVerifyFunction() const; | SSLCertificateVerifyFunction* getSSLCertificateVerifyFunction() const; |
| |
|
private: |
|
|
|
SSL_CTX * _makeSSLContext(); |
|
void _randomInit(const String& randomFile); |
|
Boolean _verifyPrivateKey(SSL_CTX *ctx, const String& keyPath); |
|
|
/* | /* |
Initialize the SSL locking environment. | Initialize the SSL locking environment. |
| |
|
|
*/ | */ |
static void free_ssl(); | static void free_ssl(); |
| |
private: |
|
|
|
SSL_CTX * _makeSSLContext(); |
|
void _randomInit(const String& randomFile); |
|
Boolean _verifyPrivateKey(SSL_CTX *ctx, const String& keyPath); |
|
|
|
String _trustStore; | String _trustStore; |
String _certPath; | String _certPath; |
String _keyPath; | String _keyPath; |
|
|
/* | /* |
Mutex containing the SSL locks. | Mutex containing the SSL locks. |
*/ | */ |
static Mutex* _sslLocks; |
static AutoArrayPtr<Mutex> _sslLocks; |
| |
/* | /* |
Count for instances of this class. This is used to initialize and free | Count for instances of this class. This is used to initialize and free |