ksslkeygen.h Source File (kio Library)

| # kio Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# 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
    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         // Static methods for various tasks
    00042         static QStringList supportedKeySizes();
    00043         static int generateCSR(QString name, QString pass, int bits, int e = 0x10001);
    00044
    00045         // this is an index into supportedKeySizes();
    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.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:14:26 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001