kio
KSSLPeerInfo Class Reference
KDE SSL Peer Data. More...
#include <ksslpeerinfo.h>
Public Member Functions | |
| bool | certMatchesAddress () |
| bool | cnMatchesAddress (QString cn) |
| KSSLCertificate & | getPeerCertificate () |
| const QString & | peerHost () const |
| void | reset () |
| void | setPeerHost (QString host=QString::null) |
| ~KSSLPeerInfo () | |
Protected Member Functions | |
| KSSLPeerInfo () | |
Protected Attributes | |
| KSSLCertificate | m_cert |
Detailed Description
KDE SSL Peer Data.This class contains data about the peer of an SSL connection.
- See also:
- KSSL KDE SSL Peer Data
Definition at line 42 of file ksslpeerinfo.h.
Constructor & Destructor Documentation
| KSSLPeerInfo::~KSSLPeerInfo | ( | ) |
| KSSLPeerInfo::KSSLPeerInfo | ( | ) | [protected] |
Definition at line 48 of file ksslpeerinfo.cc.
Member Function Documentation
| bool KSSLPeerInfo::certMatchesAddress | ( | ) |
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.
- Returns:
- true if it matches
- See also:
- setPeerHost
Definition at line 72 of file ksslpeerinfo.cc.
| bool KSSLPeerInfo::cnMatchesAddress | ( | QString | cn | ) |
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.
- Returns:
- true if it matches
- See also:
- setPeerHost
Definition at line 89 of file ksslpeerinfo.cc.
| KSSLCertificate & KSSLPeerInfo::getPeerCertificate | ( | ) |
Get a reference to the peer's certificate.
- Returns:
- a reference to the peer's certificate
- See also:
- KSSLCertificate
Definition at line 56 of file ksslpeerinfo.cc.
| const QString & KSSLPeerInfo::peerHost | ( | ) | const |
| void KSSLPeerInfo::reset | ( | ) |
| void KSSLPeerInfo::setPeerHost | ( | QString | host = QString::null |
) |
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)
- Parameters:
-
host the hostname
Definition at line 60 of file ksslpeerinfo.cc.
Member Data Documentation
KSSLCertificate KSSLPeerInfo::m_cert [protected] |
Definition at line 100 of file ksslpeerinfo.h.
The documentation for this class was generated from the following files:
KDE 3.5 API Reference