This class represents Online Certificate Status Protocol response.
More...
#include <qocspresponse.h>
This class represents Online Certificate Status Protocol response.
- Since
- 5.13
\inmodule QtNetwork
The QOcspResponse class represents the revocation status of a server's certificate, received by the client-side socket during the TLS handshake. QSslSocket must be configured with OCSP stapling enabled.
- See also
- QSslSocket, QSslSocket::ocspResponses(), certificateStatus(), revocationReason(), responder(), subject(), QOcspCertificateStatus, QOcspRevocationReason, QSslConfiguration::setOcspStaplingEnabled(), QSslConfiguration::ocspStaplingEnabled(), QSslConfiguration::peerCertificate()
Definition at line 48 of file qocspresponse.h.
◆ QOcspResponse() [1/3]
QOcspResponse::QOcspResponse |
( |
| ) |
|
◆ QOcspResponse() [2/3]
◆ QOcspResponse() [3/3]
◆ ~QOcspResponse()
QOcspResponse::~QOcspResponse |
( |
| ) |
|
|
default |
- Since
- 5.13
Destroys the response.
◆ certificateStatus()
◆ operator=() [1/2]
- Since
- 5.13
Copy-assigns other and returns a reference to this response.
◆ operator=() [2/2]
◆ responder()
- Since
- 5.13
This function returns a certificate used to sign OCSP response.
Definition at line 159 of file qocspresponse.cpp.
◆ revocationReason()
◆ subject()
- Since
- 5.13
This function returns a certificate, for which this response was issued.
Definition at line 169 of file qocspresponse.cpp.
◆ swap()
◆ operator!=
Returns true
if lhs and rhs are responses for different certificates, or signed by different responders, or have different revocation reasons, or different certificate statuses.
- Since
- 5.13
Definition at line 74 of file qocspresponse.h.
◆ operator==
Returns true
if lhs and rhs are the responses for the same certificate, signed by the same responder, have the same revocation reason and the same certificate status.
- Since
- 5.13
Definition at line 72 of file qocspresponse.h.
◆ qHash
Q_NETWORK_EXPORT size_t qHash |
( |
const QOcspResponse & | response, |
|
|
size_t | seed = 0 ) |
|
friend |
◆ QTlsPrivate::TlsCryptographOpenSSL
The documentation for this class was generated from the following files: