13 #ifndef TLSSCHANNEL_H__
14 #define TLSSCHANNEL_H__
24 #define SECURITY_WIN32
60 virtual bool encrypt(
const std::string& data );
63 virtual int decrypt(
const std::string& data );
81 virtual void setClientCert(
const std::string& clientKey,
const std::string& clientCerts );
84 void handshakeStage(
const std::string& data );
87 int filetime2int( FILETIME t );
90 void connectionInfos();
93 CredHandle m_credHandle;
96 SecPkgContext_StreamSizes m_sizes;
100 size_t m_trailer_max;
102 std::string m_buffer;
112 #endif // HAVE_WINTLS
114 #endif // TLSSCHANNEL_H__