QOcspResponse¶
This class represents Online Certificate Status Protocol response. More…
New in version 5.13.
Synopsis¶
Functions¶
def
__ne__
(, rhs)def
certificateStatus
()def
revocationReason
()def
subject
()def
swap
(other)
Detailed Description¶
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
ocspResponses()
certificateStatus()
revocationReason()
responder()
subject()
QOcspCertificateStatus
QOcspRevocationReason
setOcspStaplingEnabled()
ocspStaplingEnabled()
peerCertificate()
- class PySide2.QtNetwork.QOcspResponse¶
PySide2.QtNetwork.QOcspResponse(other)
- param other:
Creates a new response with status QOcspCertificateStatus::Unknown and revocation reason QOcspRevocationReason::None.
See also
QOcspCertificateStatus
- PySide2.QtNetwork.QOcspResponse.certificateStatus()¶
- Return type:
QOcspCertificateStatus
Returns the certificate status.
See also
QOcspCertificateStatus
- PySide2.QtNetwork.QOcspResponse.__ne__(rhs)¶
- Parameters:
- Return type:
bool
- PySide2.QtNetwork.QOcspResponse.revocationReason()¶
- Return type:
QOcspRevocationReason
Returns the reason for revocation.
- PySide2.QtNetwork.QOcspResponse.subject()¶
- Return type:
This function returns a certificate, for which this response was issued.
- PySide2.QtNetwork.QOcspResponse.swap(other)¶
- Parameters:
other –
PySide2.QtNetwork.QOcspResponse
Swaps this response with
other
.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.