Provides an SSL error.
More...
|
These are not member functions
|
uint | qHash (const QSslError &key, uint seed) |
|
The QSslError class provides an SSL error. QSslError provides a simple API for managing errors during QSslSocket's SSL handshake.
- See also
- QSslSocket, QSslCertificate, QSslCipher
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 also
- QSslError::errorString()
Constructs a QSslError object with no error and default certificate.
Constructs a QSslError object. The argument specifies the error that occurred.
Constructs a QSslError object. The two arguments specify the error that occurred, and which certificate the error relates to.
- See also
- QSslCertificate
QSslError::QSslError |
( |
const QSslError & |
other | ) |
|
Constructs an identical copy of other.
QSslError::~QSslError |
( |
| ) |
|
Destroys the QSslError object.
Returns the certificate associated with this error, or a null certificate if the error does not relate to any certificate.
- See also
- error(), errorString()
QString QSslError::errorString |
( |
| ) |
const |
bool QSslError::operator!= |
( |
const QSslError & |
other | ) |
const |
|
inline |
Returns true if this error is not equal to other, otherwise returns false.
QSslError & QSslError::operator= |
( |
const QSslError & |
other | ) |
|
Copy assigns from other and returns a reference to this object.
QSslError & QSslError::operator= |
( |
QSslError && |
other | ) |
|
|
inline |
Move assigns from other and returns a reference to this object.
bool QSslError::operator== |
( |
const QSslError & |
other | ) |
const |
Returns true if this error is equal to other, otherwise returns false.
void QSslError::swap |
( |
QSslError & |
other | ) |
|
|
inline |
Swaps this error instance with other. This method is very fast and never fails.
Returns the hash value for the key using seed to seed the calculation.