1
/* This file is part of the KDE project
3
* Copyright (C) 2003 George Staikos <staikos@kde.org>
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Library General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Library General Public License for more details.
15
* You should have received a copy of the GNU Library General Public License
16
* along with this library; see the file COPYING.LIB. If not, write to
17
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
* Boston, MA 02110-1301, USA.
21
#ifndef _KSSLSESSION_H
22
#define _KSSLSESSION_H
24
#include <QtCore/QString>
26
#include <kio/kio_export.h>
30
class KSSLSessionPrivate;
33
* KDE SSL Session Information
35
* This class contains data about an SSL session.
36
* It is just used as a container that is taken from or passed to KSSL objects.
38
* @author George Staikos <staikos@kde.org>
40
* @short KDE SSL Session Information
42
class KIO_EXPORT KSSLSession {
46
* Destroy this instance
51
* Convert to a base64 encoded string (so it can be copied safely)
53
QString toString() const;
56
* Create as session ID object from a base64 encoded string.
57
* @param s the session id in base64 encoded ASN.1 format
58
* @return a KSSLSession object, or 0L on error
60
static KSSLSession* fromString(const QString& s);
64
KSSLSession(const KSSLSession&);
68
KSSLSessionPrivate *d;