ksslsettings.h
/* This file is part of the KDE project
*
* Copyright (C) 2000-2003 George Staikos <staikos@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef _KSSLSETTINGS_H
#define _KSSLSETTINGS_H
#include <qstring.h>
#include <qvaluelist.h>
#include <kconfig.h>
class KSSLSettingsPrivate;
class KIO_EXPORT KSSLSettings {
public:
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 KDE_DEPRECATED;
bool warnOnRevoked() const KDE_DEPRECATED;
bool warnOnExpired() const KDE_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;
QString getCipherList();
QString& getEGDPath();
void load();
void defaults();
void save();
private:
KConfig *m_cfg;
bool m_bUseSSLv2, m_bUseSSLv3, m_bUseTLSv1;
bool m_bWarnOnEnter, m_bWarnOnUnencrypted, m_bWarnOnLeave, m_bWarnOnMixed;
bool m_bWarnSelfSigned, m_bWarnRevoked, m_bWarnExpired;
QValueList<QString> v2ciphers, v2selectedciphers, v3ciphers, v3selectedciphers;
QValueList<int> v2bits, v3bits;
KSSLSettingsPrivate *d;
};
#endif
KSSLSettings
KDE SSL Settings.
Definition: ksslsettings.h:39

KDE Home | KDE Accessibility Home | Description of Access Keys