namespace Akenti class AkentiPrincipal : public AkentiObject

An AkentiPrincipal is used to represent an entity in the Akenti world

Inheritance:


Public Methods

AkentiPrincipal ()
Default Constructor
AkentiPrincipal (const DistinguishedName& name, const DistinguishedName& guarantor)
Constructs this object
AkentiPrincipal (const string& name, const string& guarantor)
Constructs this object
~AkentiPrincipal ()
Destroys this object
void operator= (const AkentiPrincipal& ap)
Assignement operator
bool operator== (const AkentiPrincipal& ap) const
Returns true if equal
const DistinguishedName& getName () const
Returns name of the entity
const DistinguishedName& getGuarantor () const
Returns the name of the guarantor of the entity
void writeObject (AkentiOutputStream& drain) const
Writes this object to an AkentiOutputStream
void readObject (AkentiInputStream& source)
Reads this object from the AkentiInputStream object
void toXML (DOMElement* ap) const
Populates the XML element ap from this AkentiPrincipal
void fromXML (const DOMElement* ap)
Initializes this AkentiPrincipal from the XML element ap
string paramString () const
Used for debugging
string toLogString () const
Used for logging

Inherited from AkentiObject:


Documentation

An AkentiPrincipal is used to represent an entity in the Akenti world. It consists of two components the name of the entity and the name of the guarantor of that entity.
Note:
The names are x509 dns.
The guarantor is the immediate ca of the entity.

AkentiPrincipal {             
DistinguishedName name     
DistinguishedNmae guarantor  
}                             

Format:
name guarantor     

Example: (/C=US/ST=CA/CN=John Doe, /C=US/ST=CA/CN=CA)

will be writen as: /C=US/ST=CA/CN=John\ Doe /C=US/ST=CA/CN=CA

AkentiPrincipal()
Default Constructor

AkentiPrincipal(const DistinguishedName& name, const DistinguishedName& guarantor)
Constructs this object.
See Also:
DistinguishedName

AkentiPrincipal(const string& name, const string& guarantor)
Constructs this object.
See Also:
DistinguishedName

~AkentiPrincipal()
Destroys this object

void operator=(const AkentiPrincipal& ap)
Assignement operator

bool operator==(const AkentiPrincipal& ap) const
Returns true if equal

const DistinguishedName& getName() const
Returns name of the entity

const DistinguishedName& getGuarantor() const
Returns the name of the guarantor of the entity

void writeObject(AkentiOutputStream& drain) const
Writes this object to an AkentiOutputStream.
See Also:
AkentiOutputStream

void readObject(AkentiInputStream& source)
Reads this object from the AkentiInputStream object.
See Also:
AkentiInputStream

void toXML(DOMElement* ap) const
Populates the XML element ap from this AkentiPrincipal

void fromXML(const DOMElement* ap)
Initializes this AkentiPrincipal from the XML element ap

string paramString() const
Used for debugging

string toLogString() const
Used for logging


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/01
See Also:
AkentiObject
DistinguishedName

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