All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ajanta.server.ATPTransfer

java.lang.Object
   |
   +----ajanta.server.ATPTransfer

public class ATPTransfer
extends Object
implements Serializable
Class ATPTransfer is the message format for the actual agent transfer. It includes the encrypted agent object as well as a signature of the sender on a previously obtained nonce, to prove its identity.


Constructor Index

 o ATPTransfer(URN, byte[], Object, boolean)

Method Index

 o getAgent()
return agent
 o getCryptAgent()
return elgaml cipher text of encrypted agent
 o getEncryptedFlag()
 o getServerName()
return URN of the server agent
 o getSignature()
return byte array of the signature of agent's credential

Constructors

 o ATPTransfer
 public ATPTransfer(URN s,
                    byte sig[],
                    Object a,
                    boolean e)
Parameters:
s - URN of the server sending the agent
sig - server's signature on the previously sent nonce
a - the agent itself, possibly encrypted
e - true if encrypted flase otherwise

Methods

 o getServerName
 public URN getServerName()
return URN of the server agent

 o getSignature
 public byte[] getSignature()
return byte array of the signature of agent's credential

 o getCryptAgent
 public EGCipherText getCryptAgent()
return elgaml cipher text of encrypted agent

 o getAgent
 public Agent getAgent()
return agent

 o getEncryptedFlag
 public boolean getEncryptedFlag()
Returns:
true if agent is encrypted false otherwise

All Packages  Class Hierarchy  This Package  Previous  Next  Index