certmanager/lib

#include <dn.h>

Public Types

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

Public Member Functions

 DN (const TQString &dn)
 DN (const char *utf8DN)
 DN (const DN &other)
const DN & operator= (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

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.

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.

◆ 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.

◆ operator=()

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.


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