home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / ksslcertificatefactory.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-10-10  |  1.4 KB  |  51 lines

  1. /* This file is part of the KDE project
  2.  *
  3.  * Copyright (C) 2000 George Staikos <staikos@kde.org>
  4.  *
  5.  * This library is free software; you can redistribute it and/or
  6.  * modify it under the terms of the GNU Library General Public
  7.  * License as published by the Free Software Foundation; either
  8.  * version 2 of the License, or (at your option) any later version.
  9.  *
  10.  * This library is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.  * Library General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU Library General Public License
  16.  * along with this library; see the file COPYING.LIB.  If not, write to
  17.  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  18.  * Boston, MA 02110-1301, USA.
  19.  */ 
  20.  
  21. // WARNING: THIS CODE IS INCOMPLETE AND MAY CHANGE WITHOUT NOTICE
  22.  
  23. #ifndef _KSSLCERTIFICATEFACTORY_H
  24. #define _KSSLCERTIFICATEFACTORY_H
  25.  
  26. #include <kdelibs_export.h>
  27.  
  28. class KSSLCertificate;
  29.  
  30. typedef enum {KEYTYPE_UNKNOWN, KEYTYPE_RSA, KEYTYPE_DSA} KSSLKeyType;
  31.  
  32. class KIO_EXPORT KSSLCertificateFactory {
  33.  
  34. public:
  35.  
  36.   static KSSLCertificate* generateSelfSigned(KSSLKeyType keytype);
  37.   //  static KSSLCertificate* generateSigned();
  38.   //  static bool generateRequest();
  39.  
  40. private:
  41.  
  42.   class KSSLCertificateFactoryPrivate;
  43.   KSSLCertificateFactoryPrivate *d;
  44.  
  45. protected:
  46.  
  47. };
  48.  
  49. #endif
  50.  
  51.