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// Qt-Security score:significant reason:default
5
6#ifndef QOCSPRESPONSE_P_H
7#define QOCSPRESPONSE_P_H
8
9#include <private/qtnetworkglobal_p.h>
10
11#include <qsslcertificate.h>
12#include <qocspresponse.h>
13
14#include <qshareddata.h>
15
16//
17// W A R N I N G
18// -------------
19//
20// This file is not part of the Qt API. It exists purely as an
21// implementation detail. This header file may change from version to
22// version without notice, or even be removed.
23//
24// We mean it.
25//
26
28
30{
31public:
32
33 QOcspCertificateStatus certificateStatus = QOcspCertificateStatus::Unknown;
35
36 QSslCertificate signerCert;
37 QSslCertificate subjectCert;
38};
39
40inline bool operator==(const QOcspResponsePrivate &lhs, const QOcspResponsePrivate &rhs)
41{
44 && lhs.signerCert == rhs.signerCert
45 && lhs.subjectCert == rhs.subjectCert;
46}
47
48QT_END_NAMESPACE
49
50#endif // QOCSPRESPONSE_P_H
QOcspRevocationReason revocationReason
QSslCertificate subjectCert
QSslCertificate signerCert
QOcspCertificateStatus certificateStatus
\inmodule QtCore
Definition qshareddata.h:19
size_t qHash(const QOcspResponse &response, size_t seed) noexcept
QOcspRevocationReason
bool operator==(const QOcspResponsePrivate &lhs, const QOcspResponsePrivate &rhs)