• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kio/kssl

KSSLPeerInfo Class Reference

#include <ksslpeerinfo.h>

List of all members.


Detailed Description

KDE SSL Peer Data.

This class contains data about the peer of an SSL connection.

Author:
George Staikos <staikos@kde.org>
See also:
KSSL KDE SSL Peer Data

Definition at line 42 of file ksslpeerinfo.h.


Public Member Functions

 ~KSSLPeerInfo ()
KSSLCertificate & getPeerCertificate ()
bool certMatchesAddress ()
bool cnMatchesAddress (QString cn)
void setPeerHost (QString host=QString::null)
const QString & peerHost () const
void reset ()

Protected Attributes

KSSLCertificate m_cert

Friends

class KSSL

Constructor & Destructor Documentation

KSSLPeerInfo::~KSSLPeerInfo (  ) 

Destroy this instance.

Definition at line 52 of file ksslpeerinfo.cc.


Member Function Documentation

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.

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.

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.

const QString & KSSLPeerInfo::peerHost (  )  const

Returns the host we are connected to.

Definition at line 168 of file ksslpeerinfo.cc.

void KSSLPeerInfo::reset (  ) 

Clear out the host name.

Definition at line 163 of file ksslpeerinfo.cc.


The documentation for this class was generated from the following files:
  • ksslpeerinfo.h
  • ksslpeerinfo.cc

kio/kssl

Skip menu "kio/kssl"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal