18 #ifndef _DECAF_NET_SSL_SSLSOCKET_H_
19 #define _DECAF_NET_SSL_SSLSOCKET_H_
90 SSLSocket(
const std::string& host,
int port );
122 virtual std::vector<std::string> getSupportedCipherSuites()
const = 0;
130 virtual std::vector<std::string> getSupportedProtocols()
const = 0;
138 virtual std::vector<std::string> getEnabledCipherSuites()
const = 0;
150 virtual void setEnabledCipherSuites(
const std::vector<std::string>& suites ) = 0;
158 virtual std::vector<std::string> getEnabledProtocols()
const = 0;
170 virtual void setEnabledProtocols(
const std::vector<std::string>& protocols ) = 0;
210 virtual void startHandshake() = 0;
224 virtual void setUseClientMode(
bool value ) = 0;
232 virtual bool getUseClientMode()
const = 0;
245 virtual void setNeedClientAuth(
bool value ) = 0;
254 virtual bool getNeedClientAuth()
const = 0;
268 virtual void setWantClientAuth(
bool value ) = 0;
278 virtual bool getWantClientAuth()
const = 0;