13 #ifndef TLSSCHANNEL_H__
14 #define TLSSCHANNEL_H__
19 # include "../config.h.win"
20 #elif defined( _WIN32_WCE )
21 # include "../config.h.win"
30 #define SECURITY_WIN32
60 virtual bool encrypt(
const std::string& data );
63 virtual int decrypt(
const std::string& data );
75 virtual void setClientCert(
const std::string& clientKey,
const std::string& clientCerts );
78 void handshakeStage(
const std::string& data );
81 int filetime2int( FILETIME t );
84 void connectionInfos();
87 CredHandle m_credHandle;
90 SecPkgContext_StreamSizes m_sizes;
106 #endif // HAVE_WINTLS
108 #endif // TLSSCHANNEL_H__