Pages
API Documentation
On this page

KSslCertificateRule Class

Network transparent access to files and data. More...

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

List of all members, including inherited members

Public Functions

Detailed Description

Certificate rule.

Member Function Documentation

KSslCertificateRule::KSslCertificateRule(const QSslCertificate &cert = QSslCertificate(), const QString &hostName = QString())

QSslCertificate KSslCertificateRule::certificate() const

QDateTime KSslCertificateRule::expiryDateTime() const

See also setExpiryDateTime()

QList<QSslError> KSslCertificateRule::filterErrors(const QList<QSslError> &errors) const

Filter out errors that are already ignored.

QString KSslCertificateRule::hostName() const

bool KSslCertificateRule::isErrorIgnored(QSslError::SslError error) const

Returns whether error is ignored for this certificate.

bool KSslCertificateRule::isRejected() const

void KSslCertificateRule::setExpiryDateTime(const QDateTime &dateTime)

See also expiryDateTime()

void KSslCertificateRule::setIgnoredErrors(const QList<QSslError::SslError> &errors)

Set the ignored errors for this certificate.

void KSslCertificateRule::setIgnoredErrors(const QList<QSslError> &errors)

Set the ignored errors for this certificate.

void KSslCertificateRule::setRejected(bool rejected)

See also isRejected()

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.