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
#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.0.