kio Library API Documentation

KSSLX509Map Class Reference

X.509 Map Parsing Class X.509 Map Parser. More...

#include <ksslx509map.h>

Collaboration diagram for KSSLX509Map:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KSSLX509Map (const QString &name)
 ~KSSLX509Map ()
void setValue (const QString &key, const QString &value)
QString getValue (const QString &key) const
void reset (const QString &name="")

Detailed Description

X.509 Map Parsing Class X.509 Map Parser.

This class is used to parse and store a map as used in X.509 certificates. It is of the form /name=value/name=value/name=value

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

Definition at line 37 of file ksslx509map.h.


Constructor & Destructor Documentation

KSSLX509Map::KSSLX509Map const QString name  ) 
 

Construct an X.509 Map.

Parameters:
name the map to parse

Definition at line 25 of file ksslx509map.cc.

References KStdAccel::name().

KSSLX509Map::~KSSLX509Map  ) 
 

Destroy this map.

Definition at line 30 of file ksslx509map.cc.


Member Function Documentation

void KSSLX509Map::setValue const QString key,
const QString value
 

Set a value in the map.

Parameters:
key the key
value the value

Definition at line 35 of file ksslx509map.cc.

References KStdAccel::key(), and QMap< QString, QString >::replace().

QString KSSLX509Map::getValue const QString key  )  const
 

Get the value of an entry in the map.

Parameters:
key the key
Returns:
the value

Definition at line 40 of file ksslx509map.cc.

References QMap< QString, QString >::contains(), and KStdAccel::key().

Referenced by KSSLPeerInfo::certMatchesAddress(), KSSLInfoDlg::setup(), and KSSLCertBox::setValues().

void KSSLX509Map::reset const QString name = ""  ) 
 

Reset (clear) the internal storage.

Parameters:
name if this is not empty, it will be parsed and used as the new map internally

Definition at line 100 of file ksslx509map.cc.

References KStdAccel::name().


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 12 09:07:05 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2003