Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
27
QT_BEGIN_NAMESPACE
28
29
class
QOcspResponsePrivate
:
public
QSharedData
30
{
31
public
:
32
33
QOcspCertificateStatus
certificateStatus
= QOcspCertificateStatus::Unknown;
34
QOcspRevocationReason
revocationReason
=
QOcspRevocationReason
::
None
;
35
36
QSslCertificate
signerCert
;
37
QSslCertificate
subjectCert
;
38
};
39
40
inline
bool
operator
==(
const
QOcspResponsePrivate
&lhs,
const
QOcspResponsePrivate
&rhs)
41
{
42
return
lhs
.
certificateStatus
== rhs
.
certificateStatus
43
&& lhs
.
revocationReason
== rhs
.
revocationReason
44
&& lhs.signerCert == rhs.signerCert
45
&& lhs.subjectCert == rhs.subjectCert;
46
}
47
48
QT_END_NAMESPACE
49
50
#
endif
// QOCSPRESPONSE_P_H
QOcspResponsePrivate
Definition
qocspresponse_p.h:30
QOcspResponsePrivate::revocationReason
QOcspRevocationReason revocationReason
Definition
qocspresponse_p.h:34
QOcspResponsePrivate::subjectCert
QSslCertificate subjectCert
Definition
qocspresponse_p.h:37
QOcspResponsePrivate::signerCert
QSslCertificate signerCert
Definition
qocspresponse_p.h:36
QOcspResponsePrivate::certificateStatus
QOcspCertificateStatus certificateStatus
Definition
qocspresponse_p.h:33
QSharedData
\inmodule QtCore
Definition
qshareddata.h:39
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qHash
size_t qHash(const QOcspResponse &response, size_t seed) noexcept
Definition
qocspresponse.cpp:208
QOcspRevocationReason
QOcspRevocationReason
Definition
qocspresponse.h:29
QOcspRevocationReason::None
@ None
Definition
qocspresponse.h:30
operator==
bool operator==(const QOcspResponsePrivate &lhs, const QOcspResponsePrivate &rhs)
Definition
qocspresponse_p.h:40
qtbase
src
network
ssl
qocspresponse_p.h
Generated on
for Qt by
1.18.0