14 #ifndef TLSDEFAULT_H__
15 #define TLSDEFAULT_H__
65 virtual bool init(
const std::string& clientKey =
EmptyString,
70 virtual bool encrypt(
const std::string& data );
73 virtual int decrypt(
const std::string& data );
76 virtual void cleanup();
79 virtual bool handshake();
82 virtual bool isSecure()
const;
85 virtual const CertInfo& fetchTLSInfo()
const;
99 #endif // TLSDEFAULT_H__