
We bake cookies in your browser for a better experience. Using this site means that you consent.Read More
TheQSslError class provides an SSL error.More...
| Header: | #include <QSslError> |
| Since: | Qt 4.3 |
Note: All functions in this class arereentrant.
| enum | SslError { NoError, UnableToGetIssuerCertificate, UnableToDecryptCertificateSignature, UnableToDecodeIssuerPublicKey, ..., CertificateBlacklisted } |
| QSslError() | |
| QSslError(SslError error) | |
| QSslError(SslError error, const QSslCertificate & certificate) | |
| QSslError(const QSslError & other) | |
| ~QSslError() | |
| QSslCertificate | certificate() const |
| SslError | error() const |
| QString | errorString() const |
| bool | operator!=(const QSslError & other) const |
| QSslError & | operator=(const QSslError & other) |
| bool | operator==(const QSslError & other) const |
TheQSslError class provides an SSL error.
QSslError provides a simple API for managing errors duringQSslSocket's SSL handshake.
See alsoQSslSocket,QSslCertificate, andQSslCipher.
Describes all recognized errors that can occur during an SSL handshake.
| Constant | Value |
|---|---|
QSslError::NoError | 0 |
QSslError::UnableToGetIssuerCertificate | 1 |
QSslError::UnableToDecryptCertificateSignature | 2 |
QSslError::UnableToDecodeIssuerPublicKey | 3 |
QSslError::CertificateSignatureFailed | 4 |
QSslError::CertificateNotYetValid | 5 |
QSslError::CertificateExpired | 6 |
QSslError::InvalidNotBeforeField | 7 |
QSslError::InvalidNotAfterField | 8 |
QSslError::SelfSignedCertificate | 9 |
QSslError::SelfSignedCertificateInChain | 10 |
QSslError::UnableToGetLocalIssuerCertificate | 11 |
QSslError::UnableToVerifyFirstCertificate | 12 |
QSslError::CertificateRevoked | 13 |
QSslError::InvalidCaCertificate | 14 |
QSslError::PathLengthExceeded | 15 |
QSslError::InvalidPurpose | 16 |
QSslError::CertificateUntrusted | 17 |
QSslError::CertificateRejected | 18 |
QSslError::SubjectIssuerMismatch | 19 |
QSslError::AuthorityIssuerSerialNumberMismatch | 20 |
QSslError::NoPeerCertificate | 21 |
QSslError::HostNameMismatch | 22 |
QSslError::UnspecifiedError | -1 |
QSslError::NoSslSupport | 23 |
QSslError::CertificateBlacklisted | 24 |
See alsoQSslError::errorString().
Constructs aQSslError object with no error and default certificate.
Constructs aQSslError object. The argument specifies theerror that occurred.
Constructs aQSslError object. The two arguments specify theerror that occurred, and whichcertificate the error relates to.
See alsoQSslCertificate.
Constructs an identical copy ofother.
Destroys theQSslError object.
Returns the certificate associated with this error, or a null certificate if the error does not relate to any certificate.
See alsoerror() anderrorString().
Returns the type of the error.
See alsoerrorString() andcertificate().
Returns a short localized human-readable description of the error.
See alsoerror() andcertificate().
Returns true if this error is not equal toother; otherwise returns false.
This function was introduced in Qt 4.4.
Assigns the contents ofother to this error.
This function was introduced in Qt 4.4.
Returns true if this error is equal toother; otherwise returns false.
This function was introduced in Qt 4.4.
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of theGNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.