Class SEncryptionRequestPacket
java.lang.Object
net.minecraft.network.login.server.SEncryptionRequestPacket
- All Implemented Interfaces:
IPacket<IClientLoginNetHandler>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSEncryptionRequestPacket(String p_i244727_1_, byte[] p_i244727_2_, byte[] p_i244727_3_) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getNonce()voidhandle(IClientLoginNetHandler p_148833_1_) voidread(PacketBuffer p_148837_1_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
readin interfaceIPacket<IClientLoginNetHandler>- Throws:
IOException
-
write
- Specified by:
writein interfaceIPacket<IClientLoginNetHandler>- Throws:
IOException
-
handle
- Specified by:
handlein interfaceIPacket<IClientLoginNetHandler>
-
getServerId
-
getPublicKey
- Throws:
CryptException
-
getNonce
public byte[] getNonce()
-