kio Library API Documentation

KSSLSession Class Reference

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

#include <ksslsession.h>

List of all members.

Public Member Functions

 ~KSSLSession ()
QString toString () const

Static Public Member Functions

static KSSLSessionfromString (const QString &s)

Protected Member Functions

 KSSLSession ()
 KSSLSession (const KSSLSession &)

Protected Attributes

void * _session

Friends

class KSSL


Detailed Description

KDE SSL Session InformationKDE 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 42 of file ksslsession.h.


Constructor & Destructor Documentation

KSSLSession::~KSSLSession  ) 
 

Destroy this instance.

Definition at line 34 of file ksslsession.cc.

References _session, 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 44 of file ksslsession.cc.

References _session, KCodecs::base64Encode(), KOpenSSLProxy::i2d_SSL_SESSION(), KOpenSSLProxy::self(), and KSSL::session().

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 69 of file ksslsession.cc.

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


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.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Sep 16 06:59:20 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003