Package net.minecraft.network.encryption
Class PacketEncryptionManager
java.lang.Object
net.minecraft.network.encryption.PacketEncryptionManager
- Mappings:
Namespace Name named net/minecraft/network/encryption/PacketEncryptionManager
intermediary net/minecraft/class_2524
official wj
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ByteBuf
decrypt
(ChannelHandlerContext context, ByteBuf buf) protected void
private byte[]
toByteArray
(ByteBuf buf)
-
Field Details
-
cipher
- Mappings:
Namespace Name Mixin selector named cipher
Lnet/minecraft/network/encryption/PacketEncryptionManager;cipher:Ljavax/crypto/Cipher;
intermediary field_11612
Lnet/minecraft/class_2524;field_11612:Ljavax/crypto/Cipher;
official a
Lwj;a:Ljavax/crypto/Cipher;
-
conversionBuffer
private byte[] conversionBuffer- Mappings:
Namespace Name Mixin selector named conversionBuffer
Lnet/minecraft/network/encryption/PacketEncryptionManager;conversionBuffer:[B
intermediary field_11613
Lnet/minecraft/class_2524;field_11613:[B
official b
Lwj;b:[B
-
encryptionBuffer
private byte[] encryptionBuffer- Mappings:
Namespace Name Mixin selector named encryptionBuffer
Lnet/minecraft/network/encryption/PacketEncryptionManager;encryptionBuffer:[B
intermediary field_11614
Lnet/minecraft/class_2524;field_11614:[B
official c
Lwj;c:[B
-
-
Constructor Details
-
PacketEncryptionManager
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/encryption/PacketEncryptionManager;<init>(Ljavax/crypto/Cipher;)V
intermediary <init>
Lnet/minecraft/class_2524;<init>(Ljavax/crypto/Cipher;)V
official <init>
Lwj;<init>(Ljavax/crypto/Cipher;)V
-
-
Method Details
-
toByteArray
- Mappings:
Namespace Name Mixin selector named toByteArray
Lnet/minecraft/network/encryption/PacketEncryptionManager;toByteArray(Lio/netty/buffer/ByteBuf;)[B
intermediary method_10733
Lnet/minecraft/class_2524;method_10733(Lio/netty/buffer/ByteBuf;)[B
official a
Lwj;a(Lio/netty/buffer/ByteBuf;)[B
-
decrypt
- Throws:
ShortBufferException
- Mappings:
Namespace Name Mixin selector named decrypt
Lnet/minecraft/network/encryption/PacketEncryptionManager;decrypt(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
intermediary method_10734
Lnet/minecraft/class_2524;method_10734(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
official a
Lwj;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
-
encrypt
- Throws:
ShortBufferException
- Mappings:
Namespace Name Mixin selector named encrypt
Lnet/minecraft/network/encryption/PacketEncryptionManager;encrypt(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
intermediary method_10732
Lnet/minecraft/class_2524;method_10732(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
official a
Lwj;a(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
-