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.
-
codeBase
- This is the URN of the server which will be contacted for the agent's classes.
-
creator
- Agent creator's identity object.
-
encryptKey
- Agent's El-Gamal key for any encrypted communication.
-
guardian
- Agent guardian's identity object.
-
name
- This URN is the name of the agent.
-
owner
- Agent owner's identity object.
-
verifyKey
- Agent's DSA key for signing.
-
Credentials(AjantaIdentity, AjantaIdentity, AjantaIdentity, URN, URN)
- Constructor - creator is used as the guardian and no public keys are specified.
-
Credentials(AjantaIdentity, AjantaIdentity, AjantaIdentity, URN, URN, PublicKey, PublicKey)
- Constructor - creator is used as the guardian.
-
Credentials(AjantaIdentity, AjantaIdentity, URN, URN)
- Constructor - creator is used as the guardian and no public keys are specified.
name
public URN name
- This URN is the name of the agent.
encryptKey
public PublicKey encryptKey
- Agent's El-Gamal key for any encrypted communication.
verifyKey
public PublicKey verifyKey
- Agent's DSA key for signing.
owner
public AjantaIdentity owner
- Agent owner's identity object.
creator
public AjantaIdentity creator
- Agent creator's identity object.
guardian
public AjantaIdentity guardian
- Agent guardian's identity object.
codeBase
public URN codeBase
- This is the URN of the server which will be contacted for the agent's classes.
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
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
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