15 #include "tlsopensslclient.h" 31 bool OpenSSLClient::setType()
33 m_ctx = SSL_CTX_new( TLSv1_client_method() );
47 unsigned char* buf[128];
48 int res = SSL_get_finished( m_ssl, buf, 128 );
49 return std::string( (
char*)buf, res );
52 int OpenSSLClient::handshakeFunction()
54 return SSL_connect( m_ssl );
59 #endif // HAVE_OPENSSL The namespace for the gloox library.
virtual bool hasChannelBinding() const
OpenSSLClient(TLSHandler *th, const std::string &server)
An interface that allows for interacting with TLS implementations derived from TLSBase.
virtual const std::string channelBinding() const