#include <ksslsettings.h>
Public Member Functions | |
KSSLSettings (bool readConfig=true) | |
~KSSLSettings () | |
bool | sslv2 () const |
bool | sslv3 () const |
bool | tlsv1 () const |
bool | warnOnEnter () const |
void | setWarnOnEnter (bool x) |
bool | warnOnUnencrypted () const |
void | setWarnOnUnencrypted (bool x) |
bool | warnOnLeave () const |
void | setWarnOnLeave (bool x) |
bool | warnOnMixed () const |
bool | warnOnSelfSigned () const TDE_DEPRECATED |
bool | warnOnRevoked () const TDE_DEPRECATED |
bool | warnOnExpired () const TDE_DEPRECATED |
bool | useEGD () const |
bool | useEFile () const |
void | setTLSv1 (bool enabled) |
void | setSSLv2 (bool enabled) |
void | setSSLv3 (bool enabled) |
bool | autoSendX509 () const |
bool | promptSendX509 () const |
TQString | getCipherList () |
TQString & | getEGDPath () |
void | load () |
void | defaults () |
void | save () |
Detailed Description
KDE SSL Settings.
This class contains some of the SSL settings for easy use.
- See also
- KSSL
KDE SSL Settings
Definition at line 39 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 87 of file ksslsettings.cpp.
◆ ~KSSLSettings()
KSSLSettings::~KSSLSettings | ( | ) |
Destroy this KSSL Settings object.
Definition at line 100 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 336 of file ksslsettings.cpp.
◆ defaults()
void KSSLSettings::defaults | ( | ) |
Revert to default settings.
Definition at line 248 of file ksslsettings.cpp.
◆ getCipherList()
TQString 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 124 of file ksslsettings.cpp.
◆ getEGDPath()
TQString & KSSLSettings::getEGDPath | ( | ) |
Get the configured path to the entropy gathering daemon or entropy file.
- Returns
- the path
Definition at line 343 of file ksslsettings.cpp.
◆ load()
void KSSLSettings::load | ( | ) |
Load the user's settings.
Definition at line 200 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 337 of file ksslsettings.cpp.
◆ save()
void KSSLSettings::save | ( | ) |
Save the current settings.
Definition at line 265 of file ksslsettings.cpp.
◆ setSSLv2()
void KSSLSettings::setSSLv2 | ( | bool | enabled | ) |
Change the user's SSLv2 preference.
- Parameters
-
enabled true if SSLv2 is enabled
Definition at line 340 of file ksslsettings.cpp.
◆ setSSLv3()
void KSSLSettings::setSSLv3 | ( | bool | enabled | ) |
Change the user's SSLv3 preference.
- Parameters
-
enabled true if SSLv3 is enabled
Definition at line 341 of file ksslsettings.cpp.
◆ setTLSv1()
void KSSLSettings::setTLSv1 | ( | bool | enabled | ) |
Change the user's TLSv1 preference.
- Parameters
-
enabled true if TLSv1 is enabled
Definition at line 339 of file ksslsettings.cpp.
◆ setWarnOnEnter()
void KSSLSettings::setWarnOnEnter | ( | bool | x | ) |
Change the user's warnOnEnter() setting.
- Since
- 3.3
- Parameters
-
x true if the user is to be warned
- See also
- warnOnEnter
Definition at line 325 of file ksslsettings.cpp.
◆ setWarnOnLeave()
void KSSLSettings::setWarnOnLeave | ( | bool | x | ) |
Change the user's warnOnLeave() setting.
- Since
- 3.3
- Parameters
-
x true if the user is to be warned
- See also
- warnOnLeave
Definition at line 329 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 327 of file ksslsettings.cpp.
◆ sslv2()
bool KSSLSettings::sslv2 | ( | ) | const |
Does the user allow SSLv2.
- Returns
- true if the user allows SSLv2
Definition at line 106 of file ksslsettings.cpp.
◆ sslv3()
bool KSSLSettings::sslv3 | ( | ) | const |
Does the user allow SSLv3.
- Returns
- true if the user allows SSLv3
Definition at line 111 of file ksslsettings.cpp.
◆ tlsv1()
bool KSSLSettings::tlsv1 | ( | ) | const |
Does the user allow TLSv1.
- Returns
- true if the user allows TLSv1
Definition at line 116 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 335 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 334 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 324 of file ksslsettings.cpp.
◆ warnOnExpired()
bool KSSLSettings::warnOnExpired | ( | ) | const |
◆ 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 328 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 330 of file ksslsettings.cpp.
◆ warnOnRevoked()
bool KSSLSettings::warnOnRevoked | ( | ) | const |
◆ warnOnSelfSigned()
bool KSSLSettings::warnOnSelfSigned | ( | ) | const |
◆ 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 326 of file ksslsettings.cpp.
The documentation for this class was generated from the following files: