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 #ifndef _KSSLX509V3_H 00022 #define _KSSLX509V3_H 00023 00024 #include <qstring.h> 00025 00026 00027 class KSSLX509V3 { 00028 friend class KSSLCertificate; 00029 friend class KSSLCertificatePrivate; 00030 public: 00031 ~KSSLX509V3(); 00032 00033 bool certTypeCA(); 00034 bool certTypeSSLCA(); 00035 bool certTypeEmailCA(); 00036 bool certTypeCodeCA(); 00037 bool certTypeSSLClient(); 00038 bool certTypeSSLServer(); 00039 bool certTypeNSSSLServer(); 00040 bool certTypeSMIME(); 00041 bool certTypeSMIMEEncrypt(); 00042 bool certTypeSMIMESign(); 00043 bool certTypeCRLSign(); 00044 00045 private: 00046 class KSSLX509V3Private; 00047 KSSLX509V3Private *d; 00048 00049 protected: 00050 KSSLX509V3(); 00051 long flags; // warning: this is only valid for up to 16 flags + 16 CA. 00052 }; 00053 00054 #endif
1.2.18