Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qocspresponse_p.h
Go to the documentation of this file.
1// Copyright (C) 2011 Richard J. Moore <rich@kde.org>
2// Copyright (C) 2019 The Qt Company Ltd.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef QOCSPRESPONSE_P_H
6#define QOCSPRESPONSE_P_H
7
8#include <private/qtnetworkglobal_p.h>
9
10#include <qsslcertificate.h>
11#include <qocspresponse.h>
12
13#include <qshareddata.h>
14
15//
16// W A R N I N G
17// -------------
18//
19// This file is not part of the Qt API. It exists purely as an
20// implementation detail. This header file may change from version to
21// version without notice, or even be removed.
22//
23// We mean it.
24//
25
27
29{
30public:
31
32 QOcspCertificateStatus certificateStatus = QOcspCertificateStatus::Unknown;
34
35 QSslCertificate signerCert;
36 QSslCertificate subjectCert;
37};
38
39inline bool operator==(const QOcspResponsePrivate &lhs, const QOcspResponsePrivate &rhs)
40{
43 && lhs.signerCert == rhs.signerCert
44 && lhs.subjectCert == rhs.subjectCert;
45}
46
47QT_END_NAMESPACE
48
49#endif // QOCSPRESPONSE_P_H
QOcspRevocationReason revocationReason
QSslCertificate subjectCert
QSslCertificate signerCert
QOcspCertificateStatus certificateStatus
\inmodule QtCore
Definition qshareddata.h:19
Combined button and popup list for selecting options.
size_t qHash(const QOcspResponse &response, size_t seed) noexcept
QOcspRevocationReason
bool operator==(const QOcspResponsePrivate &lhs, const QOcspResponsePrivate &rhs)