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’s certficate, received by the client-side socket during the TLS handshake. QSslSocket must be configured with OCSP stapling enabled.

class QOcspResponse

QOcspResponse(other)

param other

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

rhsQOcspResponse

Return type

bool

PySide2.QtNetwork.QOcspResponse.revocationReason()
Return type

QOcspRevocationReason

Returns the reason for revocation.

PySide2.QtNetwork.QOcspResponse.subject()
Return type

QSslCertificate

This function returns a certificate, for which this response was issued.

PySide2.QtNetwork.QOcspResponse.swap(other)
Parameters

otherQOcspResponse

Swaps this response with other .