#include <ksslinfodlg.h>
Inherits KDialog.
Public Member Functions | |
KSSLInfoDlg (bool secureConnection, TQWidget *parent=0L, const char *name=0L, bool modal=false) | |
virtual | ~KSSLInfoDlg () |
void | setSecurityInQuestion (bool isIt) |
void | setup (KSSLCertificate *cert, const TQString &ip, const TQString &url, const TQString &cipher, const TQString &cipherdesc, const TQString &sslversion, int usedbits, int bits, KSSLCertificate::KSSLValidation certState) |
void | setup (KSSL &ssl, const TQString &ip, const TQString &url) |
void | setCertState (const TQString &errorNrs) |
Static Public Member Functions | |
static KSSLCertBox * | certInfoWidget (TQWidget *parent, const TQString &certName, TQWidget *mailCatcher=0) |
Detailed Description
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 KSSLInfoDlg will remain binary compatible/ Contact staik for details if needed. os@k de.or g
- See also
- KSSL
KDE SSL Information Dialog
Definition at line 50 of file ksslinfodlg.h.
Constructor & Destructor Documentation
◆ KSSLInfoDlg()
KSSLInfoDlg::KSSLInfoDlg | ( | bool | secureConnection, |
TQWidget * | parent = 0L , |
||
const char * | name = 0L , |
||
bool | modal = false |
||
) |
Construct a KSSL Information Dialog.
- Parameters
-
secureConnection true if the connection is secured with SSL parent the parent widget name the internal name of this instance modal true if the dialog should be modal
Definition at line 75 of file ksslinfodlg.cpp.
◆ ~KSSLInfoDlg()
|
virtual |
Destroy this dialog.
Definition at line 125 of file ksslinfodlg.cpp.
Member Function Documentation
◆ certInfoWidget()
|
static |
Utility function to generate the widget which displays the detailed information about an X.509 certificate.
- Parameters
-
parent the parent widget certName the name (subject) of the certificate mailCatcher the class which catches click events on e-mail addresses
Definition at line 371 of file ksslinfodlg.cpp.
◆ setCertState()
void KSSLInfoDlg::setCertState | ( | const TQString & | errorNrs | ) |
Set the errors that were encountered while validating the site certificate.
Definition at line 271 of file ksslinfodlg.cpp.
◆ setSecurityInQuestion()
void KSSLInfoDlg::setSecurityInQuestion | ( | bool | isIt | ) |
Tell the dialog if the connection has portions that may not be secure (ie.
a mixture of secure and insecure frames)
- Parameters
-
isIt true if security is in question
Definition at line 136 of file ksslinfodlg.cpp.
◆ setup() [1/2]
void KSSLInfoDlg::setup | ( | KSSL & | ssl, |
const TQString & | ip, | ||
const TQString & | url | ||
) |
Setup the dialog before showing it.
This is a convenience version of the above method, and obtains the same information using the
- Parameters
-
ssl parameter instead. ssl the ssl connection ip the ip of the remote host url the url being accessed
Definition at line 162 of file ksslinfodlg.cpp.
◆ setup() [2/2]
void KSSLInfoDlg::setup | ( | KSSLCertificate * | cert, |
const TQString & | ip, | ||
const TQString & | url, | ||
const TQString & | cipher, | ||
const TQString & | cipherdesc, | ||
const TQString & | sslversion, | ||
int | usedbits, | ||
int | bits, | ||
KSSLCertificate::KSSLValidation | certState | ||
) |
Setup the dialog before showing it.
- Parameters
-
cert the certificate presented by the site ip the ip of the remote host url the url being accessed cipher the cipher in use cipherdesc text description of the cipher in use sslversion the version of SSL in use (SSLv2, SSLv3, TLSv1, etc) usedbits the number of bits in the cipher key being used bits the bit-size of the cipher in use certState the certificate state (valid, invalid, etc)
Definition at line 177 of file ksslinfodlg.cpp.
The documentation for this class was generated from the following files: