\section{KSSLSigners Class Reference}
\label{classKSSLSigners}\index{KSSLSigners@{KSSLSigners}}
{\bf KDE} SSL Signer Database {\bf KDE} SSL Signer Database.  


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

Collaboration diagram for KSSLSigners:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=55pt]{classKSSLSigners__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KSSLSigners} ()
\item 
{\bf $\sim$KSSLSigners} ()
\item 
bool {\bf add\-CA} ({\bf KSSLCertificate} \&cert, bool ssl, bool email, bool code)
\item 
bool {\bf add\-CA} ({\bf QString} cert, bool ssl, bool email, bool code)
\item 
bool {\bf regenerate} ()
\item 
bool {\bf use\-For\-SSL} ({\bf KSSLCertificate} \&cert)
\item 
bool {\bf use\-For\-SSL} ({\bf QString} subject)
\item 
bool {\bf use\-For\-Email} ({\bf KSSLCertificate} \&cert)
\item 
bool {\bf use\-For\-Email} ({\bf QString} subject)
\item 
bool {\bf use\-For\-Code} ({\bf KSSLCertificate} \&cert)
\item 
bool {\bf use\-For\-Code} ({\bf QString} subject)
\item 
bool {\bf remove} ({\bf KSSLCertificate} \&cert)
\item 
bool {\bf remove} ({\bf QString} subject)
\item 
{\bf QString\-List} {\bf list} ()
\item 
{\bf QString} {\bf get\-Cert} ({\bf QString} subject)
\item 
bool {\bf set\-Use} ({\bf QString} subject, bool ssl, bool email, bool code)
\end{CompactItemize}


\subsection{Detailed Description}
{\bf KDE} SSL Signer Database {\bf KDE} SSL Signer Database. 

This class is used to manipulate the {\bf KDE} SSL signer database. It communicates to the {\bf KDE} SSL daemon via dcop for backend integration.

\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})} \end{Desc}




Definition at line 43 of file ksslsigners.h.

\subsection{Constructor \& Destructor Documentation}
\index{KSSLSigners@{KSSLSigners}!KSSLSigners@{KSSLSigners}}
\index{KSSLSigners@{KSSLSigners}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KSSLSigners::KSSLSigners ()}\label{classKSSLSigners_a0}


Construct a KSSLSigner object. 



Definition at line 32 of file ksslsigners.cc.

References DCOPClient::attach().\index{KSSLSigners@{KSSLSigners}!~KSSLSigners@{$\sim$KSSLSigners}}
\index{~KSSLSigners@{$\sim$KSSLSigners}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KSSLSigners::$\sim${\bf KSSLSigners} ()}\label{classKSSLSigners_a1}


Destroy this KSSLSigner object. 



Definition at line 38 of file ksslsigners.cc.

\subsection{Member Function Documentation}
\index{KSSLSigners@{KSSLSigners}!addCA@{addCA}}
\index{addCA@{addCA}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLSigners::add\-CA ({\bf KSSLCertificate} \& {\em cert}, bool {\em ssl}, bool {\em email}, bool {\em code})}\label{classKSSLSigners_a2}


Add a signer to the database. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cert}]the signer's certificate \item[{\em ssl}]allow it to sign for SSL \item[{\em email}]allow it to sign for S/MIME \item[{\em code}]allow it to sign for code signing \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true on success\end{Desc}


Definition at line 42 of file ksslsigners.cc.\index{KSSLSigners@{KSSLSigners}!addCA@{addCA}}
\index{addCA@{addCA}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLSigners::add\-CA ({\bf QString} {\em cert}, bool {\em ssl}, bool {\em email}, bool {\em code})}\label{classKSSLSigners_a3}


Add a signer to the database. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cert}]the signer's certificate in base64 form \item[{\em ssl}]allow it to sign for SSL \item[{\em email}]allow it to sign for S/MIME \item[{\em code}]allow it to sign for code signing \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true on success\end{Desc}


Definition at line 50 of file ksslsigners.cc.

References DCOPClient::call().\index{KSSLSigners@{KSSLSigners}!regenerate@{regenerate}}
\index{regenerate@{regenerate}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLSigners::regenerate ()}\label{classKSSLSigners_a4}


Regenerate the signer-root file from the user's settings. 

\begin{Desc}
\item[Returns:]true on success\end{Desc}


Definition at line 74 of file ksslsigners.cc.

References DCOPClient::call().\index{KSSLSigners@{KSSLSigners}!useForSSL@{useForSSL}}
\index{useForSSL@{useForSSL}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLSigners::use\-For\-SSL ({\bf KSSLCertificate} \& {\em cert})}\label{classKSSLSigners_a5}


Determine if a certificate can be used for SSL certificate signing. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cert}]the certificate \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if it can be used for SSL\end{Desc}


Definition at line 93 of file ksslsigners.cc.\index{KSSLSigners@{KSSLSigners}!useForSSL@{useForSSL}}
\index{useForSSL@{useForSSL}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLSigners::use\-For\-SSL ({\bf QString} {\em subject})}\label{classKSSLSigners_a6}


Determine if a certificate can be used for SSL certificate signing. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em subject}]the certificate subject \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if it can be used for SSL\end{Desc}


Definition at line 98 of file ksslsigners.cc.

References DCOPClient::call().\index{KSSLSigners@{KSSLSigners}!useForEmail@{useForEmail}}
\index{useForEmail@{useForEmail}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLSigners::use\-For\-Email ({\bf KSSLCertificate} \& {\em cert})}\label{classKSSLSigners_a7}


Determine if a certificate can be used for S/MIME certificate signing. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cert}]the certificate \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if it can be used for S/MIME\end{Desc}


Definition at line 118 of file ksslsigners.cc.\index{KSSLSigners@{KSSLSigners}!useForEmail@{useForEmail}}
\index{useForEmail@{useForEmail}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLSigners::use\-For\-Email ({\bf QString} {\em subject})}\label{classKSSLSigners_a8}


Determine if a certificate can be used for S/MIME certificate signing. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em subject}]the certificate subject \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if it can be used for S/MIME\end{Desc}


Definition at line 123 of file ksslsigners.cc.

References DCOPClient::call().\index{KSSLSigners@{KSSLSigners}!useForCode@{useForCode}}
\index{useForCode@{useForCode}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLSigners::use\-For\-Code ({\bf KSSLCertificate} \& {\em cert})}\label{classKSSLSigners_a9}


Determine if a certificate can be used for code certificate signing. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cert}]the certificate \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if it can be used for code\end{Desc}


Definition at line 143 of file ksslsigners.cc.\index{KSSLSigners@{KSSLSigners}!useForCode@{useForCode}}
\index{useForCode@{useForCode}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLSigners::use\-For\-Code ({\bf QString} {\em subject})}\label{classKSSLSigners_a10}


Determine if a certificate can be used for code certificate signing. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em subject}]the certificate subject \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if it can be used for code\end{Desc}


Definition at line 148 of file ksslsigners.cc.

References DCOPClient::call().\index{KSSLSigners@{KSSLSigners}!remove@{remove}}
\index{remove@{remove}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLSigners::remove ({\bf KSSLCertificate} \& {\em cert})}\label{classKSSLSigners_a11}


Remove a certificate signer from the database. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cert}]the certificate to remove \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true on success\end{Desc}


Definition at line 168 of file ksslsigners.cc.\index{KSSLSigners@{KSSLSigners}!remove@{remove}}
\index{remove@{remove}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLSigners::remove ({\bf QString} {\em subject})}\label{classKSSLSigners_a12}


Remove a certificate signer from the database. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em subject}]the subject of the certificate to remove \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true on success\end{Desc}


Definition at line 173 of file ksslsigners.cc.

References DCOPClient::call().\index{KSSLSigners@{KSSLSigners}!list@{list}}
\index{list@{list}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString\-List} KSSLSigners::list ()}\label{classKSSLSigners_a13}


List the signers in the database. 

\begin{Desc}
\item[Returns:]the list of subjects in the database \end{Desc}
\begin{Desc}
\item[See also:]{\bf get\-Cert}{\rm (p.\,\pageref{classKSSLSigners_a14})}\end{Desc}


Definition at line 193 of file ksslsigners.cc.

References DCOPClient::call().\index{KSSLSigners@{KSSLSigners}!getCert@{getCert}}
\index{getCert@{getCert}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KSSLSigners::get\-Cert ({\bf QString} {\em subject})}\label{classKSSLSigners_a14}


Get a signer certificate from the database. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em subject}]the subject of the certificate desired \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the base64 encoded certificate\end{Desc}


Definition at line 211 of file ksslsigners.cc.

References DCOPClient::call().\index{KSSLSigners@{KSSLSigners}!setUse@{setUse}}
\index{setUse@{setUse}!KSSLSigners@{KSSLSigners}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLSigners::set\-Use ({\bf QString} {\em subject}, bool {\em ssl}, bool {\em email}, bool {\em code})}\label{classKSSLSigners_a15}


Set the use of a particular entry in the certificate signer database. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em subject}]the subject of the certificate in question \item[{\em ssl}]allow this for SSL certificate signing \item[{\em email}]allow this for S/MIME certificate signing \item[{\em code}]allow this for code certificate signing \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true on success\end{Desc}


Definition at line 230 of file ksslsigners.cc.

References DCOPClient::call().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
ksslsigners.h\item 
ksslsigners.cc\end{CompactItemize}
