KIO::SslUi
KIO::SslUi Namespace Reference
Enumerations | |
enum | RulesStorage { RecallRules = 1 , StoreRules = 2 , RecallAndStoreRules = 3 } |
Functions | |
bool KIOWIDGETS_EXPORT | askIgnoreSslErrors (const KSslErrorUiData &uiData, RulesStorage storedRules=RecallAndStoreRules) |
Detailed Description
UI methods for handling SSL errors.
Enumeration Type Documentation
◆ RulesStorage
Function Documentation
◆ askIgnoreSslErrors()
bool KIO::SslUi::askIgnoreSslErrors | ( | const KSslErrorUiData & | uiData, |
RulesStorage | storedRules = RecallAndStoreRules ) |
If there are errors while establishing an SSL encrypted connection to a peer, usually due to certificate issues, and since this poses a security issue, we need confirmation from the user about how they wish to proceed.
This function provides a dialog asking the user if they wish to abort the connection or ignore the SSL errors that occurred and continue connecting. And in case of the latter whether to remember the decision in the future or ignore the error temporarily.
uiData
the KSslErrorUiData object constructed from the socket that is trying to establish the encrypted connection storedRules
see RulesStorage Enum
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:04:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:04:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.