ajanta.util
Class AgentTicket
java.lang.Object
|
+--ajanta.util.AgentTicket
- All Implemented Interfaces:
- java.io.Serializable
- public class AgentTicket
- extends java.lang.Object
- implements java.io.Serializable
The AgentTicket class represents a type of capability required by clients
to invoke services which require authentication. It contains the
ticket holder's name (URN) along with its signature on a nonce,
i.e. a challenge which was previously sent to it by the service.
It can optionally contain anothe nonce of its own, which challenges the
service to prove its identity.
- See Also:
AgentTicketing
,
Serialized Form
Constructor Summary |
AgentTicket(byte[] signature,
int challenge,
ajanta.agent.Credentials cred,
byte[] creatorSignature,
java.security.cert.X509Certificate userCert,
java.security.cert.X509Certificate locationCert,
ajanta.naming.CascadedCertificate cc)
|
Method Summary |
java.lang.String |
toString()
Converts the AgentTicket 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 |
signature
public byte[] signature
challenge
public int challenge
cred
public ajanta.agent.Credentials cred
userCert
public java.security.cert.X509Certificate userCert
locationCert
public java.security.cert.X509Certificate locationCert
cc
public ajanta.naming.CascadedCertificate cc
AgentTicket
public AgentTicket(byte[] signature,
int challenge,
ajanta.agent.Credentials cred,
byte[] creatorSignature,
java.security.cert.X509Certificate userCert,
java.security.cert.X509Certificate locationCert,
ajanta.naming.CascadedCertificate cc)
toString
public java.lang.String toString()
- Converts the AgentTicket object to a String representation suitable for
printing onto the screen.
- Overrides:
toString
in class java.lang.Object