\section{KSSLCert\-Chain Class Reference}
\label{classKSSLCertChain}\index{KSSLCertChain@{KSSLCertChain}}
{\bf KDE} Certificate Chain Representation Class {\bf KDE} X.509 Certificate Chain.  


{\tt \#include $<$ksslcertchain.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KSSLCert\-Chain} ()
\item 
{\bf $\sim$KSSLCert\-Chain} ()
\item 
bool {\bf is\-Valid} ()
\item 
{\bf KSSLCert\-Chain} $\ast$ {\bf replicate} ()
\item 
void {\bf set\-Chain} (void $\ast$stack\_\-of\_\-x509)
\item 
void {\bf set\-Chain} ({\bf QPtr\-List}$<$ {\bf KSSLCertificate} $>$ \&chain)
\item 
void {\bf set\-Chain} ({\bf QString\-List} chain) KDE\_\-DEPRECATED
\item 
void {\bf set\-Cert\-Chain} (const {\bf QString\-List} \&chain)
\item 
{\bf QPtr\-List}$<$ {\bf KSSLCertificate} $>$ {\bf get\-Chain} ()
\item 
int {\bf depth} ()
\item 
void $\ast$ {\bf raw\-Chain} ()
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf KSSL}\label{classKSSLCertChain_n0}

\item 
class {\bf KSSLPeer\-Info}\label{classKSSLCertChain_n1}

\end{CompactItemize}


\subsection{Detailed Description}
{\bf KDE} Certificate Chain Representation Class {\bf KDE} X.509 Certificate Chain. 

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

\begin{Desc}
\item[Author:]George Staikos $<${\tt staikos@kde.org}$>$ \end{Desc}
\begin{Desc}
\item[See also:]{\bf KSSL}{\rm (p.\,\pageref{classKSSL})}, {\bf KSSLCertificate}{\rm (p.\,\pageref{classKSSLCertificate})}, {\bf KSSLPeer\-Info}{\rm (p.\,\pageref{classKSSLPeerInfo})} \end{Desc}




Definition at line 45 of file ksslcertchain.h.

\subsection{Constructor \& Destructor Documentation}
\index{KSSLCertChain@{KSSLCert\-Chain}!KSSLCertChain@{KSSLCertChain}}
\index{KSSLCertChain@{KSSLCertChain}!KSSLCertChain@{KSSLCert\-Chain}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KSSLCert\-Chain::KSSLCert\-Chain ()}\label{classKSSLCertChain_a0}


Construct a KSSLCert\-Chain object. 



Definition at line 70 of file ksslcertchain.cc.\index{KSSLCertChain@{KSSLCert\-Chain}!~KSSLCertChain@{$\sim$KSSLCertChain}}
\index{~KSSLCertChain@{$\sim$KSSLCertChain}!KSSLCertChain@{KSSLCert\-Chain}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KSSLCert\-Chain::$\sim${\bf KSSLCert\-Chain} ()}\label{classKSSLCertChain_a1}


Destroy this KSSLCert\-Chain object. 



Definition at line 76 of file ksslcertchain.cc.

\subsection{Member Function Documentation}
\index{KSSLCertChain@{KSSLCert\-Chain}!isValid@{isValid}}
\index{isValid@{isValid}!KSSLCertChain@{KSSLCert\-Chain}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLCert\-Chain::is\-Valid ()}\label{classKSSLCertChain_a2}


Determine if this represents a valid certificate chain. 

\begin{Desc}
\item[Returns:]true if it is a valid certificate chain\end{Desc}


Definition at line 93 of file ksslcertchain.cc.

References depth().\index{KSSLCertChain@{KSSLCert\-Chain}!replicate@{replicate}}
\index{replicate@{replicate}!KSSLCertChain@{KSSLCert\-Chain}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KSSLCert\-Chain} $\ast$ KSSLCert\-Chain::replicate ()}\label{classKSSLCertChain_a3}


Do a deep copy of the certificate chain. 

\begin{Desc}
\item[Returns:]pointer to a new certificate chain object\end{Desc}
This is an expensive operation, and you are responsible for deleting the returned object yourself.

Definition at line 98 of file ksslcertchain.cc.

References get\-Chain(), QPtr\-List::set\-Auto\-Delete(), and set\-Chain().\index{KSSLCertChain@{KSSLCert\-Chain}!setChain@{setChain}}
\index{setChain@{setChain}!KSSLCertChain@{KSSLCert\-Chain}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KSSLCert\-Chain::set\-Chain (void $\ast$ {\em stack\_\-of\_\-x509})}\label{classKSSLCertChain_a4}


Set the raw chain from Open\-SSL. 



Definition at line 159 of file ksslcertchain.cc.

Referenced by Observer::message\-Box(), replicate(), and set\-Cert\-Chain().\index{KSSLCertChain@{KSSLCert\-Chain}!setChain@{setChain}}
\index{setChain@{setChain}!KSSLCertChain@{KSSLCert\-Chain}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KSSLCert\-Chain::set\-Chain ({\bf QPtr\-List}$<$ {\bf KSSLCertificate} $>$ \& {\em chain})}\label{classKSSLCertChain_a5}


Set the certificate chain as a pointer list of {\bf KSSL}{\rm (p.\,\pageref{classKSSL})} certificates. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em chain}]the certificate chain \end{description}
\end{Desc}
\begin{Desc}
\item[See also:]{\bf KSSLCertificate}{\rm (p.\,\pageref{classKSSLCertificate})}\end{Desc}


Definition at line 135 of file ksslcertchain.cc.\index{KSSLCertChain@{KSSLCert\-Chain}!setChain@{setChain}}
\index{setChain@{setChain}!KSSLCertChain@{KSSLCert\-Chain}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KSSLCert\-Chain::set\-Chain ({\bf QString\-List} {\em chain})}\label{classKSSLCertChain_a6}


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

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em chain}]the certificate chain \end{description}
\end{Desc}
\begin{Desc}
\item[{\bf Deprecated}]\end{Desc}


Definition at line 190 of file ksslcertchain.cc.

References set\-Cert\-Chain().\index{KSSLCertChain@{KSSLCert\-Chain}!setCertChain@{setCertChain}}
\index{setCertChain@{setCertChain}!KSSLCertChain@{KSSLCert\-Chain}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KSSLCert\-Chain::set\-Cert\-Chain (const {\bf QString\-List} \& {\em chain})}\label{classKSSLCertChain_a7}


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

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em chain}]the certificate chain\end{description}
\end{Desc}


Definition at line 194 of file ksslcertchain.cc.

References QPtr\-List::append(), KSSLCertificate::from\-String(), QPtr\-List::set\-Auto\-Delete(), and set\-Chain().

Referenced by set\-Chain().\index{KSSLCertChain@{KSSLCert\-Chain}!getChain@{getChain}}
\index{getChain@{getChain}!KSSLCertChain@{KSSLCert\-Chain}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QPtr\-List}$<$ {\bf KSSLCertificate} $>$ KSSLCert\-Chain::get\-Chain ()}\label{classKSSLCertChain_a8}


Obtain a copy of the certificate chain. 

\begin{Desc}
\item[Returns:]a deep copy of the certificate chain. \end{Desc}
\begin{Desc}
\item[See also:]{\bf KSSLCertificate}{\rm (p.\,\pageref{classKSSLCertificate})}\end{Desc}


Definition at line 116 of file ksslcertchain.cc.

References QPtr\-List::append(), and KSSLCertificate::set\-Cert().

Referenced by replicate().\index{KSSLCertChain@{KSSLCert\-Chain}!depth@{depth}}
\index{depth@{depth}!KSSLCertChain@{KSSLCert\-Chain}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KSSLCert\-Chain::depth ()}\label{classKSSLCertChain_a9}


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

\begin{Desc}
\item[Returns:]the number of entries in the certificate chain\end{Desc}


Definition at line 108 of file ksslcertchain.cc.

Referenced by is\-Valid().\index{KSSLCertChain@{KSSLCert\-Chain}!rawChain@{rawChain}}
\index{rawChain@{rawChain}!KSSLCertChain@{KSSLCert\-Chain}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ KSSLCert\-Chain::raw\-Chain ()\hspace{0.3cm}{\tt  [inline]}}\label{classKSSLCertChain_a10}


Read the raw chain in Open\-SSL 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:\begin{CompactItemize}
\item 
ksslcertchain.h\item 
ksslcertchain.cc\end{CompactItemize}
