|
gloox
1.0.1
|
#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 () |
| virtual void | setCACerts (const StringList &cacerts) |
| virtual void | setClientCert (const std::string &clientKey, const std::string &clientCerts) |
Public Member Functions inherited from TLSBase | |
| TLSBase (TLSHandler *th, const std::string server) | |
| virtual | ~TLSBase () |
| void | setInitLib (bool init) |
| 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.
1.8.1.2