15 #ifndef TLSGNUTLSSERVER_H__
16 #define TLSGNUTLSSERVER_H__
18 #include "tlsgnutlsbase.h"
24 #include <gnutls/gnutls.h>
25 #include <gnutls/x509.h>
62 virtual void setCACerts(
const StringList& cacerts );
65 virtual void setClientCert(
const std::string& clientKey,
66 const std::string& clientCerts );
68 virtual void getCertInfo();
71 gnutls_certificate_credentials_t m_x509cred;
73 gnutls_dh_params_t m_dhParams;
74 gnutls_rsa_params_t m_rsaParams;
83 #endif // TLSGNUTLSSERVER_H__
virtual bool init(const std::string &clientKey=EmptyString, const std::string &clientCerts=EmptyString, const StringList &cacerts=StringList())
std::list< std::string > StringList
GnuTLSServer(TLSHandler *th)
The namespace for the gloox library.
This is the common base class for (stream) encryption using GnuTLS.
This class implements (stream) encryption using GnuTLS server-side.
An interface that allows for interacting with TLS implementations derived from TLSBase.
const std::string EmptyString