• PySide 模块
  • PySide.QtNetwork
  • 内容表

    上一话题

    QSslConfiguration

    下一话题

    QSslCipher

    QSslError

    概要

    函数

    详细描述

    class PySide.QtNetwork. QSslError
    class PySide.QtNetwork. QSslError ( error )
    class PySide.QtNetwork. QSslError ( error , certificate )
    class PySide.QtNetwork. QSslError ( other )
    参数:

    构造 PySide.QtNetwork.QSslError object with no error and default certificate.

    构造 PySide.QtNetwork.QSslError object. The argument specifies the error that occurred.

    构造 PySide.QtNetwork.QSslError object. The two arguments specify the error that occurred, and which certificate the error relates to.

    Constructs an identical copy of other .

    PySide.QtNetwork.QSslError. SslError

    Describes all recognized errors that can occur during an SSL handshake.

    常量 描述
    QSslError.NoError  
    QSslError.UnableToGetIssuerCertificate  
    QSslError.UnableToDecryptCertificateSignature  
    QSslError.UnableToDecodeIssuerPublicKey  
    QSslError.CertificateSignatureFailed  
    QSslError.CertificateNotYetValid  
    QSslError.CertificateExpired  
    QSslError.InvalidNotBeforeField  
    QSslError.InvalidNotAfterField  
    QSslError.SelfSignedCertificate  
    QSslError.SelfSignedCertificateInChain  
    QSslError.UnableToGetLocalIssuerCertificate  
    QSslError.UnableToVerifyFirstCertificate  
    QSslError.CertificateRevoked  
    QSslError.InvalidCaCertificate  
    QSslError.PathLengthExceeded  
    QSslError.InvalidPurpose  
    QSslError.CertificateUntrusted  
    QSslError.CertificateRejected  
    QSslError.SubjectIssuerMismatch  
    QSslError.AuthorityIssuerSerialNumberMismatch  
    QSslError.NoPeerCertificate  
    QSslError.HostNameMismatch  
    QSslError.UnspecifiedError  
    QSslError.NoSslSupport  
    QSslError.CertificateBlacklisted  
    PySide.QtNetwork.QSslError. certificate ( )
    返回类型: PySide.QtNetwork.QSslCertificate

    Returns the certificate associated with this error, or a null certificate if the error does not relate to any certificate.

    PySide.QtNetwork.QSslError. error ( )
    返回类型: PySide.QtNetwork.QSslError.SslError

    Returns the type of the error.

    PySide.QtNetwork.QSslError. errorString ( )
    返回类型: unicode

    Returns a short localized human-readable description of the error.

    PySide.QtNetwork.QSslError. __ne__ ( other )
    参数: other PySide.QtNetwork.QSslError
    返回类型: PySide.QtCore.bool

    Returns true if this error is not equal to other ;否则返回 false。

    PySide.QtNetwork.QSslError. __eq__ ( other )
    参数: other PySide.QtNetwork.QSslError
    返回类型: PySide.QtCore.bool

    Returns true if this error is equal to other ;否则返回 false。