• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kio

ksslkeygen.h

Go to the documentation of this file.
00001 /* This file is part of the KDE project
00002  *
00003  * Copyright (C) 2001 George Staikos <staikos@kde.org>
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Library General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Library General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Library General Public License
00016  * along with this library; see the file COPYING.LIB.  If not, write to
00017  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018  * Boston, MA 02110-1301, USA.
00019  */ 
00020 
00021 
00022 #ifndef _KSSLKEYGEN_H
00023 #define _KSSLKEYGEN_H
00024 
00025 #include <qstring.h>
00026 #include <qstringlist.h>
00027 #include <kwizard.h>
00028 
00029 
00030 class KOpenSSLProxy;
00031 class KGWizardPage1;
00032 class KGWizardPage2;
00033 
00044 class KIO_EXPORT KSSLKeyGen : public KWizard {
00045     Q_OBJECT
00046 public:
00053     KSSLKeyGen(QWidget *parent=0L, const char *name=0L, bool modal=false);
00054 
00058     virtual ~KSSLKeyGen();
00059 
00064     static QStringList supportedKeySizes();
00065 
00074     int generateCSR(const QString& name, const QString& pass, int bits, int e = 0x10001);
00075 
00080     void setKeySize(int idx) { _idx = idx; }
00081 
00082 private slots:
00083     void slotPassChanged();
00084     void slotGenerate();
00085 
00086 private:
00087     class KSSLKeyGenPrivate;
00088     KSSLKeyGenPrivate *d;
00089     int _idx;
00090     KGWizardPage1 *page1;
00091     KGWizardPage2 *page2;
00092 };
00093 
00094 #endif
00095 

kio

Skip menu "kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal