15 #ifndef TLSGNUTLSSERVER_H__
16 #define TLSGNUTLSSERVER_H__
18 #include "tlsgnutlsbase.h"
24 #include <gnutls/gnutls.h>
25 #include <gnutls/x509.h>
61 virtual void setCACerts(
const StringList& cacerts );
62 virtual void setClientCert(
const std::string& clientKey,
63 const std::string& clientCerts );
65 virtual void getCertInfo();
68 gnutls_certificate_credentials_t m_x509cred;
70 gnutls_dh_params_t m_dhParams;
71 gnutls_rsa_params_t m_rsaParams;
80 #endif // TLSGNUTLSSERVER_H__