Package net.handle.hdllib
Class ClientSideSessionInfo
- java.lang.Object
-
- net.handle.hdllib.SessionInfo
-
- net.handle.hdllib.ClientSideSessionInfo
-
public class ClientSideSessionInfo extends SessionInfo
-
-
Field Summary
-
Fields inherited from class net.handle.hdllib.SessionInfo
authenticateMessage, encryptMessage, identityKeyHandle, identityKeyIndex, sessionId, sessionKey, timeOut
-
-
Constructor Summary
Constructors Constructor Description ClientSideSessionInfo(int sessionid, byte[] sessionkey, byte[] identityHandle, int identityindex, int algorithmCode, ServerInfo server, int majorProtocolVersion, int minorProtocolVersion)
ClientSideSessionInfo(int sessionid, byte[] sessionkey, byte[] identityHandle, int identityindex, ServerInfo server, int majorProtocolVersion, int minorProtocolVersion)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Returns true if the given object is an equivalent ClientSideSessionInfo objectbyte[]
getExchagePublicKey()
byte[]
getExchangeKeyRefHandle()
int
getExchangeKeyRefindex()
int
hashCode()
void
setExchangeKeyRef(byte[] keyrefHandle, int keyrefindex)
void
setExchangePublicKey(byte[] key)
void
takeValuesFromOption(SessionSetupInfo option)
-
Methods inherited from class net.handle.hdllib.SessionInfo
addSessionCounter, decryptBuffer, encryptBuffer, getAuthenticateMessageFlag, getDefaultTimeout, getEncryptedMesssageFlag, getEncryptionAlgorithmCode, getMajorProtocolVersion, getMinorProtocolVersion, getNextSessionCounter, getSessionID, getSessionKey, getTimeOut, hasExpired, isSessionAnonymous, setAuthenticateMessageFlag, setDefaultTimeout, setEncryptedMesssageFlag, setEncryptionAlgorithmCode, setSessionKey, setTimeOut, touch
-
-
-
-
Constructor Detail
-
ClientSideSessionInfo
@Deprecated public ClientSideSessionInfo(int sessionid, byte[] sessionkey, byte[] identityHandle, int identityindex, ServerInfo server, int majorProtocolVersion, int minorProtocolVersion)
Deprecated.
-
ClientSideSessionInfo
public ClientSideSessionInfo(int sessionid, byte[] sessionkey, byte[] identityHandle, int identityindex, int algorithmCode, ServerInfo server, int majorProtocolVersion, int minorProtocolVersion)
-
-
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)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSessionInfo
-
equals
public boolean equals(java.lang.Object obj)
Returns true if the given object is an equivalent ClientSideSessionInfo object- Overrides:
equals
in classSessionInfo
-
-