All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ajanta.agent.Credentials

java.lang.Object
   |
   +----ajanta.agent.Credentials

public class Credentials
extends Object
implements Serializable
This class represents the credential object carried by each agent object. It is used as a tamperproof identiy of the agent. It is signed by the owner's or creator's DSA key.


Variable Index

 o codeBase
This is the URN of the server which will be contacted for the agent's classes.
 o creator
Agent creator's identity object.
 o encryptKey
Agent's El-Gamal key for any encrypted communication.
 o guardian
Agent guardian's identity object.
 o name
This URN is the name of the agent.
 o owner
Agent owner's identity object.
 o verifyKey
Agent's DSA key for signing.

Constructor Index

 o Credentials(AjantaIdentity, AjantaIdentity, AjantaIdentity, URN, URN)
Constructor - creator is used as the guardian and no public keys are specified.
 o Credentials(AjantaIdentity, AjantaIdentity, AjantaIdentity, URN, URN, PublicKey, PublicKey)
Constructor - creator is used as the guardian.
 o Credentials(AjantaIdentity, AjantaIdentity, URN, URN)
Constructor - creator is used as the guardian and no public keys are specified.

Variables

 o name
 public URN name
This URN is the name of the agent.

 o encryptKey
 public PublicKey encryptKey
Agent's El-Gamal key for any encrypted communication.

 o verifyKey
 public PublicKey verifyKey
Agent's DSA key for signing.

 o owner
 public AjantaIdentity owner
Agent owner's identity object.

 o creator
 public AjantaIdentity creator
Agent creator's identity object.

 o guardian
 public AjantaIdentity guardian
Agent guardian's identity object.

 o codeBase
 public URN codeBase
This is the URN of the server which will be contacted for the agent's classes.

Constructors

 o Credentials
 public Credentials(AjantaIdentity owner,
                    AjantaIdentity creator,
                    URN name,
                    URN codeBase)
Constructor - creator is used as the guardian and no public keys are specified.

Parameters:
owner - Agent owner's identity object
creator - Agent creator's identity object.
name - agent's URN
codeBase - code base URN
 o Credentials
 public Credentials(AjantaIdentity owner,
                    AjantaIdentity creator,
                    AjantaIdentity guardian,
                    URN name,
                    URN codeBase)
Constructor - creator is used as the guardian and no public keys are specified.

Parameters:
owner - Agent owner's identity object
creator - Agent creator's identity object.
guardian - Agent guardian's identity object.
name - agent's URN
codeBase - code base URN
 o Credentials
 public Credentials(AjantaIdentity owner,
                    AjantaIdentity creator,
                    AjantaIdentity guardian,
                    URN name,
                    URN codeBase,
                    PublicKey encryptKey,
                    PublicKey verifyKey)
Constructor - creator is used as the guardian.

Parameters:
owner - Agent owner's identity object
creator - Agent creator's identity object.
guardian - Agent guardian's identity object.
name - agent's URN
codeBase - code base URN
encryptKey - El-Gamal public keys.
verifyKey - DSA public keys.

All Packages  Class Hierarchy  This Package  Previous  Next  Index