ksslkeygen.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
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
00034 class KSSLKeyGen : public KWizard {
00035 Q_OBJECT
00036
00037 public:
00038 KSSLKeyGen(QWidget *parent=0, const char *name=0, bool modal=false);
00039 virtual ~KSSLKeyGen();
00040
00041
00042 static QStringList supportedKeySizes();
00043 static int generateCSR(QString name, QString pass, int bits, int e = 0x10001);
00044
00045
00046 void setKeySize(int idx) { _idx = idx; }
00047
00048 private slots:
00049 void slotPassChanged();
00050 void slotGenerate();
00051
00052 private:
00053
00054 class KSSLKeyGenPrivate;
00055 KSSLKeyGenPrivate *d;
00056 int _idx;
00057 KGWizardPage1 *page1;
00058 KGWizardPage2 *page2;
00059
00060 protected:
00061
00062 };
00063
00064 #endif
00065
This file is part of the documentation for kdelibs Version 3.1.4.