15 #ifndef TLSGNUTLSCLIENT_H__
16 #define TLSGNUTLSCLIENT_H__
18 #include "tlsgnutlsbase.h"
21 # include "../config.h.win"
22 #elif defined( _WIN32_WCE )
23 # include "../config.h.win"
30 #include <gnutls/gnutls.h>
31 #include <gnutls/x509.h>
63 virtual void setClientCert(
const std::string& clientKey,
const std::string& clientCerts );
70 virtual void getCertInfo();
72 bool verifyAgainst( gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer );
73 bool verifyAgainstCAs( gnutls_x509_crt_t cert, gnutls_x509_crt_t *CAList,
int CAListSize );
75 gnutls_certificate_credentials m_credentials;
83 #endif // TLSGNUTLSCLIENT_H__