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__