Class SEncryptionRequestPacket
java.lang.Object
net.minecraft.network.login.server.SEncryptionRequestPacket
- All Implemented Interfaces:
IPacket<IClientLoginNetHandler>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSEncryptionRequestPacket
(String p_i244727_1_, byte[] p_i244727_2_, byte[] p_i244727_3_) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getNonce()
void
handle
(IClientLoginNetHandler 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
-
serverId
-
publicKey
private byte[] publicKey -
nonce
private byte[] nonce
-
-
Constructor Details
-
SEncryptionRequestPacket
public SEncryptionRequestPacket() -
SEncryptionRequestPacket
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IClientLoginNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientLoginNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientLoginNetHandler>
-
getServerId
-
getPublicKey
- Throws:
CryptException
-
getNonce
public byte[] getNonce()
-