This class represents Online Certificate Status Protocol response. 更多 …
New in version 5.13.
def
__ne__
(, rhs)
def
certificateStatus
()
def
revocationReason
()
def
subject
()
def
swap
(other)
QOcspResponseclass represents the revocation status of a server’s certficate, received by the client-side socket during the TLS handshake.QSslSocketmust be configured with OCSP stapling enabled.另请参阅
QSslSocketocspResponses()certificateStatus()revocationReason()responder()subject()QOcspCertificateStatusQOcspRevocationReasonsetOcspStaplingEnabled()ocspStaplingEnabled()peerCertificate()
QOcspResponse
¶
QOcspResponse(other)
- param other
Creates a new response with status QOcspCertificateStatus::Unknown and revocation reason QOcspRevocationReason::None.
另请参阅
QOcspCertificateStatus
PySide2.QtNetwork.QOcspResponse.
certificateStatus
(
)
¶
QOcspCertificateStatus
Returns the certificate status.
另请参阅
QOcspCertificateStatus
PySide2.QtNetwork.QOcspResponse.
__ne__
(
rhs
)
¶
rhs
–
QOcspResponse
bool
PySide2.QtNetwork.QOcspResponse.
revocationReason
(
)
¶
QOcspRevocationReason
Returns the reason for revocation.
PySide2.QtNetwork.QOcspResponse.
subject
(
)
¶
This function returns a certificate, for which this response was issued.
PySide2.QtNetwork.QOcspResponse.
swap
(
other
)
¶
other
–
QOcspResponse
Swaps this response with
other
.