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.
-
ATPTransfer(URN, byte[], Object, boolean)
-
-
getAgent()
- return agent
-
getCryptAgent()
- return elgaml cipher text of encrypted agent
-
getEncryptedFlag()
-
-
getServerName()
- return URN of the server agent
-
getSignature()
-
return byte array of the signature of agent's credential
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
getServerName
public URN getServerName()
- return URN of the server agent
getSignature
public byte[] getSignature()
- return byte array of the signature of agent's credential
getCryptAgent
public EGCipherText getCryptAgent()
- return elgaml cipher text of encrypted agent
getAgent
public Agent getAgent()
- return agent
getEncryptedFlag
public boolean getEncryptedFlag()
- Returns:
- true if agent is encrypted false otherwise
All Packages Class Hierarchy This Package Previous Next Index