gloox  1.0.1
Public Member Functions | List of all members
OpenSSLClient Class Reference

#include <tlsopensslclient.h>

Inheritance diagram for OpenSSLClient:
Inheritance graph
[legend]

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 CertInfofetchTLSInfo () const

Detailed Description

This class implements a TLS client backend using OpenSSL.

Author
Jakob Schroeter js@ca.nosp@m.maya.nosp@m..net
Since
0.9

Definition at line 35 of file tlsopensslclient.h.

Constructor & Destructor Documentation

OpenSSLClient ( TLSHandler th,
const std::string &  server 
)

Constructor.

Parameters
thThe TLSHandler to handle TLS-related events.
serverThe server to use in certificate verification.

Definition at line 22 of file tlsopensslclient.cpp.

~OpenSSLClient ( )
virtual

Virtual destructor.

Definition at line 27 of file tlsopensslclient.cpp.


The documentation for this class was generated from the following files: