ksslsettings.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
#ifndef _KSSLSETTINGS_H
00022
#define _KSSLSETTINGS_H
00023
00024
#include <qstring.h>
00025
#include <qvaluelist.h>
00026
#include <kconfig.h>
00027
#include <kdemacros.h>
00028
00029
class KSSLSettingsPrivate;
00030
00040 class KSSLSettings {
00041
public:
00047
KSSLSettings(
bool readConfig =
true);
00048
00052
~KSSLSettings();
00053
00058
bool sslv2()
const;
00059
00064
bool sslv3()
const;
00065
00070
bool tlsv1()
const;
00071
00076
bool warnOnEnter()
const;
00077
00084
void setWarnOnEnter(
bool x);
00085
00091
bool warnOnUnencrypted()
const;
00092
00098
void setWarnOnUnencrypted(
bool x);
00099
00104
bool warnOnLeave()
const;
00105
00112
void setWarnOnLeave(
bool x);
00113
00118
bool warnOnMixed()
const;
00119
00124
bool warnOnSelfSigned()
const KDE_DEPRECATED;
00125
00130
bool warnOnRevoked()
const KDE_DEPRECATED;
00131
00136
bool warnOnExpired()
const KDE_DEPRECATED;
00137
00142
bool useEGD()
const;
00143
00148
bool useEFile()
const;
00149
00154
void setTLSv1(
bool enabled);
00155
00160
void setSSLv2(
bool enabled);
00161
00166
void setSSLv3(
bool enabled);
00167
00173
bool autoSendX509()
const;
00174
00180
bool promptSendX509()
const;
00181
00187
QString getCipherList();
00188
00194
QString&
getEGDPath();
00195
00199
void load();
00200
00204
void defaults();
00205
00209
void save();
00210
00211
private:
00212
KConfig *m_cfg;
00213
bool m_bUseSSLv2, m_bUseSSLv3, m_bUseTLSv1;
00214
bool m_bWarnOnEnter, m_bWarnOnUnencrypted, m_bWarnOnLeave, m_bWarnOnMixed;
00215
bool m_bWarnSelfSigned, m_bWarnRevoked, m_bWarnExpired;
00216
00217
QValueList<QString> v2ciphers, v2selectedciphers, v3ciphers, v3selectedciphers;
00218
QValueList<int> v2bits, v3bits;
00219
00220 KSSLSettingsPrivate *d;
00221 };
00222
00223
00224
#endif
00225
This file is part of the documentation for kio Library Version 3.3.1.