QOcspResponse露

This class represents Online Certificate Status Protocol response. More鈥�

Inheritance diagram of PySide2.QtNetwork.QOcspResponse

New in version 5.13.

Synopsis露

Functions露

Detailed Description露

The QOcspResponse class represents the revocation status of a server鈥檚 certificate, received by the client-side socket during the TLS handshake. QSslSocket must be configured with OCSP stapling enabled.

class PySide2.QtNetwork.QOcspResponse露

PySide2.QtNetwork.QOcspResponse(other)

param other:

PySide2.QtNetwork.QOcspResponse

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:

rhs 鈥� PySide2.QtNetwork.QOcspResponse

Return type:

bool

PySide2.QtNetwork.QOcspResponse.revocationReason()露
Return type:

QOcspRevocationReason

Returns the reason for revocation.

PySide2.QtNetwork.QOcspResponse.subject()露
Return type:

PySide2.QtNetwork.QSslCertificate

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 .