This is a class to hold a Distinguished Name as a set of name and value pairs
![]() | DistinguishedName (const string& dn = "/CN=NO_NAME") Constructs this object from the input distinguishedName string |
![]() | ~DistinguishedName () Deletes this object |
![]() | containsAttributeValue (const string& attribute, const string& value) const Checks to see if the pair of |
![]() | getValue (const string& attribute) const Returns the value of the pair of |
![]() | getValues (const string& attribute) Returns the vector with values corresponding to the attribute |
![]() | containsAttribute (const string& attribute) const Returns true if the specified attribute exists in this DistinguishName |
![]() | containsValue (const string& value) const Returns true if the specified value exists in the pair of |
![]() | numOfOcurrences (const string& attribute) const Returns the number of ocurrences of the specified attribute |
![]() | size () const Returns the size of the vector pairs |
![]() | hasMorePairs (int index) const Returns true if the specified index is in pairs' range |
![]() | getPairAt (int index) const Returns the pair of |
![]() | toString () const |
![]() | paramString () const Returns a string representation for DistinguishedName which is used for debugging purposes |
![]() | toLogString () const For logging purposes |
![]() | operator== (const DistinguishedName& dn) const Is true if the DN's are identical: same pairs, same values in the same order |
This is a class to hold a Distinguished Name as a set of name and value pairs. A Distinguished Name is a multi-component name used in X5.09 certifificate to uniquely identify an entity. Examples of attributes are listed below.commonName "CN" user ID "UID" countryName "C" localityName "L" Email Address "E" stateOrProvinceName "ST" organizationName "O" organizationalUnitName "OU"Some of the attributes may have more than one value. And we allow user defined attributes
~DistinguishedName()
bool containsAttributeValue(const string& attribute, const string& value) const
value - the value of the name(s) or component
const string& getValue(const string& attribute) const
vector
bool containsAttribute(const string& attribute) const
bool containsValue(const string& value) const
int numOfOcurrences(const string& attribute) const
int size() const
bool hasMorePairs(int index) const
const pair
string toString() const
string paramString() const
string toLogString() const
bool operator==(const DistinguishedName& dn) const
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de