All Packages Class Hierarchy This Package Previous Next Index
Class ajanta.util.AgentTicketing
java.lang.Object
|
+----ajanta.util.Ticketing
|
+----ajanta.util.AgentTicketing
- public class AgentTicketing
- extends Ticketing
Extended from base Ticketing class. This class takes a reference of
the name registry which enables it to lookup the public key for a
mobile agent from name-registry insterad of local machine
-
AgentTicketing(URN, PrivateKey, NRAccess)
- Constructor
-
verifyTicket(Ticket)
- verifies a ticket, it does not require the public key of the
ticket granter as the key would be fetched from the name registry
AgentTicketing
public AgentTicketing(URN name,
PrivateKey k,
NRAccess nr)
- Constructor
- Parameters:
- name - - the ticket granter
- k - - private key of the ticket granter who will sign the ticket
- nr - - the name registry access object
verifyTicket
public boolean verifyTicket(Ticket t) throws RemoteException, InvalidKeyException, SignatureException
- verifies a ticket, it does not require the public key of the
ticket granter as the key would be fetched from the name registry
- Parameters:
- t - - the ticket which would be verified.
All Packages Class Hierarchy This Package Previous Next Index