KSSLCertChain Class Reference
KDE Certificate Chain Representation Class KDE X.509 Certificate Chain. More...
#include <ksslcertchain.h>
Public Methods | |
KSSLCertChain () | |
~KSSLCertChain () | |
bool | isValid () |
KSSLCertChain * | replicate () |
void | setChain (void *stack_of_x509) |
void | setChain (QPtrList< KSSLCertificate > &chain) |
void | setChain (QStringList chain) KDE_DEPRECATED |
void | setCertChain (const QStringList &chain) |
QPtrList< KSSLCertificate > | getChain () |
int | depth () |
void * | rawChain () |
Friends | |
class | KSSL |
class | KSSLPeerInfo |
Detailed Description
KDE Certificate Chain Representation Class KDE X.509 Certificate Chain.This class provides a representation for an X.509 certificate chain.
- Author:
- George Staikos <staikos@kde.org>
- See also:
- KSSL, KSSLCertificate, KSSLPeerInfo
Definition at line 45 of file ksslcertchain.h.
Constructor & Destructor Documentation
|
Construct a KSSLCertChain object.
Definition at line 70 of file ksslcertchain.cc. |
|
Destroy this KSSLCertChain object.
Definition at line 76 of file ksslcertchain.cc. |
Member Function Documentation
|
Determine if this represents a valid certificate chain.
Definition at line 93 of file ksslcertchain.cc. References depth(). Referenced by KSSLInfoDlg::setup(). |
|
Do a deep copy of the certificate chain.
Definition at line 98 of file ksslcertchain.cc. References getChain(), QPtrList::setAutoDelete(), and setChain(). |
|
Set the raw chain from OpenSSL.
Definition at line 159 of file ksslcertchain.cc. Referenced by Observer::messageBox(), replicate(), and setCertChain(). |
|
Set the certificate chain as a pointer list of KSSL certificates.
Definition at line 135 of file ksslcertchain.cc. References QPtrList::count(), QPtrList::first(), KSSLCertificate::getCert(), and QPtrList::next(). |
|
Set the certificate chain as a list of base64 encoded X.509 certificates.
Definition at line 190 of file ksslcertchain.cc. References setCertChain(). |
|
Set the certificate chain as a list of base64 encoded X.509 certificates.
Definition at line 194 of file ksslcertchain.cc. References QPtrList::append(), KSSLCertificate::fromString(), QPtrList::setAutoDelete(), and setChain(). Referenced by setChain(). |
|
Obtain a copy of the certificate chain.
Definition at line 116 of file ksslcertchain.cc. References QPtrList::append(), and KSSLCertificate::setCert(). Referenced by replicate(), and KSSLInfoDlg::setup(). |
|
Determine the number of entries (depth) of the chain.
Definition at line 108 of file ksslcertchain.cc. Referenced by isValid(), and KSSLInfoDlg::setup(). |
|
Read the raw chain in OpenSSL format.
Definition at line 127 of file ksslcertchain.h. Referenced by KSSLCertificate::KSSLCertificate(), and KSSLCertificate::replicate(). |
The documentation for this class was generated from the following files: