version 1.3, 2001/12/24 03:11:33
|
version 1.4, 2002/03/28 23:10:38
|
|
|
#ifdef PEGASUS_HAS_SSL | #ifdef PEGASUS_HAS_SSL |
#include <openssl/err.h> | #include <openssl/err.h> |
#include <openssl/ssl.h> | #include <openssl/ssl.h> |
|
#include <openssl/rand.h> |
#else | #else |
#define SSL_CTX void | #define SSL_CTX void |
#endif | #endif |
|
|
{ | { |
public: | public: |
| |
SSLContext(const String& certPath) throw(SSL_Exception); |
SSLContext(const String& certPath, |
|
const String& randomFile = String::EMPTY, |
|
Boolean isCIMClient = false) |
|
throw(SSL_Exception); |
|
|
~SSLContext(); | ~SSLContext(); |
| |
SSL_CTX * getContext(); | SSL_CTX * getContext(); |