version 1.28, 2004/06/09 20:49:35
|
version 1.29, 2004/06/15 18:38:24
|
|
|
#endif | #endif |
} | } |
| |
#ifdef PEGASUS_USE_DEPRECATED_INTERFACES |
|
SSLContext::SSLContext( |
|
const String& certPath, |
|
SSLCertificateVerifyFunction* verifyCert, |
|
const String& randomFile, |
|
Boolean isCIMClient) |
|
{ |
|
#ifdef PEGASUS_USE_SSL_CLIENT_VERIFICATION |
|
_rep = new SSLContextRep(certPath, String::EMPTY, String::EMPTY, verifyCert, false, String::EMPTY, randomFile); |
|
#else |
|
_rep = new SSLContextRep(certPath, String::EMPTY, String::EMPTY, verifyCert, randomFile); |
|
#endif |
|
} |
|
|
|
SSLContext::SSLContext( |
|
const String& certPath, |
|
const String& certKeyPath, |
|
SSLCertificateVerifyFunction* verifyCert, |
|
const String& randomFile) |
|
{ |
|
#ifdef PEGASUS_USE_SSL_CLIENT_VERIFICATION |
|
_rep = new SSLContextRep(certPath, certKeyPath, String::EMPTY, verifyCert, false, String::EMPTY, randomFile); |
|
#else |
|
_rep = new SSLContextRep(certPath, certKeyPath, String::EMPTY, verifyCert, randomFile); |
|
#endif |
|
} |
|
#endif |
|
|
|
SSLContext::SSLContext( | SSLContext::SSLContext( |
const String& trustStore, | const String& trustStore, |
const String& certPath, | const String& certPath, |