Pages
API Documentation
On this page

KSslInfoDialog Class

KDE SSL Information Dialog. More...

  • Header: #include <KSslInfoDialog>
  • CMake: find_package(KF6 REQUIRED COMPONENTS KIO)
    target_link_libraries(mytarget PRIVATE KF6::KIOWidgets)
  • Inherits: QDialog

List of all members, including inherited members

Public Functions

Static Public Members

Detailed Description

This class creates a dialog that can be used to display information about an SSL session.

Member Function Documentation

[explicit] KSslInfoDialog::KSslInfoDialog(QWidget *parent = nullptr)

Construct a KSSL Information Dialog

parent the parent widget

[static] QList<QList<QSslError::SslError>> KSslInfoDialog::certificateErrorsFromString(const QString &errorsString)

Converts certificate errors as provided in the "ssl_cert_errors" meta data to a list of QSslError::SslError values per certificate in the certificate chain.

void KSslInfoDialog::setAuxiliaryPartsEncrypted(bool)

void KSslInfoDialog::setMainPartEncrypted(bool)

void KSslInfoDialog::setSslInfo(const QList<QSslCertificate> &certificateChain, const QString &ip, const QString &host, const QString &sslProtocol, const QString &cipher, int usedBits, int bits, const QList<QList<QSslError::SslError>> &validationErrors)

Set information to display about the SSL connection.

certificateChain the certificate chain leading from the certificate authority to the peer.

ip the ip of the remote host

host the remote hostname

sslProtocol the version of SSL in use (SSLv2, SSLv3, TLSv1)

cipher the cipher in use

usedBits the used bits of the key

bits the key size of the cipher in use

validationErrors errors validating the certificates, if any

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