15 #ifndef TLSGNUTLSCLIENTANON_H__
16 #define TLSGNUTLSCLIENTANON_H__
18 #include "tlsgnutlsbase.h"
24 #include <gnutls/gnutls.h>
25 #include <gnutls/x509.h>
61 virtual void getCertInfo();
63 gnutls_anon_client_credentials_t m_anoncred;
This is the common base class for (stream) encryption using GnuTLS.
This class implements an anonymous TLS backend using GnuTLS.
virtual ~GnuTLSClientAnon()
virtual bool init(const std::string &clientKey=EmptyString, const std::string &clientCerts=EmptyString, const StringList &cacerts=StringList())
GnuTLSClientAnon(TLSHandler *th)
An interface that allows for interacting with TLS implementations derived from TLSBase.
The namespace for the gloox library.
std::list< std::string > StringList
const std::string EmptyString