kio Library API Documentation

ksslx509v3.h

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., 59 Temple Place - Suite 330,
00018  * Boston, MA 02111-1307, USA.
00019  */
00020  
00021 #ifndef _KSSLX509V3_H
00022 #define _KSSLX509V3_H
00023 
00024 #include <qstring.h>
00025 
00026 
00027 // ### KDE4: fix constness of methods
00037 class KSSLX509V3 {
00038 friend class KSSLCertificate;
00039 friend class KSSLCertificatePrivate;
00040 public:
00044     ~KSSLX509V3();
00045 
00050     bool certTypeCA();
00051 
00056     bool certTypeSSLCA();
00057 
00062     bool certTypeEmailCA();
00063 
00068     bool certTypeCodeCA();
00069 
00074     bool certTypeSSLClient();
00075 
00080     bool certTypeSSLServer();
00081 
00086     bool certTypeNSSSLServer();
00087 
00092     bool certTypeSMIME();
00093 
00098     bool certTypeSMIMEEncrypt();
00099 
00104     bool certTypeSMIMESign();
00105 
00110     bool certTypeCRLSign();
00111 
00112 private:
00113     class KSSLX509V3Private;
00114     KSSLX509V3Private *d;
00115 
00116 protected:
00117     KSSLX509V3();
00118     long flags;  // warning: this is only valid for up to 16 flags + 16 CA.
00119 };
00120 
00121 #endif
KDE Logo
This file is part of the documentation for kio Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Sep 23 17:12:24 2004 by doxygen 1.3.8-20040913 written by Dimitri van Heesch, © 1997-2003