KD SOAP 2.0.0
Loading...
Searching...
No Matches
KDSoapSslHandler.h
1/****************************************************************************
2**
3** This file is part of the KD Soap library.
4**
5** SPDX-FileCopyrightText: 2010-2021 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6**
7** SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDAB-KDSoap OR LicenseRef-KDAB-KDSoap-US
8**
9** Licensees holding valid commercial KD Soap licenses may use this file in
10** accordance with the KD Soap Commercial License Agreement provided with
11** the Software.
12**
13** Contact info@kdab.com if any conditions of this licensing are not clear to you.
14**
15****************************************************************************/
16
17#ifndef KDSOAPSSLHANDLER_H
18#define KDSOAPSSLHANDLER_H
19
20#include <QObject>
21#include <QSslError>
22#include "KDSoapGlobal.h"
23
24QT_BEGIN_NAMESPACE
25class QNetworkReply;
26QT_END_NAMESPACE
27
28#ifndef QT_NO_SSL
29
30class KDSoapReplySslHandler;
36class KDSOAP_EXPORT KDSoapSslHandler : public QObject
37{
38 Q_OBJECT
39public:
40Q_SIGNALS:
54 void sslErrors(KDSoapSslHandler *handler, const QList<QSslError> &errors);
55
56public Q_SLOTS:
69 void ignoreSslErrors();
70
82 void ignoreSslErrors(const QList<QSslError> &errors);
83
84private:
85 friend class KDSoapReplySslHandler;
86 void handleSslErrors(QNetworkReply *reply, const QList<QSslError> &errors);
87
88private:
89 friend class KDSoapClientInterface;
90 friend class KDSoapClientInterfacePrivate;
95 explicit KDSoapSslHandler(QObject *parent = nullptr);
96 virtual ~KDSoapSslHandler();
97
98 QNetworkReply *m_reply;
99};
100
101#endif // QT_NO_SSL
102
103#endif // KDSOAPSSLHANDLER_H
Definition: KDSoapClientInterface.h:57
A class for handling SSL errors during SOAP calls.
Definition: KDSoapSslHandler.h:37
void sslErrors(KDSoapSslHandler *handler, const QList< QSslError > &errors)
Notification of SSL errors.

© 2010-2021 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-soap/
Generated on Fri May 1 2026 02:54:14 for KD SOAP by doxygen 1.9.6