• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/kssl
 

tdeio/kssl

  • tdeio
  • kssl
ksslsettings.h
1/* This file is part of the KDE project
2 *
3 * Copyright (C) 2000-2003 George Staikos <staikos@kde.org>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 */
20
21#ifndef _KSSLSETTINGS_H
22#define _KSSLSETTINGS_H
23
24#include <tqstring.h>
25#include <tqvaluelist.h>
26#include <tdeconfig.h>
27
28class KSSLSettingsPrivate;
29
39class TDEIO_EXPORT KSSLSettings {
40public:
46 KSSLSettings(bool readConfig = true);
47
51 ~KSSLSettings();
52
57 bool sslv2() const;
58
63 bool sslv3() const;
64
69 bool tlsv1() const;
70
75 bool warnOnEnter() const;
76
83 void setWarnOnEnter(bool x);
84
90 bool warnOnUnencrypted() const;
91
97 void setWarnOnUnencrypted(bool x);
98
103 bool warnOnLeave() const;
104
111 void setWarnOnLeave(bool x);
112
117 bool warnOnMixed() const;
118
123 bool warnOnSelfSigned() const TDE_DEPRECATED;
124
129 bool warnOnRevoked() const TDE_DEPRECATED;
130
135 bool warnOnExpired() const TDE_DEPRECATED;
136
141 bool useEGD() const;
142
147 bool useEFile() const;
148
153 void setTLSv1(bool enabled);
154
159 void setSSLv2(bool enabled);
160
165 void setSSLv3(bool enabled);
166
172 bool autoSendX509() const;
173
179 bool promptSendX509() const;
180
186 TQString getCipherList();
187
193 TQString& getEGDPath();
194
198 void load();
199
203 void defaults();
204
208 void save();
209
210private:
211 TDEConfig *m_cfg;
212 bool m_bUseSSLv2, m_bUseSSLv3, m_bUseTLSv1;
213 bool m_bWarnOnEnter, m_bWarnOnUnencrypted, m_bWarnOnLeave, m_bWarnOnMixed;
214 bool m_bWarnSelfSigned, m_bWarnRevoked, m_bWarnExpired;
215
216 TQValueList<TQString> v2ciphers, v2selectedciphers, v3ciphers, v3selectedciphers;
217 TQValueList<int> v2bits, v3bits;
218
219 KSSLSettingsPrivate *d;
220};
221
222
223#endif
224
KSSLSettings
KDE SSL Settings.
Definition: ksslsettings.h:39

tdeio/kssl

Skip menu "tdeio/kssl"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdeio/kssl

Skip menu "tdeio/kssl"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/kssl by doxygen 1.9.4
This website is maintained by Timothy Pearson.