KIO
ksslcertchain.h
Go to the documentation of this file.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 <QtCore/QList>
00025 #include <kdemacros.h>
00026
00027 class QString;
00028 class KSSL;
00029 class KSSLCertChainPrivate;
00030 class QStringList;
00031
00032 #include <ksslcertificate.h>
00033
00043 class KIO_EXPORT KSSLCertChain {
00044 friend class KSSL;
00045 friend class KSSLPeerInfo;
00046
00047 public:
00051 KSSLCertChain();
00052
00056 ~KSSLCertChain();
00057
00063 bool isValid();
00064
00073 KSSLCertChain *replicate();
00074
00079 void setChain(void *stack_of_x509);
00080
00087 void setChain(const QList<KSSLCertificate *>& chain);
00088
00095 void setCertChain(const QStringList& chain);
00096
00104 QList<KSSLCertificate *> getChain() const;
00105
00111 int depth();
00112
00117 void *rawChain();
00118
00119 private:
00120 KSSLCertChainPrivate* const d;
00121 void *_chain;
00122 };
00123
00124
00125 #endif
00126