version 1.18, 2004/10/17 20:39:17
|
version 1.19, 2004/12/07 22:43:14
|
|
|
@param keyPath server key file path | @param keyPath server key file path |
@param verifyCert function pointer to a certificate verification | @param verifyCert function pointer to a certificate verification |
call back function. | call back function. |
@param trustStoreAutoUpdate indicates that the server can automatically add certificates |
|
to the truststore if they are sent with valid sslTrustStoreUserName credentials |
|
@param trustStoreUserName the user to associate the truststore with; this is basically |
|
a workaround to providers that require a username and will be addressed post 2.4 |
|
@param randomFile file path of a random file that is used as a seed | @param randomFile file path of a random file that is used as a seed |
for random number generation by OpenSSL. | for random number generation by OpenSSL. |
| |
|
|
const String& trustStore, | const String& trustStore, |
const String& certPath = String::EMPTY, | const String& certPath = String::EMPTY, |
const String& keyPath = String::EMPTY, | const String& keyPath = String::EMPTY, |
|
const String& crlPath = String::EMPTY, |
SSLCertificateVerifyFunction* verifyCert = NULL, | SSLCertificateVerifyFunction* verifyCert = NULL, |
Boolean trustStoreAutoUpdate = false, |
|
String trustStoreUserName = String::EMPTY, |
|
const String& randomFile = String::EMPTY); | const String& randomFile = String::EMPTY); |
| |
SSLContextRep(const SSLContextRep& sslContextRep); | SSLContextRep(const SSLContextRep& sslContextRep); |
|
|
| |
String getKeyPath() const; | String getKeyPath() const; |
| |
Boolean isPeerVerificationEnabled() const; |
String getCRLPath() const; |
| |
Boolean isTrustStoreAutoUpdateEnabled() const; |
X509_STORE* getCRLStore() const; |
| |
String getTrustStoreUserName() const; |
Boolean isPeerVerificationEnabled() const; |
| |
SSLCertificateVerifyFunction* getSSLCertificateVerifyFunction() const; | SSLCertificateVerifyFunction* getSSLCertificateVerifyFunction() const; |
| |
|
|
String _trustStore; | String _trustStore; |
String _certPath; | String _certPath; |
String _keyPath; | String _keyPath; |
|
String _crlPath; |
String _randomFile; | String _randomFile; |
SSL_CTX * _sslContext; | SSL_CTX * _sslContext; |
| |
Boolean _verifyPeer; | Boolean _verifyPeer; |
Boolean _trustStoreAutoUpdate; |
|
String _trustStoreUserName; |
|
| |
SSLCertificateVerifyFunction* _certificateVerifyFunction; | SSLCertificateVerifyFunction* _certificateVerifyFunction; |
| |
|
X509_STORE* _crlStore; |
|
|
/* | /* |
Mutex containing the SSL locks. | Mutex containing the SSL locks. |
*/ | */ |