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)


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(), and KOpenSSLProxy::SSL_SESSION_free().


Member Function Documentation

QString KSSLSession::toString  
 

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

Definition at line 45 of file ksslsession.cc.

References KCodecs::base64Encode(), KOpenSSLProxy::i2d_SSL_SESSION(), 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.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Feb 4 12:35:15 2004 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2003