kio Library API Documentation

ksslkeygen.h

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., 59 Temple Place - Suite 330, 00018 * Boston, MA 02111-1307, 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 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 static int generateCSR(QString name, 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
KDE Logo
This file is part of the documentation for kio Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 16 17:22:31 2005 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003