KSSLPeerInfo Class Reference
KDE SSL Peer Data KDE SSL Peer Data. More...
#include <ksslpeerinfo.h>
Public Member Functions | |
~KSSLPeerInfo () | |
KSSLCertificate & | getPeerCertificate () |
bool | certMatchesAddress () |
bool | cnMatchesAddress (QString cn) |
void | setPeerHost (QString host=QString::null) |
void | reset () |
Protected Attributes | |
KSSLCertificate | m_cert |
Friends | |
class | KSSL |
Detailed Description
KDE SSL Peer Data KDE SSL Peer Data.This class contains data about the peer of an SSL connection.
- Author:
- George Staikos <staikos@kde.org>
- See also:
- KSSL
Definition at line 42 of file ksslpeerinfo.h.
Constructor & Destructor Documentation
|
Destroy this instance.
Definition at line 50 of file ksslpeerinfo.cc. |
Member Function Documentation
|
Get a reference to the peer's certificate.
Definition at line 54 of file ksslpeerinfo.cc. Referenced by KSSLInfoDlg::setup(). |
|
Determine if the peer's certificate matches the address set with setPeerHost(). Note that this is a match in the "https" sense, taking into account, for instance, wildcards.
Definition at line 66 of file ksslpeerinfo.cc. References cnMatchesAddress(), KSSLCertificate::getSubject(), and KSSLX509Map::getValue(). |
|
Determine if the given "common name" matches the address set with setPeerHost(). Note that this is a match in the "https" sense, taking into account, for instance, wildcards.
Definition at line 82 of file ksslpeerinfo.cc. References kdDebug(). Referenced by certMatchesAddress(). |
|
Set the host that we are connected to. This is generally set by KSSL, and should be exactly what the user -thinks- he is connected to. (for instance, the host name in the url)
Definition at line 58 of file ksslpeerinfo.cc. |
|
Clear out the host name.
Definition at line 150 of file ksslpeerinfo.cc. Referenced by KSSL::initialize(). |
The documentation for this class was generated from the following files: