/* This file is part of the KDE project
*
* Copyright (C) 2001 George Staikos
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef _KSSLCERTCHAIN_H
#define _KSSLCERTCHAIN_H
#include
#if QT_VERSION < 300
#include
#else
#include
#endif
class QString;
class QCString;
class KSSL;
class KSSLCertChainPrivate;
class QStringList;
#include
class KSSLCertChain {
friend class KSSL;
friend class KSSLPeerInfo;
public:
KSSLCertChain();
~KSSLCertChain();
bool isValid();
KSSLCertChain *replicate();
void setChain(void *stack_of_x509);
#if QT_VERSION < 300
void setChain(QList& chain);
#else
void setChain(QPtrList& chain);
#endif
void setChain(QStringList chain);
#if QT_VERSION < 300
QList getChain();
#else
QPtrList getChain();
#endif
int depth();
void *rawChain() { return _chain; }
private:
KSSLCertChainPrivate *d;
void *_chain;
};
#endif
Generated by: root on sparc.ports.openbsd.org on Wed Sep 24 16:01:46 2003, using kdoc 2.0a54. |