KIO
#include <ksslcertchain.h>
Public Member Functions | |
KSSLCertChain () | |
~KSSLCertChain () | |
int | depth () |
QList< KSSLCertificate * > | getChain () const |
bool | isValid () |
void * | rawChain () |
KSSLCertChain * | replicate () |
void | setCertChain (const QStringList &chain) |
void | setChain (void *stack_of_x509) |
void | setChain (const QList< KSSLCertificate * > &chain) |
Detailed Description
KDE Certificate Chain Representation Class.
This class provides a representation for an X.509 certificate chain.
- See also
- KSSL, KSSLCertificate, KSSLPeerInfo KDE X.509 Certificate Chain
Definition at line 43 of file ksslcertchain.h.
Constructor & Destructor Documentation
KSSLCertChain::KSSLCertChain | ( | ) |
Construct a KSSLCertChain object.
Definition at line 69 of file ksslcertchain.cpp.
KSSLCertChain::~KSSLCertChain | ( | ) |
Destroy this KSSLCertChain object.
Definition at line 76 of file ksslcertchain.cpp.
Member Function Documentation
int KSSLCertChain::depth | ( | ) |
Determine the number of entries (depth) of the chain.
- Returns
- the number of entries in the certificate chain
Definition at line 107 of file ksslcertchain.cpp.
QList< KSSLCertificate * > KSSLCertChain::getChain | ( | ) | const |
Obtain a copy of the certificate chain.
The caller is responsible for deleting all certificates in the chain.
- Returns
- a deep copy of the certificate chain.
- See also
- KSSLCertificate
Definition at line 120 of file ksslcertchain.cpp.
bool KSSLCertChain::isValid | ( | ) |
Determine if this represents a valid certificate chain.
- Returns
- true if it is a valid certificate chain
Definition at line 93 of file ksslcertchain.cpp.
void * KSSLCertChain::rawChain | ( | ) |
Read the raw chain in OpenSSL format.
Definition at line 114 of file ksslcertchain.cpp.
KSSLCertChain * KSSLCertChain::replicate | ( | ) |
Do a deep copy of the certificate chain.
- Returns
- pointer to a new certificate chain object
This is an expensive operation, and you are responsible for deleting the returned object yourself.
Definition at line 98 of file ksslcertchain.cpp.
void KSSLCertChain::setCertChain | ( | const QStringList & | chain | ) |
Set the certificate chain as a list of base64 encoded X.509 certificates.
- Parameters
-
chain the certificate chain
Definition at line 194 of file ksslcertchain.cpp.
void KSSLCertChain::setChain | ( | void * | stack_of_x509 | ) |
Set the raw chain from OpenSSL.
Definition at line 163 of file ksslcertchain.cpp.
void KSSLCertChain::setChain | ( | const QList< KSSLCertificate * > & | chain | ) |
Set the certificate chain as a pointer list of KSSL certificates.
- Parameters
-
chain the certificate chain
- See also
- KSSLCertificate
Definition at line 139 of file ksslcertchain.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.