#include <tlsgnutlsclient.h>
Inherits GnuTLSBase.
Inheritance diagram for GnuTLSClient:


Public Member Functions | |
| GnuTLSClient (TLSHandler *th, const std::string &server) | |
| virtual | ~GnuTLSClient () |
| virtual void | setCACerts (const StringList &cacerts) |
| virtual void | setClientCert (const std::string &clientKey, const std::string &clientCerts) |
| virtual void | cleanup () |
You should not need to use this class directly.
Definition at line 44 of file tlsgnutlsclient.h.
|
||||||||||||
|
Constructor.
Definition at line 24 of file tlsgnutlsclient.cpp. |
|
|
Virtual destructor. Definition at line 30 of file tlsgnutlsclient.cpp. |
|
|
This function performs internal cleanup and will be called after a failed handshake attempt. Reimplemented from GnuTLSBase. Definition at line 34 of file tlsgnutlsclient.cpp. |
|
|
Use this function to set a number of trusted root CA certificates which shall be used to verify a servers certificate.
Reimplemented from GnuTLSBase. Definition at line 80 of file tlsgnutlsclient.cpp. |
|
||||||||||||
|
Use this function to set the user's certificate and private key. The certificate will be presented to the server upon request and can be used for SASL EXTERNAL authentication. The user's certificate file should be a bundle of more than one certificate in PEM format. The first one in the file should be the user's certificate, each cert following that one should have signed the previous one.
Reimplemented from GnuTLSBase. Definition at line 89 of file tlsgnutlsclient.cpp. |
1.4.1