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

KIO

Public Member Functions | List of all members
KSSLCertChain Class Reference

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

Author
George Staikos staik.nosp@m.os@k.nosp@m.de.or.nosp@m.g
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
chainthe 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
chainthe certificate chain
See also
KSSLCertificate

Definition at line 139 of file ksslcertchain.cpp.


The documentation for this class was generated from the following files:
  • ksslcertchain.h
  • ksslcertchain.cpp
This file is part of the KDE documentation.
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.

KIO

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal