KIO
ksslx509v3.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 #ifndef _KSSLX509V3_H 00022 #define _KSSLX509V3_H 00023 00024 #include <QtCore/QString> 00025 00026 #include <kio/kio_export.h> 00027 00037 class KIO_EXPORT KSSLX509V3 { 00038 friend class KSSLCertificate; 00039 friend class KSSLCertificatePrivate; 00040 public: 00044 ~KSSLX509V3(); 00045 00050 bool certTypeCA() const; 00051 00056 bool certTypeSSLCA() const; 00057 00062 bool certTypeEmailCA() const; 00063 00068 bool certTypeCodeCA() const; 00069 00074 bool certTypeSSLClient() const; 00075 00080 bool certTypeSSLServer() const; 00081 00086 bool certTypeNSSSLServer() const; 00087 00092 bool certTypeSMIME() const; 00093 00098 bool certTypeSMIMEEncrypt() const; 00099 00104 bool certTypeSMIMESign() const; 00105 00110 bool certTypeCRLSign() const; 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 4.6 API Reference