net.minecraft.network.protocol.login

public class ServerboundKeyPacket

implements Packet<ServerLoginPacketListener>

xq
net.minecraft.network.protocol.login.ServerboundKeyPacket
net.minecraft.class_2917
net.minecraft.network.packet.c2s.login.LoginKeyC2SPacket
net.minecraft.src.C_5212_
net.minecraft.network.protocol.login.PacketLoginInEncryptionBegin

Field summary

Modifier and TypeField
private final byte[]
a
keybytes
field_13274
encryptedSecretKey
f_134852_
private final byte[]
b
nonce
field_13273
encryptedNonce
f_134853_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(py arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(xn arg0)
handle(ServerLoginPacketListener arg0)
method_12653(class_2911 arg0)
apply(ServerLoginPacketListener arg0)
m_5797_(C_5209_ arg0)
public SecretKey
a(PrivateKey arg0)
getSecretKey(PrivateKey arg0)
method_12654(PrivateKey arg0)
decryptSecretKey(PrivateKey privateKey)
m_134859_(PrivateKey arg0)
public byte[]
b(PrivateKey arg0)
getNonce(PrivateKey arg0)
method_12655(PrivateKey arg0)
decryptNonce(PrivateKey privateKey)
m_134867_(PrivateKey arg0)