gloox
1.1-svn
|
#include <tlsopensslclient.h>
Public Member Functions | |
OpenSSLClient (TLSHandler *th, const std::string &server) | |
virtual | ~OpenSSLClient () |
Public Member Functions inherited from OpenSSLBase | |
OpenSSLBase (TLSHandler *th, const std::string &server=EmptyString) | |
virtual | ~OpenSSLBase () |
virtual bool | init (const std::string &clientKey=EmptyString, const std::string &clientCerts=EmptyString, const StringList &cacerts=StringList()) |
virtual bool | encrypt (const std::string &data) |
virtual int | decrypt (const std::string &data) |
virtual void | cleanup () |
virtual bool | handshake () |
Public Member Functions inherited from TLSBase | |
TLSBase (TLSHandler *th, const std::string server) | |
virtual | ~TLSBase () |
void | setInitLib (bool init) |
virtual void | setSubject (const std::string &subject) |
virtual bool | isSecure () const |
virtual const CertInfo & | fetchTLSInfo () const |
This class implements a TLS client backend using OpenSSL.
Definition at line 35 of file tlsopensslclient.h.
OpenSSLClient | ( | TLSHandler * | th, |
const std::string & | server | ||
) |
Constructor.
th | The TLSHandler to handle TLS-related events. |
server | The server to use in certificate verification. |
Definition at line 22 of file tlsopensslclient.cpp.
|
virtual |
Virtual destructor.
Definition at line 27 of file tlsopensslclient.cpp.