Table Of Contents

Previous topic

QSslCipher

Next topic

QNetworkConfiguration

QSslError

Inheritance diagram of QSslError

Synopsis

Functions

Detailed Description

The PySide.QtNetwork.QSslError class provides an SSL error.

PySide.QtNetwork.QSslError provides a simple API for managing errors during PySide.QtNetwork.QSslSocket ‘s SSL handshake.

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

Constructs a PySide.QtNetwork.QSslError object with no error and default certificate.

Constructs a PySide.QtNetwork.QSslError object. The argument specifies the error that occurred.

Constructs a 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.

Constant Description
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  
PySide.QtNetwork.QSslError.certificate()
Return type: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()
Return type:PySide.QtNetwork.QSslError.SslError

Returns the type of the error.

PySide.QtNetwork.QSslError.errorString()
Return type:unicode

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

PySide.QtNetwork.QSslError.__ne__(other)
Parameters:otherPySide.QtNetwork.QSslError
Return type:PySide.QtCore.bool

Returns true if this error is not equal to other ; otherwise returns false.

PySide.QtNetwork.QSslError.__eq__(other)
Parameters:otherPySide.QtNetwork.QSslError
Return type:PySide.QtCore.bool

Returns true if this error is equal to other ; otherwise returns false.