• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/kssl
 

tdeio/kssl

Public Member Functions | Friends | List of all members
KSSLCertChain Class Reference

#include <ksslcertchain.h>

Public Member Functions

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

Friends

class KSSL
 
class KSSLPeerInfo
 

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 45 of file ksslcertchain.h.

Constructor & Destructor Documentation

◆ KSSLCertChain()

KSSLCertChain::KSSLCertChain ( )

Construct a KSSLCertChain object.

Definition at line 59 of file ksslcertchain.cpp.

◆ ~KSSLCertChain()

KSSLCertChain::~KSSLCertChain ( )

Destroy this KSSLCertChain object.

Definition at line 65 of file ksslcertchain.cpp.

Member Function Documentation

◆ depth()

int KSSLCertChain::depth ( )

Determine the number of entries (depth) of the chain.

Returns
the number of entries in the certificate chain

Definition at line 97 of file ksslcertchain.cpp.

◆ getChain()

TQPtrList< KSSLCertificate > KSSLCertChain::getChain ( )

Obtain a copy of the certificate chain.

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

Definition at line 105 of file ksslcertchain.cpp.

◆ isValid()

bool KSSLCertChain::isValid ( )

Determine if this represents a valid certificate chain.

Returns
true if it is a valid certificate chain

Definition at line 82 of file ksslcertchain.cpp.

◆ rawChain()

void * KSSLCertChain::rawChain ( )
inline

Read the raw chain in OpenSSL format.

Definition at line 127 of file ksslcertchain.h.

◆ replicate()

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 87 of file ksslcertchain.cpp.

◆ setCertChain()

void KSSLCertChain::setCertChain ( const TQStringList &  chain)

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

Parameters
chainthe certificate chain

Definition at line 183 of file ksslcertchain.cpp.

◆ setChain() [1/3]

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

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

Parameters
chainthe certificate chain
See also
KSSLCertificate

Definition at line 124 of file ksslcertchain.cpp.

◆ setChain() [2/3]

void KSSLCertChain::setChain ( TQStringList  chain)

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

Parameters
chainthe certificate chain
Deprecated:

Definition at line 179 of file ksslcertchain.cpp.

◆ setChain() [3/3]

void KSSLCertChain::setChain ( void *  stack_of_x509)

Set the raw chain from OpenSSL.

Definition at line 148 of file ksslcertchain.cpp.

Friends And Related Function Documentation

◆ KSSL

friend class KSSL
friend

Definition at line 46 of file ksslcertchain.h.

◆ KSSLPeerInfo

friend class KSSLPeerInfo
friend

Definition at line 47 of file ksslcertchain.h.


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

tdeio/kssl

Skip menu "tdeio/kssl"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdeio/kssl

Skip menu "tdeio/kssl"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/kssl by doxygen 1.9.4
This website is maintained by Timothy Pearson.