Class LoginKeyC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.login.LoginKeyC2SPacket
- All Implemented Interfaces:
Packet<ServerLoginPacketListener>
- Mappings:
Namespace Name official yl
intermediary net/minecraft/class_2917
named net/minecraft/network/packet/c2s/login/LoginKeyC2SPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]
private final com.mojang.datafixers.util.Either<byte[],
NetworkEncryptionUtils.SignatureData> -
Constructor Summary
ConstructorsConstructorDescriptionLoginKeyC2SPacket
(SecretKey secretKey, PublicKey publicKey, byte[] nonce) LoginKeyC2SPacket
(SecretKey secretKey, PublicKey publicKey, long long2, byte[] byte2) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerLoginPacketListener serverLoginPacketListener) decryptSecretKey
(PrivateKey privateKey) boolean
method_43643
(byte[] byte2, PlayerPublicKey.class_7429 class_7429) boolean
method_43644
(byte[] byte2, 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
Lyl;a:[B
intermediary field_13274
Lnet/minecraft/class_2917;field_13274:[B
named encryptedSecretKey
Lnet/minecraft/network/packet/c2s/login/LoginKeyC2SPacket;encryptedSecretKey:[B
-
field_39089
private final com.mojang.datafixers.util.Either<byte[],NetworkEncryptionUtils.SignatureData> field_39089- Mappings:
Namespace Name Mixin selector official b
Lyl;b:Lcom/mojang/datafixers/util/Either;
intermediary field_39089
Lnet/minecraft/class_2917;field_39089:Lcom/mojang/datafixers/util/Either;
named field_39089
Lnet/minecraft/network/packet/c2s/login/LoginKeyC2SPacket;field_39089:Lcom/mojang/datafixers/util/Either;
-
-
Constructor Details
-
LoginKeyC2SPacket
public LoginKeyC2SPacket(SecretKey secretKey, PublicKey publicKey, byte[] nonce) throws NetworkEncryptionException - Throws:
NetworkEncryptionException
- Mappings:
Namespace Name Mixin selector official <init>
Lyl;<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
public LoginKeyC2SPacket(SecretKey secretKey, PublicKey publicKey, long long2, byte[] byte2) throws NetworkEncryptionException - Throws:
NetworkEncryptionException
-
LoginKeyC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lyl;<init>(Lqn;)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
Lry;a(Lqn;)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
Lyl;a(Lyi;)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
Lyl;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;
-
method_43643
- Mappings:
Namespace Name Mixin selector official a
Lyl;a([BLbrv$a;)Z
intermediary method_43643
Lnet/minecraft/class_2917;method_43643([BLnet/minecraft/class_7428$class_7429;)Z
named method_43643
Lnet/minecraft/network/packet/c2s/login/LoginKeyC2SPacket;method_43643([BLnet/minecraft/network/encryption/PlayerPublicKey$class_7429;)Z
-
method_43644
- Mappings:
Namespace Name Mixin selector official a
Lyl;a([BLjava/security/PrivateKey;)Z
intermediary method_43644
Lnet/minecraft/class_2917;method_43644([BLjava/security/PrivateKey;)Z
named method_43644
Lnet/minecraft/network/packet/c2s/login/LoginKeyC2SPacket;method_43644([BLjava/security/PrivateKey;)Z
-