kio Library API Documentation

KSSLSession Class Reference

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

#include <ksslsession.h>

List of all members.

Public Member Functions

 ~KSSLSession ()
QString toString () const

Static Public Member Functions

KSSLSessionfromString (const QString &s)

Protected Member Functions

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


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(), 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().


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 Wed May 5 07:20:49 2004 by doxygen 1.3.6 written by Dimitri van Heesch, © 1997-2003