A class for handling SSL errors during SOAP calls. More...
#include <KDSoapSslHandler.h>
Public Slots | |
void | ignoreSslErrors () |
ignoreSslErrors |
Signals | |
void | sslErrors (KDSoapSslHandler *handler, const QList< QSslError > &errors) |
Notification of SSL errors. |
Private Member Functions | |
KDSoapSslHandler (QObject *parent=0) |
A class for handling SSL errors during SOAP calls.
|
explicitprivate |
Constructs a KDSoapSslHandler. Used internally
|
signal |
Notification of SSL errors.
This signal is emitted if the SSL/TLS session encountered errors during the set up, including certificate verification errors. The errors parameter contains the list of errors.
To indicate that the errors are not fatal and that the connection should proceed, the ignoreSslErrors() method should be called from the slot connected to this signal. If it is not called, the SSL session will be torn down before any data is exchanged.
errors | list of ssl errors |
|
slot |
ignoreSslErrors
If this function is called, SSL errors related to network connection will be ignored, including certificate validation errors.
Note that calling this function without restraint may pose a security risk for your application. Use it with care.
This function can be called from the slot connected to the sslErrors() signal, which indicates which errors were found.