12QT_IMPL_METATYPE_EXTERN(QOcspResponse)
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
79
80
81
82
83
84
85
86QOcspResponse::QOcspResponse()
87 : d(
new QOcspResponsePrivate)
92
93
94
95
96QOcspResponse::QOcspResponse(
const QOcspResponse &) =
default;
99
100
101
102
103QOcspResponse::QOcspResponse(QOcspResponse &&)
noexcept =
default;
106
107
108
109
110QOcspResponse::~QOcspResponse() =
default;
113
114
115
116
117QOcspResponse &QOcspResponse::operator=(
const QOcspResponse &) =
default;
120
121
122
123
124QOcspResponse &QOcspResponse::operator=(QOcspResponse &&)
noexcept =
default;
127
128
129
130
133
134
135
136
137
138
139QOcspCertificateStatus QOcspResponse::certificateStatus()
const
141 return d->certificateStatus;
145
146
147
148
149QOcspRevocationReason QOcspResponse::revocationReason()
const
151 return d->revocationReason;
155
156
157
158
159QSslCertificate QOcspResponse::responder()
const
161 return d->signerCert;
165
166
167
168
169QSslCertificate QOcspResponse::subject()
const
171 return d->subjectCert;
175
176
177
178
179
180
181
182
185
186
187
188
189
190
191
192
195
196
197bool QOcspResponse::isEqual(
const QOcspResponse &other)
const
199 return d == other.d || *d == *other.d;
203
204
205
206
207
214 size_t hash = hasher(seed,
int(d->certificateStatus));
215 hash = hasher(hash,
int(d->revocationReason));
216 if (!d->signerCert.isNull())
217 hash = hasher(hash, d->signerCert);
218 if (!d->subjectCert.isNull())
219 hash = hasher(hash, d->subjectCert);
size_t qHash(const QOcspResponse &response, size_t seed) noexcept
Returns the hash value for the response, using seed to seed the calculation.