15 #ifndef TLSOPENSSL_H__
16 #define TLSOPENSSL_H__
21 # include "../config.h.win"
22 #elif defined( _WIN32_WCE )
23 # include "../config.h.win"
30 #include <openssl/ssl.h>
57 virtual bool encrypt(
const std::string& data );
60 virtual int decrypt(
const std::string& data );
72 virtual void setClientCert(
const std::string& clientKey,
const std::string& clientCerts );
84 void doTLSOperation( TLSOperation op );
85 int openSSLTime2UnixTime(
const char* time_string );
91 std::string m_recvBuffer;
92 std::string m_sendBuffer;
100 #endif // HAVE_OPENSSL
102 #endif // TLSOPENSSL_H__