• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • 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 ()
QPtrList< KSSLCertificate > getChain ()
bool isValid ()
 KSSLCertChain ()
void * rawChain ()
KSSLCertChain * replicate ()
void setCertChain (const QStringList &chain)
void setChain (QStringList chain) KDE_DEPRECATED
void setChain (QPtrList< 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 45 of file ksslcertchain.h.


Constructor & Destructor Documentation

KSSLCertChain::KSSLCertChain (  ) 

Construct a KSSLCertChain object.

Definition at line 70 of file ksslcertchain.cc.

KSSLCertChain::~KSSLCertChain (  ) 

Destroy this KSSLCertChain object.

Definition at line 76 of file ksslcertchain.cc.


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 108 of file ksslcertchain.cc.

QPtrList< KSSLCertificate > KSSLCertChain::getChain (  ) 

Obtain a copy of the certificate chain.

Returns:
a deep copy of the certificate chain.
See also:
KSSLCertificate

Definition at line 116 of file ksslcertchain.cc.

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

void* KSSLCertChain::rawChain (  )  [inline]

Read the raw chain in OpenSSL format.

For internal use only.

Definition at line 127 of file ksslcertchain.h.

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

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

void KSSLCertChain::setChain ( QStringList  chain  ) 

Set the certificate chain as a list of base64 encoded X.509 certificates.

Parameters:
chain the certificate chain
Deprecated:

Definition at line 190 of file ksslcertchain.cc.

void KSSLCertChain::setChain ( QPtrList< KSSLCertificate > &  chain  ) 

Set the certificate chain as a pointer list of KSSL certificates.

Parameters:
chain the certificate chain
See also:
KSSLCertificate

Definition at line 135 of file ksslcertchain.cc.

void KSSLCertChain::setChain ( void *  stack_of_x509  ) 

Set the raw chain from OpenSSL.

For internal use only.

Definition at line 159 of file ksslcertchain.cc.


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

kio

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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