Class LoginKeyC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.login.LoginKeyC2SPacket
- All Implemented Interfaces:
Packet<ServerLoginPacketListener>
- Mappings:
Namespace Name official vu
intermediary net/minecraft/class_2917
named net/minecraft/network/packet/c2s/login/LoginKeyC2SPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final byte[]
private final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerLoginPacketListener serverLoginPacketListener) byte[]
decryptNonce
(PrivateKey privateKey) decryptSecretKey
(PrivateKey privateKey) void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
encryptedSecretKey
private final byte[] encryptedSecretKey- Mappings:
Namespace Name Mixin selector official a
Lvu;a:[B
intermediary field_13274
Lnet/minecraft/class_2917;field_13274:[B
named encryptedSecretKey
Lnet/minecraft/network/packet/c2s/login/LoginKeyC2SPacket;encryptedSecretKey:[B
-
encryptedNonce
private final byte[] encryptedNonce- Mappings:
Namespace Name Mixin selector official b
Lvu;b:[B
intermediary field_13273
Lnet/minecraft/class_2917;field_13273:[B
named encryptedNonce
Lnet/minecraft/network/packet/c2s/login/LoginKeyC2SPacket;encryptedNonce:[B
-
-
Constructor Details
-
LoginKeyC2SPacket
public LoginKeyC2SPacket(SecretKey secretKey, PublicKey publicKey, byte[] nonce) throws NetworkEncryptionException - Throws:
NetworkEncryptionException
- Mappings:
Namespace Name Mixin selector official <init>
Lvu;<init>(Ljavax/crypto/SecretKey;Ljava/security/PublicKey;[B)V
intermediary <init>
Lnet/minecraft/class_2917;<init>(Ljavax/crypto/SecretKey;Ljava/security/PublicKey;[B)V
named <init>
Lnet/minecraft/network/packet/c2s/login/LoginKeyC2SPacket;<init>(Ljavax/crypto/SecretKey;Ljava/security/PublicKey;[B)V
-
LoginKeyC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lvu;<init>(Log;)V
intermediary <init>
Lnet/minecraft/class_2917;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/c2s/login/LoginKeyC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ServerLoginPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpk;a(Log;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ServerLoginPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lvu;a(Lvr;)V
intermediary method_12653
Lnet/minecraft/class_2917;method_12653(Lnet/minecraft/class_2911;)V
named apply
Lnet/minecraft/network/packet/c2s/login/LoginKeyC2SPacket;apply(Lnet/minecraft/network/listener/ServerLoginPacketListener;)V
-
decryptSecretKey
- Throws:
NetworkEncryptionException
- Mappings:
Namespace Name Mixin selector official a
Lvu;a(Ljava/security/PrivateKey;)Ljavax/crypto/SecretKey;
intermediary method_12654
Lnet/minecraft/class_2917;method_12654(Ljava/security/PrivateKey;)Ljavax/crypto/SecretKey;
named decryptSecretKey
Lnet/minecraft/network/packet/c2s/login/LoginKeyC2SPacket;decryptSecretKey(Ljava/security/PrivateKey;)Ljavax/crypto/SecretKey;
-
decryptNonce
- Throws:
NetworkEncryptionException
- Mappings:
Namespace Name Mixin selector official b
Lvu;b(Ljava/security/PrivateKey;)[B
intermediary method_12655
Lnet/minecraft/class_2917;method_12655(Ljava/security/PrivateKey;)[B
named decryptNonce
Lnet/minecraft/network/packet/c2s/login/LoginKeyC2SPacket;decryptNonce(Ljava/security/PrivateKey;)[B
-