iaik.security.ssl
Class SessionID

java.lang.Object
  extended by iaik.security.ssl.SessionID
All Implemented Interfaces:
java.io.Serializable

public class SessionID
extends java.lang.Object
implements java.io.Serializable

This class implements a session identifier. A session identifier is an arbitrary byte sequence chosen by the server to identify an active or resumable session state.

See Also:
Serialized Form

Method Summary
 boolean equals(java.lang.Object object)
          Compares two SessionIDs.
 byte[] getID()
          Returns the session id as byte array.
 int hashCode()
          Creates an integer suitable for hash table indexing.
 java.lang.String toString()
          Returns a string representation of this SessionID.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getID

public byte[] getID()
Returns the session id as byte array.


hashCode

public int hashCode()
Creates an integer suitable for hash table indexing.

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code for this SessionID

equals

public boolean equals(java.lang.Object object)
Compares two SessionIDs.

Overrides:
equals in class java.lang.Object
Parameters:
object - the SessionID to compare against
Returns:
true if the objects are the same; false otherwise.

toString

public java.lang.String toString()
Returns a string representation of this SessionID.

Overrides:
toString in class java.lang.Object
Returns:
a string representation

This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note).

iSaSiLk 5.104, (c) 2002 IAIK, (c) 2003 - 2015 SIC