version 1.31, 2008/02/26 19:24:16
|
version 1.34, 2008/06/20 17:20:36
|
|
|
#endif | #endif |
| |
#include <Pegasus/Common/SSLContext.h> | #include <Pegasus/Common/SSLContext.h> |
#include <Pegasus/Common/Linkage.h> |
|
#include <Pegasus/Common/Mutex.h> | #include <Pegasus/Common/Mutex.h> |
#include <Pegasus/Common/Threads.h> | #include <Pegasus/Common/Threads.h> |
#include <Pegasus/Common/Tracer.h> | #include <Pegasus/Common/Tracer.h> |
|
|
{ | { |
typedef void (* CRYPTO_SET_LOCKING_CALLBACK)(int, int, const char *, int); | typedef void (* CRYPTO_SET_LOCKING_CALLBACK)(int, int, const char *, int); |
typedef unsigned long (* CRYPTO_SET_ID_CALLBACK)(void); | typedef unsigned long (* CRYPTO_SET_ID_CALLBACK)(void); |
}; |
} |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
| |
SSLCertificateVerifyFunction* getSSLCertificateVerifyFunction() const; | SSLCertificateVerifyFunction* getSSLCertificateVerifyFunction() const; |
| |
|
/** |
|
Checks if the certificate associated with this SSL context has expired |
|
or is not yet valid. |
|
@exception SSLException if the certificate is determined to be invalid. |
|
*/ |
|
void validateCertificate(); |
|
|
private: | private: |
| |
#ifdef PEGASUS_HAS_SSL | #ifdef PEGASUS_HAS_SSL |