KDELibs4Support

ksslcertchain.h
1 /* This file is part of the KDE project
2  *
3  * Copyright (C) 2001-2003 George Staikos <[email protected]>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public License
16  * along with this library; see the file COPYING.LIB. If not, write to
17  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  */
20 
21 #ifndef _KSSLCERTCHAIN_H
22 #define _KSSLCERTCHAIN_H
23 
24 #include <QList>
25 
26 class QString;
27 class KSSL;
28 class KSSLCertChainPrivate;
29 class QStringList;
30 
31 #include <ksslcertificate.h>
32 
42 class KDELIBS4SUPPORT_DEPRECATED_EXPORT KSSLCertChain
43 {
44  friend class KSSL;
45  friend class KSSLPeerInfo;
46 
47 public:
51  KSSLCertChain();
52 
56  ~KSSLCertChain();
57 
63  bool isValid();
64 
73  KSSLCertChain *replicate();
74 
79  void setChain(void *stack_of_x509);
80 
87  void setChain(const QList<KSSLCertificate *> &chain);
88 
95  void setCertChain(const QStringList &chain);
96 
104  QList<KSSLCertificate *> getChain() const;
105 
111  int depth();
112 
117  void *rawChain();
118 
119 private:
120  KSSLCertChainPrivate *const d;
121  void *_chain;
122 };
123 
124 #endif
125 
KDE Certificate Chain Representation Class.
Definition: ksslcertchain.h:42
KDE SSL Wrapper Class.
Definition: kssl.h:40
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed May 27 2020 22:55:37 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.