kio Library: ksslcertchain.h Source File (kio Library)

| # kio Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# ksslcertchain.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 _KSSLCERTCHAIN_H
    00022 #define _KSSLCERTCHAIN_H
    00023
    00024 #include <qglobal.h>
    00025 #include <qptrlist.h>
    00026 #include <kdemacros.h>
    00027
    00028 class QString;
    00029 class QCString;
    00030 class KSSL;
    00031 class KSSLCertChainPrivate;
    00032 class QStringList;
    00033
    00034 #include <ksslcertificate.h>
    00035
    00045 class KIO_EXPORT KSSLCertChain {
    00046 friend class KSSL;
    00047 friend class KSSLPeerInfo;
    00048
    00049 public:
    00053     KSSLCertChain();
    00054
    00058     ~KSSLCertChain();
    00059
    00065     bool isValid();
    00066
    00075     KSSLCertChain *replicate();
    00076
    00081     void setChain(void *stack_of_x509);
    00082
    00089     void setChain(QPtrList<KSSLCertificate>& chain);
    00090
    00098     void setChain(QStringList chain) KDE_DEPRECATED;
    00099
    00106     void setCertChain(const QStringList& chain);
    00107
    00114     QPtrList<KSSLCertificate> getChain();
    00115
    00121     int depth();
    00122
    00127     void *rawChain() { return _chain; }
    00128
    00129 private:
    00130     KSSLCertChainPrivate *d;
    00131     void *_chain;
    00132 };
    00133
    00134
    00135 #endif
    00136

This file is part of the documentation for kio Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:24:04 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003