net.minecraft.network.protocol.login

public class ServerboundKeyPacket

implements Packet<ServerLoginPacketListener>

uh
net.minecraft.network.protocol.login.ServerboundKeyPacket
net.minecraft.class_2917
net.minecraft.network.packet.c2s.login.LoginKeyC2SPacket
net.minecraft.network.login.client.CEncryptionResponsePacket
net.minecraft.server.v1_16_R2.PacketLoginInEncryptionBegin

Field summary

Modifier and TypeField
private byte[]
a
keybytes
field_13274
encryptedSecretKey
field_149302_a
private byte[]
b
nonce
field_13273
encryptedNonce
field_149301_b

Constructor summary

ModifierConstructor
public ()
public (SecretKey secretKey, PublicKey publicKey, byte[] nonce)

Method summary

Modifier and TypeMethod
public void
a(nf arg0)
read(FriendlyByteBuf arg0)
method_11053(class_2540 arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(nf arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public void
a(ue arg0)
handle(ServerLoginPacketListener arg0)
method_12653(class_2911 arg0)
apply(ServerLoginPacketListener arg0)
func_148833_a(IServerLoginNetHandler arg0)
public SecretKey
a(PrivateKey arg0)
getSecretKey(PrivateKey arg0)
method_12654(PrivateKey arg0)
decryptSecretKey(PrivateKey privateKey)
func_149300_a(PrivateKey arg0)
a(PrivateKey arg0)
public byte[]
b(PrivateKey arg0)
getNonce(PrivateKey arg0)
method_12655(PrivateKey arg0)
decryptNonce(PrivateKey privateKey)
func_149299_b(PrivateKey arg0)