Class ServerboundKeyPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.login.serverbound.ServerboundKeyPacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundKeyPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) ServerboundKeyPacket(PublicKey publicKey, SecretKey secretKey, byte[] challenge) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanbyte[]getEncryptedChallenge(PrivateKey privateKey) getSecretKey(PrivateKey privateKey) inthashCode()voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.mcprotocollib.network.packet.Packet
isTerminal, shouldRunOnGameThread
-
Constructor Details
-
ServerboundKeyPacket
-
ServerboundKeyPacket
-
-
Method Details