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 
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 
 
This file is part of the documentation for kio Library Version 3.2.0.