Movatterモバイル変換


[0]ホーム

URL:


We bake cookies in your browser for a better experience. Using this site means that you consent.Read More

Menu

Qt Documentation

QSslError Class

TheQSslError class provides an SSL error.More...

Header:#include <QSslError>
Since: Qt 4.3

Note: All functions in this class arereentrant.

Public Types

enumSslError { NoError, UnableToGetIssuerCertificate, UnableToDecryptCertificateSignature, UnableToDecodeIssuerPublicKey, ..., CertificateBlacklisted }

Public Functions

QSslError()
QSslError(SslError error)
QSslError(SslError error, const QSslCertificate & certificate)
QSslError(const QSslError & other)
~QSslError()
QSslCertificatecertificate() const
SslErrorerror() const
QStringerrorString() const
booloperator!=(const QSslError & other) const
QSslError &operator=(const QSslError & other)
booloperator==(const QSslError & other) const

Detailed Description

TheQSslError class provides an SSL error.

QSslError provides a simple API for managing errors duringQSslSocket's SSL handshake.

See alsoQSslSocket,QSslCertificate, andQSslCipher.

Member Type Documentation

enum QSslError::SslError

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

ConstantValue
QSslError::NoError0
QSslError::UnableToGetIssuerCertificate1
QSslError::UnableToDecryptCertificateSignature2
QSslError::UnableToDecodeIssuerPublicKey3
QSslError::CertificateSignatureFailed4
QSslError::CertificateNotYetValid5
QSslError::CertificateExpired6
QSslError::InvalidNotBeforeField7
QSslError::InvalidNotAfterField8
QSslError::SelfSignedCertificate9
QSslError::SelfSignedCertificateInChain10
QSslError::UnableToGetLocalIssuerCertificate11
QSslError::UnableToVerifyFirstCertificate12
QSslError::CertificateRevoked13
QSslError::InvalidCaCertificate14
QSslError::PathLengthExceeded15
QSslError::InvalidPurpose16
QSslError::CertificateUntrusted17
QSslError::CertificateRejected18
QSslError::SubjectIssuerMismatch19
QSslError::AuthorityIssuerSerialNumberMismatch20
QSslError::NoPeerCertificate21
QSslError::HostNameMismatch22
QSslError::UnspecifiedError-1
QSslError::NoSslSupport23
QSslError::CertificateBlacklisted24

See alsoQSslError::errorString().

Member Function Documentation

QSslError::QSslError()

Constructs aQSslError object with no error and default certificate.

QSslError::QSslError(SslError error)

Constructs aQSslError object. The argument specifies theerror that occurred.

QSslError::QSslError(SslError error, constQSslCertificate & certificate)

Constructs aQSslError object. The two arguments specify theerror that occurred, and whichcertificate the error relates to.

See alsoQSslCertificate.

QSslError::QSslError(constQSslError & other)

Constructs an identical copy ofother.

QSslError::~QSslError()

Destroys theQSslError object.

QSslCertificate QSslError::certificate() const

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

See alsoerror() anderrorString().

SslError QSslError::error() const

Returns the type of the error.

See alsoerrorString() andcertificate().

QString QSslError::errorString() const

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

See alsoerror() andcertificate().

bool QSslError::operator!=(constQSslError & other) const

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

This function was introduced in Qt 4.4.

QSslError & QSslError::operator=(constQSslError & other)

Assigns the contents ofother to this error.

This function was introduced in Qt 4.4.

bool QSslError::operator==(constQSslError & other) const

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.


[8]ページ先頭

©2009-2025 Movatter.jp