#include <TlsChecker.h>
|
static void | logSslConfig (const QSslConfiguration &pCfg, const QMessageLogger &pLogger) |
|
static QString | toString (QSsl::SslProtocol pProtocol) |
|
static QString | toString (QSsl::KeyAlgorithm pKeyAlgorithm) |
|
static QStringList | getFatalErrors (const QList< QSslError > &pErrors) |
|
static bool | containsFatalError (QNetworkReply *pReply, const QList< QSslError > &pErrors) |
|
static bool | checkCertificate (const QSslCertificate &pCertificate, QCryptographicHash::Algorithm pAlgorithm, const QSet< QString > &pAcceptedCertificateHashes) |
| Checks, whether the certificate's hash is contained in a set of accepted certificate hashes. Mehr ...
|
|
static bool | hasValidCertificateKeyLength (const QSslCertificate &pCertificate) |
| Checks, whether the key length of the SSL certificate is of sufficient length. Mehr ...
|
|
static bool | hasValidEphemeralKeyLength (const QSslKey &pEphemeralServerKey) |
| Checks, whether the length of the ephemeral key is of sufficient length. Mehr ...
|
|
static QString | getCertificateIssuerName (const QSslCertificate &pCertificate) |
| This method is only needed until QSslCertificate provides its own method issuerDisplayName in Qt 5.12. Mehr ...
|
|
◆ checkCertificate()
bool TlsChecker::checkCertificate |
( |
const QSslCertificate & |
pCertificate, |
|
|
QCryptographicHash::Algorithm |
pAlgorithm, |
|
|
const QSet< QString > & |
pAcceptedCertificateHashes |
|
) |
| |
|
static |
Checks, whether the certificate's hash is contained in a set of accepted certificate hashes.
◆ containsFatalError()
bool TlsChecker::containsFatalError |
( |
QNetworkReply * |
pReply, |
|
|
const QList< QSslError > & |
pErrors |
|
) |
| |
|
static |
◆ getCertificateIssuerName()
QString TlsChecker::getCertificateIssuerName |
( |
const QSslCertificate & |
pCertificate | ) |
|
|
static |
This method is only needed until QSslCertificate provides its own method issuerDisplayName in Qt 5.12.
◆ getFatalErrors()
QStringList TlsChecker::getFatalErrors |
( |
const QList< QSslError > & |
pErrors | ) |
|
|
static |
◆ hasValidCertificateKeyLength()
bool TlsChecker::hasValidCertificateKeyLength |
( |
const QSslCertificate & |
pCertificate | ) |
|
|
static |
Checks, whether the key length of the SSL certificate is of sufficient length.
◆ hasValidEphemeralKeyLength()
bool TlsChecker::hasValidEphemeralKeyLength |
( |
const QSslKey & |
pEphemeralServerKey | ) |
|
|
static |
Checks, whether the length of the ephemeral key is of sufficient length.
◆ logSslConfig()
void TlsChecker::logSslConfig |
( |
const QSslConfiguration & |
pCfg, |
|
|
const QMessageLogger & |
pLogger |
|
) |
| |
|
static |
◆ toString() [1/2]
QString TlsChecker::toString |
( |
QSsl::KeyAlgorithm |
pKeyAlgorithm | ) |
|
|
static |
◆ toString() [2/2]
QString TlsChecker::toString |
( |
QSsl::SslProtocol |
pProtocol | ) |
|
|
static |
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: