kio Library API Documentation

KSSLSession Class Reference

KDE SSL Session Information KDE SSL Session Information. More...

#include <ksslsession.h>

List of all members.

Public Methods

 ~KSSLSession ()
QString toString () const

Static Public Methods

KSSLSession * fromString (const QString &s)

Protected Methods

 KSSLSession ()
 KSSLSession (const KSSLSession &)

Protected Attributes

void * _session

Friends

class KSSL


Detailed Description

KDE SSL Session Information KDE SSL Session Information.

This class contains data about an SSL session. It is just used as a container that is taken from or passed to KSSL objects.

Author:
George Staikos <staikos@kde.org>
See also:
KSSL

Definition at line 40 of file ksslsession.h.


Constructor & Destructor Documentation

KSSLSession::~KSSLSession  
 

Destroy this instance.

Definition at line 35 of file ksslsession.cc.

References KOpenSSLProxy::self().


Member Function Documentation

QString KSSLSession::toString   const
 

Convert to a base64 encoded string (so it can be copied safely).

Definition at line 45 of file ksslsession.cc.

References KCodecs::base64Encode(), and KOpenSSLProxy::self().

KSSLSession * KSSLSession::fromString const QString   s [static]
 

Create as session ID object from a base64 encoded string.

Parameters:
s  the session id in base64 encoded ASN.1 format
Returns:
a KSSLSession object, or 0L on error

Definition at line 70 of file ksslsession.cc.

References _session, KCodecs::base64Decode(), and QString::local8Bit().

Referenced by KIO::TCPSlaveBase::startTLS().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kio Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun May 16 22:03:35 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003