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.
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.
See also
Constructs an identical copy of other .
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 | |
QSslError.CertificateBlacklisted |
See also
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.
Return type: | PySide.QtNetwork.QSslError.SslError |
---|
Returns the type of the error.
Return type: | unicode |
---|
Returns a short localized human-readable description of the error.
Parameters: | other – PySide.QtNetwork.QSslError |
---|---|
Return type: | PySide.QtCore.bool |
Returns true if this error is not equal to other ; otherwise returns false.
Parameters: | other – PySide.QtNetwork.QSslError |
---|---|
Return type: | PySide.QtCore.bool |
Returns true if this error is equal to other ; otherwise returns false.