KSslCertificateManager Class

Header: #include <KSslCertificateManager>
CMake: find_package(KF6 REQUIRED COMPONENTS KIO)
target_link_libraries(mytarget PRIVATE KF6::KIOCore)

Public Functions

QList<QSslCertificate> caCertificates() const
void clearRule(const KSslCertificateRule &rule)
void clearRule(const QSslCertificate &cert, const QString &hostName)
KSslCertificateRule rule(const QSslCertificate &cert, const QString &hostName) const
void setRule(const KSslCertificateRule &rule)

Static Public Members

(since 5.64) QList<QSslError> nonIgnorableErrors(const QList<QSslError> &errors)
KSslCertificateManager *self()

Detailed Description

Certificate manager.

Member Function Documentation

QList<QSslCertificate> KSslCertificateManager::caCertificates() const

void KSslCertificateManager::clearRule(const KSslCertificateRule &rule)

void KSslCertificateManager::clearRule(const QSslCertificate &cert, const QString &hostName)

[static, since 5.64] QList<QSslError> KSslCertificateManager::nonIgnorableErrors(const QList<QSslError> &errors)

Returns the subset of errors that cannot be ignored, ie. that is considered fatal.

This function was introduced in 5.64.

KSslCertificateRule KSslCertificateManager::rule(const QSslCertificate &cert, const QString &hostName) const

See also setRule().

[static] KSslCertificateManager *KSslCertificateManager::self()

void KSslCertificateManager::setRule(const KSslCertificateRule &rule)

See also rule().