certmanager/lib

#include <dn.h>

Inherits Attribute.

Public Types

typedef TQValueVector< Attribute > AttributeList
 
typedef AttributeList::const_iterator const_iterator
 
typedef DN::AttributeList List
 

Public Member Functions

 DN (const TQString &dn)
 
 DN (const char *utf8DN)
 
 DN (const DN &other)
 
const DNoperator= (const DN &other)
 
TQString prettyDN () const
 
TQString dn () const
 
TQString operator[] (const TQString &attr) const
 
void append (const Attribute &attr)
 
const_iterator begin () const
 
const_iterator end () const
 
 Attribute (const TQString &name=TQString(), const TQString &value=TQString())
 
 Attribute (const Attribute &other)
 
const Attribute & operator= (const Attribute &other)
 
const TQString & name () const
 
const TQString & value () const
 
void setValue (const TQString &value)
 

Static Public Member Functions

static TQString escape (const TQString &value)
 

Detailed Description

DN parser and reorderer.

Definition at line 76 of file dn.h.

Member Typedef Documentation

◆ AttributeList

typedef TQValueVector<Attribute> Kleo::DN::AttributeList

Definition at line 79 of file dn.h.

◆ const_iterator

typedef AttributeList::const_iterator Kleo::DN::const_iterator

Definition at line 80 of file dn.h.

◆ List

typedef DN::AttributeList Kleo::DN::List

Definition at line 115 of file dn.h.

Constructor & Destructor Documentation

◆ DN() [1/4]

Kleo::DN::DN ( )

Definition at line 337 of file dn.cpp.

◆ DN() [2/4]

Kleo::DN::DN ( const TQString &  dn)

Definition at line 342 of file dn.cpp.

◆ DN() [3/4]

Kleo::DN::DN ( const char *  utf8DN)

Definition at line 348 of file dn.cpp.

◆ DN() [4/4]

Kleo::DN::DN ( const DN other)

Definition at line 355 of file dn.cpp.

◆ ~DN()

Kleo::DN::~DN ( )

Definition at line 361 of file dn.cpp.

Member Function Documentation

◆ append()

void Kleo::DN::append ( const Attribute &  attr)

Definition at line 408 of file dn.cpp.

◆ Attribute() [1/2]

Kleo::DN::Attribute ( const Attribute &  other)
inline

Definition at line 119 of file dn.h.

◆ Attribute() [2/2]

Kleo::DN::Attribute ( const TQString &  name = TQString(),
const TQString &  value = TQString() 
)
inline

Definition at line 117 of file dn.h.

◆ begin()

Kleo::DN::const_iterator Kleo::DN::begin ( ) const

Definition at line 427 of file dn.cpp.

◆ dn()

TQString Kleo::DN::dn ( ) const
Returns
the DN in the original form

Definition at line 387 of file dn.cpp.

◆ end()

Kleo::DN::const_iterator Kleo::DN::end ( ) const

Definition at line 431 of file dn.cpp.

◆ escape()

TQString Kleo::DN::escape ( const TQString &  value)
static
Returns
the value in rfc-2253-escaped form

Definition at line 392 of file dn.cpp.

◆ name()

const TQString & Kleo::DN::name ( ) const
inline

Definition at line 130 of file dn.h.

◆ operator=() [1/2]

const Attribute & Kleo::DN::operator= ( const Attribute &  other)
inline

Definition at line 122 of file dn.h.

◆ operator=() [2/2]

const Kleo::DN & Kleo::DN::operator= ( const DN other)

Definition at line 365 of file dn.cpp.

◆ operator[]()

TQString Kleo::DN::operator[] ( const TQString &  attr) const

Definition at line 414 of file dn.cpp.

◆ prettyDN()

TQString Kleo::DN::prettyDN ( ) const
Returns
the DN in a reordered form, according to the settings in the [DN] group of the application's config file

Definition at line 379 of file dn.cpp.

◆ setValue()

void Kleo::DN::setValue ( const TQString &  value)
inline

Definition at line 133 of file dn.h.

◆ value()

const TQString & Kleo::DN::value ( ) const
inline

Definition at line 131 of file dn.h.


The documentation for this class was generated from the following files: