Class CEncryptionResponsePacket
java.lang.Object
net.minecraft.network.login.client.CEncryptionResponsePacket
- All Implemented Interfaces:
IPacket<IServerLoginNetHandler>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCEncryptionResponsePacket
(SecretKey p_i46851_1_, PublicKey p_i46851_2_, byte[] p_i46851_3_) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getNonce
(PrivateKey p_149299_1_) getSecretKey
(PrivateKey p_149300_1_) void
handle
(IServerLoginNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
keybytes
private byte[] keybytes -
nonce
private byte[] nonce
-
-
Constructor Details
-
CEncryptionResponsePacket
public CEncryptionResponsePacket() -
CEncryptionResponsePacket
public CEncryptionResponsePacket(SecretKey p_i46851_1_, PublicKey p_i46851_2_, byte[] p_i46851_3_) throws CryptException - Throws:
CryptException
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IServerLoginNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IServerLoginNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IServerLoginNetHandler>
-
getSecretKey
- Throws:
CryptException
-
getNonce
- Throws:
CryptException
-