version 1.4, 2002/03/28 23:10:38
|
version 1.5, 2002/05/11 02:55:19
|
|
|
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/Exception.h> | #include <Pegasus/Common/Exception.h> |
|
#include <Pegasus/Common/CertificateInfo.h> |
| |
// REVIEW: Figure out how this works (note to myself)? | // REVIEW: Figure out how this works (note to myself)? |
| |
|
|
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
typedef Boolean (*VERIFY_CERTIFICATE) (CertificateInfo *); |
|
|
class PEGASUS_EXPORT SSLContext | class PEGASUS_EXPORT SSLContext |
{ | { |
public: | public: |
| |
SSLContext(const String& certPath, | SSLContext(const String& certPath, |
const String& randomFile = String::EMPTY, | const String& randomFile = String::EMPTY, |
Boolean isCIMClient = false) |
Boolean isCIMClient = false, |
|
VERIFY_CERTIFICATE verifyCert = NULL) |
throw(SSL_Exception); | throw(SSL_Exception); |
| |
~SSLContext(); | ~SSLContext(); |