KSSLSettings
#include <ksslsettings.h>
Public Member Functions | |
KSSLSettings (bool readConfig=true) | |
KSSLSettings (const KSSLSettings &)=delete | |
~KSSLSettings () | |
bool | autoSendX509 () const |
void | defaults () |
QString | getCipherList () |
QString & | getEGDPath () |
void | load () |
KSSLSettings & | operator= (const KSSLSettings &)=delete |
bool | promptSendX509 () const |
void | save () |
void | setWarnOnEnter (bool x) |
void | setWarnOnLeave (bool x) |
void | setWarnOnUnencrypted (bool x) |
bool | useEFile () const |
bool | useEGD () const |
bool | warnOnEnter () const |
bool | warnOnLeave () const |
bool | warnOnMixed () const |
bool | warnOnUnencrypted () const |
Detailed Description
This class contains some of the SSL settings for easy use.
- See also
- KSSL
Definition at line 30 of file ksslsettings.h.
Constructor & Destructor Documentation
◆ KSSLSettings()
KSSLSettings::KSSLSettings | ( | bool | readConfig = true | ) |
Construct a KSSL Settings object.
- Parameters
-
readConfig read in the configuration immediately if true
Definition at line 77 of file ksslsettings.cpp.
◆ ~KSSLSettings()
KSSLSettings::~KSSLSettings | ( | ) |
Destroy this KSSL Settings object.
Definition at line 88 of file ksslsettings.cpp.
Member Function Documentation
◆ autoSendX509()
bool KSSLSettings::autoSendX509 | ( | ) | const |
Does the user want X.509 client certificates to always be sent when possible?
- Returns
- true if the user always wants a certificate sent
Definition at line 198 of file ksslsettings.cpp.
◆ defaults()
void KSSLSettings::defaults | ( | ) |
Revert to default settings.
Definition at line 126 of file ksslsettings.cpp.
◆ getCipherList()
QString KSSLSettings::getCipherList | ( | ) |
Get the OpenSSL cipher list for selecting the list of ciphers to use in a connection.
- Returns
- the cipher list
Definition at line 93 of file ksslsettings.cpp.
◆ getEGDPath()
QString & KSSLSettings::getEGDPath | ( | ) |
Get the configured path to the entropy gathering daemon or entropy file.
- Returns
- the path
Definition at line 206 of file ksslsettings.cpp.
◆ load()
void KSSLSettings::load | ( | ) |
Load the user's settings.
Definition at line 101 of file ksslsettings.cpp.
◆ promptSendX509()
bool KSSLSettings::promptSendX509 | ( | ) | const |
Does the user want to be prompted to send X.509 client certificates when possible?
- Returns
- true if the user wants to be prompted
Definition at line 202 of file ksslsettings.cpp.
◆ save()
void KSSLSettings::save | ( | ) |
Save the current settings.
Definition at line 140 of file ksslsettings.cpp.
◆ setWarnOnEnter()
void KSSLSettings::setWarnOnEnter | ( | bool | x | ) |
Change the user's warnOnEnter() setting.
- Parameters
-
x true if the user is to be warned
- See also
- warnOnEnter
Definition at line 166 of file ksslsettings.cpp.
◆ setWarnOnLeave()
void KSSLSettings::setWarnOnLeave | ( | bool | x | ) |
Change the user's warnOnLeave() setting.
- Parameters
-
x true if the user is to be warned
- See also
- warnOnLeave
Definition at line 182 of file ksslsettings.cpp.
◆ setWarnOnUnencrypted()
void KSSLSettings::setWarnOnUnencrypted | ( | bool | x | ) |
Change the user's warnOnUnencrypted() setting.
- Parameters
-
x true if the user is to be warned
- See also
- warnOnUnencrypted
Definition at line 174 of file ksslsettings.cpp.
◆ useEFile()
bool KSSLSettings::useEFile | ( | ) | const |
Does the user want to use an entropy file?
- Returns
- true if the user wants to use an entropy file
Definition at line 194 of file ksslsettings.cpp.
◆ useEGD()
bool KSSLSettings::useEGD | ( | ) | const |
Does the user want to use the Entropy Gathering Daemon?
- Returns
- true if the user wants to use EGD
Definition at line 190 of file ksslsettings.cpp.
◆ warnOnEnter()
bool KSSLSettings::warnOnEnter | ( | ) | const |
Does the user want to be warned on entering SSL mode.
- Returns
- true if the user wants to be warned
Definition at line 162 of file ksslsettings.cpp.
◆ warnOnLeave()
bool KSSLSettings::warnOnLeave | ( | ) | const |
Does the user want to be warned on leaving SSL mode.
- Returns
- true if the user wants to be warned
Definition at line 178 of file ksslsettings.cpp.
◆ warnOnMixed()
bool KSSLSettings::warnOnMixed | ( | ) | const |
Does the user want to be warned during mixed SSL/non-SSL mode.
- Returns
- true if the user wants to be warned
Definition at line 186 of file ksslsettings.cpp.
◆ warnOnUnencrypted()
bool KSSLSettings::warnOnUnencrypted | ( | ) | const |
Does the user want to be warned on sending unencrypted data.
- Returns
- true if the user wants to be warned
- See also
- setWarnOnUnencrypted
Definition at line 170 of file ksslsettings.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 23 2023 03:52:07 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.