ajanta.util
Class CompleteTicket
java.lang.Object
|
+--ajanta.util.CompleteTicket
- All Implemented Interfaces:
- java.io.Serializable
- public class CompleteTicket
- extends java.lang.Object
- implements java.io.Serializable
The CompleteTicket 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. It takes care of the Lowe's attack that is possible on the
Needham-Schroeder protocol.
- See Also:
Ticketing
,
Serialized Form
Constructor Summary |
CompleteTicket(ajanta.naming.URN u,
byte[] s,
int challenge)
|
Method Summary |
java.lang.String |
toString()
Converts the CompleteTicket 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 |
signer
public ajanta.naming.URN signer
signature
public byte[] signature
challenge
public int challenge
CompleteTicket
public CompleteTicket(ajanta.naming.URN u,
byte[] s,
int challenge)
toString
public java.lang.String toString()
- Converts the CompleteTicket object to a String representation suitable for
printing onto the screen.
- Overrides:
toString
in class java.lang.Object