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 |
Public Functions
KSslInfoDialog(QWidget *parent = nullptr) | |
void | setAuxiliaryPartsEncrypted(bool) |
void | setMainPartEncrypted(bool) |
(since 5.64) void | 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) |
Static Public Members
(since 5.65) QList<QList<QSslError::SslError>> | certificateErrorsFromString(const QString &errorsString) |
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, since 5.65]
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.
This function was introduced in 5.65.
void KSslInfoDialog::setAuxiliaryPartsEncrypted(bool)
void KSslInfoDialog::setMainPartEncrypted(bool)
[since 5.64]
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
This function was introduced in 5.64.