class AkentiPrincipal

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

Inheritance:


Public Methods

[more] AkentiPrincipal ()
Default Constructor
[more] AkentiPrincipal (const DistinguishedName& name, const DistinguishedName& guarantor)
Constructs this object.
[more] AkentiPrincipal (const string& name, const string& guarantor)
Constructs this object.
[more] ~AkentiPrincipal ()
Destroys this object
[more]void operator= (const AkentiPrincipal& ap)
Assignement operator
[more]bool operator== (const AkentiPrincipal& ap) const
Returns true if equal
[more]const DistinguishedName& getName () const
Returns name of the entity
[more]const DistinguishedName& getGuarantor () const
Returns the name of the guarantor of the entity.
[more]void writeObject (AkentiOutputStream& drain) const
Writes this object to an AkentiOutputStream.
[more]void readObject (AkentiInputStream& source)
Reads this object from the AkentiInputStream object.
[more]void toXML (DOMElement* ap) const
Populates the XML element ap from this AkentiPrincipal
[more]void fromXML (const DOMElement* ap)
Initializes this AkentiPrincipal from the XML element ap
[more]string paramString () const
Used for debugging
[more]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
  *
  * 

o AkentiPrincipal()
Default Constructor

o AkentiPrincipal(const DistinguishedName& name, const DistinguishedName& guarantor)
Constructs this object.

See Also:
DistinguishedName

o AkentiPrincipal(const string& name, const string& guarantor)
Constructs this object.

See Also:
DistinguishedName

o ~AkentiPrincipal()
Destroys this object

ovoid operator=(const AkentiPrincipal& ap)
Assignement operator

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

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

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

ovoid writeObject(AkentiOutputStream& drain) const
Writes this object to an AkentiOutputStream.

See Also:
AkentiOutputStream

ovoid readObject(AkentiInputStream& source)
Reads this object from the AkentiInputStream object.

See Also:
AkentiInputStream

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

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

ostring paramString() const
Used for debugging

ostring 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 HTML hierarchy of classes or Java



This page was generated with the help of DOC++.