Package net.handle.hdllib
Class ClientSideSessionInfo
java.lang.Object
net.handle.hdllib.SessionInfo
net.handle.hdllib.ClientSideSessionInfo
-
Field Summary
Fields inherited from class net.handle.hdllib.SessionInfo
authenticateMessage, encryptMessage, identityKeyHandle, identityKeyIndex, sessionId, sessionKey, timeOut -
Constructor Summary
ConstructorsConstructorDescriptionClientSideSessionInfo(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
Modifier and TypeMethodDescriptionbooleanReturns true if the given object is an equivalent ClientSideSessionInfo objectbyte[]byte[]intinthashCode()voidsetExchangeKeyRef(byte[] keyrefHandle, int keyrefindex) voidsetExchangePublicKey(byte[] key) voidtakeValuesFromOption(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 Details
-
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 Details
-
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
-
hashCode
public int hashCode()- Overrides:
hashCodein classSessionInfo
-
equals
Returns true if the given object is an equivalent ClientSideSessionInfo object- Overrides:
equalsin classSessionInfo
-