ajanta.util
Class AgentServerTicket
java.lang.Object
|
+--ajanta.util.AgentServerTicket
- All Implemented Interfaces:
- java.io.Serializable
- public class AgentServerTicket
- extends java.lang.Object
- implements java.io.Serializable
The AgentServerTicket class represents a type of capability required by clients
to invoke services which require authentication. It contains the
agent server's certificate and a nonce to be signed by the entity to whom it is
being sent. From the next message onwards, the agent server would be sending
a CompleteTicket to the other entity.
Note that the AgentServerTicket is to be used only for authentication by an agent server
to an agent. It could potentially be used for agentserver to agentserver, but we don't
want to disturb any code that has already been written earlier, using the
authenticate() method of the AServer interface.
- See Also:
- Serialized Form
Constructor Summary |
AgentServerTicket(java.security.cert.X509Certificate asCert,
int challenge,
byte[] signature)
|
Method Summary |
java.lang.String |
toString()
Converts the AgentServerTicket object to a String representation suitable for
printing onto the screen. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
asCert
public java.security.cert.X509Certificate asCert
challenge
public int challenge
AgentServerTicket
public AgentServerTicket(java.security.cert.X509Certificate asCert,
int challenge,
byte[] signature)
toString
public java.lang.String toString()
- Converts the AgentServerTicket object to a String representation suitable for
printing onto the screen.
- Overrides:
toString
in class java.lang.Object