内容表

上一话题

QNetworkSession

下一话题

QPasswordDigestor

QOcspResponse

This class represents Online Certificate Status Protocol response. 更多

Inheritance diagram of PySide2.QtNetwork.QOcspResponse

New in version 5.13.

概要

函数

详细描述

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.

另请参阅

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 ( )
返回类型

QSslCertificate

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

PySide2.QtNetwork.QOcspResponse. swap ( other )
参数

other QOcspResponse

Swaps this response with other .