net.minecraft.network.protocol.login

public class ServerboundKeyPacket

implements Packet<ServerLoginPacketListener>

ajb
net.minecraft.network.protocol.login.ServerboundKeyPacket
net.minecraft.class_2917
net.minecraft.unmapped.C_rcidxqma
net.minecraft.network.packet.c2s.login.LoginKeyC2SPacket
net.minecraft.network.packet.c2s.login.LoginKeyC2SPacket
net.minecraft.src.C_5212_
net.minecraft.network.protocol.login.PacketLoginInEncryptionBegin

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundKeyPacket>
a
STREAM_CODEC
field_48251
f_pmfhcqzz
CODEC
CODEC
f_313962_
private final byte[]
b
keybytes
field_13274
f_bjbxlwjw
encryptedSecretKey
encryptedSecretKey
f_134852_
private final byte[]
c
encryptedChallenge
field_39089
f_vgkorjli
nonce
nonce
f_252408_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_56021(class_2540 arg0)
m_meyotyzp(C_idfydwco arg0)
write(PacketByteBuf buf)
write(PacketByteBuf buf)
m_134869_(C_4983_ arg0)
public PacketType<ServerboundKeyPacket>
a()
type()
method_65080()
m_bbocywrf()
getPacketType()
getType()
m_5779_()
public void
a(aiy arg0)
handle(ServerLoginPacketListener arg0)
method_12653(class_2911 arg0)
m_bbhnxbuj(C_kqippvwp arg0)
apply(ServerLoginPacketListener arg0)
apply(ServerLoginPacketListener arg0)
m_5797_(C_5209_ arg0)
public SecretKey
a(PrivateKey arg0)
getSecretKey(PrivateKey arg0)
method_12654(PrivateKey arg0)
m_dyzaztqu(PrivateKey arg0)
decryptSecretKey(PrivateKey privateKey)
decryptSecretKey(PrivateKey privateKey)
m_134859_(PrivateKey arg0)
public boolean
a(byte[] arg0, PrivateKey arg1)
isChallengeValid(byte[] arg0, PrivateKey arg1)
method_43643(byte[] arg0, PrivateKey arg1)
m_lrtkxmuo(byte[] arg0, PrivateKey arg1)
verifySignedNonce(byte[] nonce, PrivateKey privateKey)
matchesNonce(byte[] nonce, PrivateKey privateKey)
m_253194_(byte[] p_253763_, PrivateKey arg1)