Package net.glowstone.net.message.login
Class EncryptionKeyResponseWithSignature
java.lang.Object
net.glowstone.net.message.login.EncryptionKeyResponseMessage
net.glowstone.net.message.login.EncryptionKeyResponseWithSignature
- All Implemented Interfaces:
com.flowpowered.network.AsyncableMessage
,com.flowpowered.network.Message
-
Constructor Summary
ConstructorDescriptionEncryptionKeyResponseWithSignature
(byte[] sharedSecret, long salt, byte[] messageSignature) -
Method Summary
Methods inherited from class net.glowstone.net.message.login.EncryptionKeyResponseMessage
getSharedSecret, hasVerifyToken, isAsync
-
Constructor Details
-
EncryptionKeyResponseWithSignature
public EncryptionKeyResponseWithSignature(byte[] sharedSecret, long salt, byte[] messageSignature)
-
-
Method Details
-
getSalt
public long getSalt() -
getMessageSignature
public byte[] getMessageSignature() -
toString
- Specified by:
toString
in interfacecom.flowpowered.network.Message
- Overrides:
toString
in classEncryptionKeyResponseMessage
-
equals
- Specified by:
equals
in interfacecom.flowpowered.network.Message
- Overrides:
equals
in classEncryptionKeyResponseMessage
-
canEqual
- Overrides:
canEqual
in classEncryptionKeyResponseMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.flowpowered.network.Message
- Overrides:
hashCode
in classEncryptionKeyResponseMessage
-