\section{KSSLInfo\-Dlg Class Reference}
\label{classKSSLInfoDlg}\index{KSSLInfoDlg@{KSSLInfoDlg}}
{\bf KDE} SSL Information Dialog {\bf KDE} SSL Information Dialog.  


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

Inheritance diagram for KSSLInfo\-Dlg:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=54pt]{classKSSLInfoDlg__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KSSLInfo\-Dlg:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=54pt]{classKSSLInfoDlg__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KSSLInfo\-Dlg} (bool secure\-Connection, {\bf QWidget} $\ast$parent=0L, const char $\ast$name=0L, bool modal=false)
\item 
virtual {\bf $\sim$KSSLInfo\-Dlg} ()
\item 
void {\bf set\-Security\-In\-Question} (bool is\-It)
\item 
void {\bf setup} ({\bf KSSLCertificate} $\ast$cert, const {\bf QString} \&ip, const {\bf QString} \&url, const {\bf QString} \&cipher, const {\bf QString} \&cipherdesc, const {\bf QString} \&sslversion, int usedbits, int bits, {\bf KSSLCertificate::KSSLValidation} cert\-State)
\item 
void {\bf setup} ({\bf KSSL} \&ssl, const {\bf QString} \&ip, const {\bf QString} \&url)
\item 
void {\bf set\-Cert\-State} (const {\bf QString} \&error\-Nrs)
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static {\bf KSSLCert\-Box} $\ast$ {\bf cert\-Info\-Widget} ({\bf QWidget} $\ast$parent, const {\bf QString} \&cert\-Name, {\bf QWidget} $\ast$mail\-Catcher=0)
\end{CompactItemize}


\subsection{Detailed Description}
{\bf KDE} SSL Information Dialog {\bf KDE} SSL Information Dialog. 

This class creates a dialog that can be used to display information about an SSL session.

There are NO GUARANTEES that KSSLInfo\-Dlg will remain binary compatible/ Contact {\tt staikos@kde.org} for details if needed.

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




Definition at line 50 of file ksslinfodlg.h.

\subsection{Constructor \& Destructor Documentation}
\index{KSSLInfoDlg@{KSSLInfo\-Dlg}!KSSLInfoDlg@{KSSLInfoDlg}}
\index{KSSLInfoDlg@{KSSLInfoDlg}!KSSLInfoDlg@{KSSLInfo\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KSSLInfo\-Dlg::KSSLInfo\-Dlg (bool {\em secure\-Connection}, {\bf QWidget} $\ast$ {\em parent} = {\tt 0L}, const char $\ast$ {\em name} = {\tt 0L}, bool {\em modal} = {\tt false})}\label{classKSSLInfoDlg_a0}


Construct a {\bf KSSL}{\rm (p.\,\pageref{classKSSL})} Information Dialog. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em secure\-Connection}]true if the connection is secured with SSL \item[{\em parent}]the parent widget \item[{\em name}]the internal name of this instance \item[{\em modal}]true if the dialog should be modal\end{description}
\end{Desc}


Definition at line 75 of file ksslinfodlg.cc.

References KDialog::set\-Caption().\index{KSSLInfoDlg@{KSSLInfo\-Dlg}!~KSSLInfoDlg@{$\sim$KSSLInfoDlg}}
\index{~KSSLInfoDlg@{$\sim$KSSLInfoDlg}!KSSLInfoDlg@{KSSLInfo\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KSSLInfo\-Dlg::$\sim${\bf KSSLInfo\-Dlg} ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKSSLInfoDlg_a1}


Destroy this dialog. 



Definition at line 125 of file ksslinfodlg.cc.

\subsection{Member Function Documentation}
\index{KSSLInfoDlg@{KSSLInfo\-Dlg}!setSecurityInQuestion@{setSecurityInQuestion}}
\index{setSecurityInQuestion@{setSecurityInQuestion}!KSSLInfoDlg@{KSSLInfo\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KSSLInfo\-Dlg::set\-Security\-In\-Question (bool {\em is\-It})}\label{classKSSLInfoDlg_a2}


Tell the dialog if the connection has portions that may not be secure (ie. 

a mixture of secure and insecure frames)

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em is\-It}]true if security is in question\end{description}
\end{Desc}


Definition at line 136 of file ksslinfodlg.cc.\index{KSSLInfoDlg@{KSSLInfo\-Dlg}!setup@{setup}}
\index{setup@{setup}!KSSLInfoDlg@{KSSLInfo\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KSSLInfo\-Dlg::setup ({\bf KSSLCertificate} $\ast$ {\em cert}, const {\bf QString} \& {\em ip}, const {\bf QString} \& {\em url}, const {\bf QString} \& {\em cipher}, const {\bf QString} \& {\em cipherdesc}, const {\bf QString} \& {\em sslversion}, int {\em usedbits}, int {\em bits}, {\bf KSSLCertificate::KSSLValidation} {\em cert\-State})}\label{classKSSLInfoDlg_a3}


Setup the dialog before showing it. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cert}]the certificate presented by the site \item[{\em ip}]the ip of the remote host \item[{\em url}]the url being accessed \item[{\em cipher}]the cipher in use \item[{\em cipherdesc}]text description of the cipher in use \item[{\em sslversion}]the version of SSL in use (SSLv2, SSLv3, TLSv1, etc) \item[{\em usedbits}]the number of bits in the cipher key being used \item[{\em bits}]the bit-size of the cipher in use \item[{\em cert\-State}]the certificate state (valid, invalid, etc)\end{description}
\end{Desc}


Definition at line 173 of file ksslinfodlg.cc.

References QGrid\-Layout::add\-Multi\-Cell(), QGrid\-Layout::add\-Multi\-Cell\-Widget(), QGrid\-Layout::add\-Widget(), QPtr\-List::first(), QPtr\-List::next(), and QGrid\-Layout::set\-Col\-Stretch().

Referenced by Observer::message\-Box(), and setup().\index{KSSLInfoDlg@{KSSLInfo\-Dlg}!setup@{setup}}
\index{setup@{setup}!KSSLInfoDlg@{KSSLInfo\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KSSLInfo\-Dlg::setup ({\bf KSSL} \& {\em ssl}, const {\bf QString} \& {\em ip}, const {\bf QString} \& {\em url})}\label{classKSSLInfoDlg_a4}


Setup the dialog before showing it. 

This is a convenience version of the above method, and obtains the same information using the \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em ssl}]parameter instead.\item[{\em ssl}]the ssl connection \item[{\em ip}]the ip of the remote host \item[{\em url}]the url being accessed\end{description}
\end{Desc}


Definition at line 158 of file ksslinfodlg.cc.

References setup().\index{KSSLInfoDlg@{KSSLInfo\-Dlg}!setCertState@{setCertState}}
\index{setCertState@{setCertState}!KSSLInfoDlg@{KSSLInfo\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KSSLInfo\-Dlg::set\-Cert\-State (const {\bf QString} \& {\em error\-Nrs})}\label{classKSSLInfoDlg_a5}


Set the errors that were encountered while validating the site certificate. 



Definition at line 251 of file ksslinfodlg.cc.

References QString\-List::split().\index{KSSLInfoDlg@{KSSLInfo\-Dlg}!certInfoWidget@{certInfoWidget}}
\index{certInfoWidget@{certInfoWidget}!KSSLInfoDlg@{KSSLInfo\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KSSLCert\-Box} $\ast$ KSSLInfo\-Dlg::cert\-Info\-Widget ({\bf QWidget} $\ast$ {\em parent}, const {\bf QString} \& {\em cert\-Name}, {\bf QWidget} $\ast$ {\em mail\-Catcher} = {\tt 0})\hspace{0.3cm}{\tt  [static]}}\label{classKSSLInfoDlg_e0}


Utility function to generate the widget which displays the detailed information about an X.509 certificate. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em parent}]the parent widget \item[{\em cert\-Name}]the name (subject) of the certificate \item[{\em mail\-Catcher}]the class which catches click events on e-mail addresses\end{description}
\end{Desc}


Definition at line 351 of file ksslinfodlg.cc.

References KSSLCert\-Box::set\-Values().

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