• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIO

KSSLCertChain Class Reference

KDE Certificate Chain Representation Class. More...

#include <ksslcertchain.h>

List of all members.

Public Member Functions

int depth ()
QList< KSSLCertificate * > getChain () const
bool isValid ()
 KSSLCertChain ()
void * rawChain ()
KSSLCertChain * replicate ()
void setCertChain (const QStringList &chain)
void setChain (const QList< KSSLCertificate * > &chain)
void setChain (void *stack_of_x509)
 ~KSSLCertChain ()

Detailed Description

KDE Certificate Chain Representation Class.

This class provides a representation for an X.509 certificate chain.

Author:
George Staikos <staikos@kde.org>
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.

For internal use only.

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 ( 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.

void KSSLCertChain::setChain ( void *  stack_of_x509  ) 

Set the raw chain from OpenSSL.

For internal use only.

Definition at line 163 of file ksslcertchain.cpp.


The documentation for this class was generated from the following files:
  • ksslcertchain.h
  • ksslcertchain.cpp

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal