net.handle.hdllib
Class ClientSideSessionInfo

java.lang.Object
  extended by net.handle.hdllib.SessionInfo
      extended by net.handle.hdllib.ClientSideSessionInfo

public class ClientSideSessionInfo
extends SessionInfo


Field Summary
 ServerInfo server
           
 
Fields inherited from class net.handle.hdllib.SessionInfo
authenticateMessage, encryptMessage, identityKeyHandle, identityKeyIndex, sessionId, sessionKey, timeOut
 
Constructor Summary
ClientSideSessionInfo(int sessionid, byte[] sessionkey, byte[] identityHandle, int identityindex, ServerInfo server)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if the given object is an equivalent ClientSideSessionInfo object
 byte[] getExchagePublicKey()
           
 byte[] getExchangeKeyRefHandle()
           
 int getExchangeKeyRefindex()
           
 void setExchangeKeyRef(byte[] keyrefHandle, int keyrefindex)
           
 void setExchangePublicKey(byte[] key)
           
 void takeValuesFromOption(SessionSetupInfo option)
           
 
Methods inherited from class net.handle.hdllib.SessionInfo
decryptBuffer, encryptBuffer, getAuthenticateMessageFlag, getDefaultTimeout, getEncryptedMesssageFlag, getEncryptionAlgorithmCode, getSessionID, getSessionKey, getTimeOut, hasExpired, isSessionAnonymous, setAuthenticateMessageFlag, setDefaultTimeout, setEncryptedMesssageFlag, setEncryptionAlgorithmCode, setSessionKey, setTimeOut, touch
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

public ServerInfo server
Constructor Detail

ClientSideSessionInfo

public ClientSideSessionInfo(int sessionid,
                             byte[] sessionkey,
                             byte[] identityHandle,
                             int identityindex,
                             ServerInfo server)
Method Detail

setExchangeKeyRef

public void setExchangeKeyRef(byte[] keyrefHandle,
                              int keyrefindex)

setExchangePublicKey

public void setExchangePublicKey(byte[] key)

getExchangeKeyRefHandle

public byte[] getExchangeKeyRefHandle()

getExchangeKeyRefindex

public int getExchangeKeyRefindex()

getExchagePublicKey

public byte[] getExchagePublicKey()

takeValuesFromOption

public void takeValuesFromOption(SessionSetupInfo option)

equals

public boolean equals(java.lang.Object obj)
Returns true if the given object is an equivalent ClientSideSessionInfo object

Overrides:
equals in class SessionInfo