ksslcertchain.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef _KSSLCERTCHAIN_H
00022 #define _KSSLCERTCHAIN_H
00023
00024 #include <qglobal.h>
00025 #if QT_VERSION < 300
00026 #include <qlist.h>
00027 #else
00028 #include <qptrlist.h>
00029 #endif
00030
00031 class QString;
00032 class QCString;
00033 class KSSL;
00034 class KSSLCertChainPrivate;
00035 class QStringList;
00036
00037 #include <ksslcertificate.h>
00038
00039 class KSSLCertChain {
00040 friend class KSSL;
00041 friend class KSSLPeerInfo;
00042
00043 public:
00044 KSSLCertChain();
00045 ~KSSLCertChain();
00046
00047 bool isValid();
00048
00049 KSSLCertChain *replicate();
00050 void setChain(void *stack_of_x509);
00051 #if QT_VERSION < 300
00052 void setChain(QList<KSSLCertificate>& chain);
00053 #else
00054 void setChain(QPtrList<KSSLCertificate>& chain);
00055 #endif
00056 void setChain(QStringList chain);
00057 #if QT_VERSION < 300
00058 QList<KSSLCertificate> getChain();
00059 #else
00060 QPtrList<KSSLCertificate> getChain();
00061 #endif
00062 int depth();
00063 void *rawChain() { return _chain; }
00064
00065
00066 private:
00067 KSSLCertChainPrivate *d;
00068 void *_chain;
00069 };
00070
00071
00072 #endif
00073
This file is part of the documentation for kdelibs Version 3.1.5.