• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kio

ksslsigners.h

Go to the documentation of this file.
00001 /* This file is part of the KDE project
00002  *
00003  * Copyright (C) 2001-2003 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., 51 Franklin Street, Fifth Floor,
00018  * Boston, MA 02110-1301, USA.
00019  */
00020 
00021 
00022 #ifndef _INCLUDE_KSSLSIGNERS_H
00023 #define _INCLUDE_KSSLSIGNERS_H
00024 
00025 class KSSLCertificate;
00026 class DCOPClient;
00027 
00028 #include <qstringlist.h>
00029 
00030 #include <kdelibs_export.h>
00031 
00032 // ### KDE4 - Fix constness
00043 class KIO_EXPORT KSSLSigners {
00044 public:
00048     KSSLSigners();
00049 
00053     ~KSSLSigners();
00054 
00064     bool addCA(KSSLCertificate& cert, bool ssl, bool email, bool code);
00065 
00075     bool addCA(QString cert, bool ssl, bool email, bool code); 
00076 
00081     bool regenerate();
00082 
00088     bool useForSSL(KSSLCertificate& cert);
00089 
00095     bool useForSSL(QString subject);
00096 
00102     bool useForEmail(KSSLCertificate& cert);
00103 
00109     bool useForEmail(QString subject);
00110 
00116     bool useForCode(KSSLCertificate& cert);
00117 
00123     bool useForCode(QString subject);
00124 
00130     bool remove(KSSLCertificate& cert);
00131 
00137     bool remove(QString subject);
00138 
00144     QStringList list();
00145 
00152     QString getCert(QString subject);
00153 
00162     bool setUse(QString subject, bool ssl, bool email, bool code);
00163 
00164 private:
00165     class KSSLSignersPrivate;
00166     KSSLSignersPrivate *d;
00167 
00168     DCOPClient *dcc;
00169 };
00170 
00171 
00172 #endif

kio

Skip menu "kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal