namespace Akenti class AkentiPrincipal : public AkentiObject An AkentiPrincipal is a pair of DistinguishedName names: the first is the name that identifies an entity and the second is the name of the guarantor of that entity
| | AkentiOutputStream (ostream& os) Constructs this object given an ostream object specified by os |
| | write (const char *ptr, int n) |
| | operator<< (char c) Writes a char to the underlying output stream |
| | operator<< (int n) Writes an int to the underlying output stream |
| | operator<< (bool b) Writes a bool to the underlying output stream |
| | operator<< (long l) Writes a long to the underlying output stream |
| | operator<< (double d) Writes a double to the underlying output stream |
| | operator<< (const string& s) Writes a string to the underlying output stream |
| | operator<< (const UtcTime& time) Writes a UtcTime to the underlying output stream |
| | operator<< (const URL& url) Writes a URL to the underlying output stream |
| | operator<< (const DistinguishedName& dn) Writes a DistinguishedName to the underlying output stream |
| | operator<< (const AkentiObject& obj) Writes an AkentiObject to the underlying output stream |
| | AkentiPrincipal () Default Constructor |
| | AkentiPrincipal (const DistinguishedName& name, const DistinguishedName& guarantor) Constructs this object given the distinguished name of an entity specified by name and the distinguished name of the guarantor of this entity specified by guarantor |
| | AkentiPrincipal (const string& name, const string& guarantor) Constructs this object given the distinguished name of an entity specified by name and the distinguished name of the guarantor of this entity specified by guarantor |
| | ~AkentiPrincipal () Deletes this object |
| | operator== (const AkentiPrincipal& ap) const Return true if this object is equal to the argument specified by ap |
| | getName () const Returns the distinguished name of the entity represented by this object |
| | getGuarantor () const Returns the distinguished name of the guarantor of the entity reprsented by this object |
| | writeObject (AkentiOutputStream& drain) const Writes this object to an AkentiOutputStream object specified by drain |
| | readObject (AkentiInputStream& source) Reads this object from the AkentiInputStream object specified by source |
| | paramString () const Used for debugging |
An AkentiPrincipal is a pair of DistinguishedName names: the first is the name that identifies an entity and the second is the name of the guarantor of that entity. AkentiPrincipal {
DistinguishedName name
DistinguishedNmae guarantor
}
When writing this object the blank spaces of the name are escaped by a backward slash. For example:
/C=US/ST=CA/CN=John Doe
will be written as /C=US/ST=CA/CN=John\ Doe
The writeObject output is:
nameguarantor
AkentiOutputStream& write(const char *ptr, int n)
AkentiOutputStream& operator<<(char c)
AkentiOutputStream& operator<<(int n)
AkentiOutputStream& operator<<(bool b)
AkentiOutputStream& operator<<(long l)
AkentiOutputStream& operator<<(double d)
AkentiOutputStream& operator<<(const string& s)
AkentiOutputStream& operator<<(const UtcTime& time)
IOException
AkentiOutputStream& operator<<(const URL& url)
IOException
AkentiOutputStream& operator<<(const DistinguishedName& dn)
IOException
AkentiOutputStream& operator<<(const AkentiObject& obj)
IOException
AkentiPrincipal()
AkentiPrincipal(const DistinguishedName& name, const DistinguishedName& guarantor)
guarantor - DistinguishedName name of the guarantor
AkentiPrincipal(const string& name, const string& guarantor)
Error if either argument is an empty string
guarantor - string name of the guarantor
~AkentiPrincipal()
bool operator==(const AkentiPrincipal& ap) const
const DistinguishedName& getName() const
const DistinguishedName& getGuarantor() const
void writeObject(AkentiOutputStream& drain) const
IOException
void readObject(AkentiInputStream& source)
IOException if reading from the stream fails
ParsingException
IOException
string paramString() 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