Package net.minecraft.network.encryption
Class PacketEncryptionManager
java.lang.Object
net.minecraft.network.encryption.PacketEncryptionManager
- Mappings:
Namespace Name intermediary net/minecraft/class_2524official rynamed net/minecraft/network/encryption/PacketEncryptionManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ByteBufdecrypt(ChannelHandlerContext context, ByteBuf buf) protected voidprivate byte[]toByteArray(ByteBuf buf)
-
Field Details
-
cipher
- Mappings:
Namespace Name Mixin selector intermediary field_11612Lnet/minecraft/class_2524;field_11612:Ljavax/crypto/Cipher;official aLry;a:Ljavax/crypto/Cipher;named cipherLnet/minecraft/network/encryption/PacketEncryptionManager;cipher:Ljavax/crypto/Cipher;
-
conversionBuffer
private byte[] conversionBuffer- Mappings:
Namespace Name Mixin selector intermediary field_11613Lnet/minecraft/class_2524;field_11613:[Bofficial bLry;b:[Bnamed conversionBufferLnet/minecraft/network/encryption/PacketEncryptionManager;conversionBuffer:[B
-
encryptionBuffer
private byte[] encryptionBuffer- Mappings:
Namespace Name Mixin selector intermediary field_11614Lnet/minecraft/class_2524;field_11614:[Bofficial cLry;c:[Bnamed encryptionBufferLnet/minecraft/network/encryption/PacketEncryptionManager;encryptionBuffer:[B
-
-
Constructor Details
-
PacketEncryptionManager
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_2524;<init>(Ljavax/crypto/Cipher;)Vofficial <init>Lry;<init>(Ljavax/crypto/Cipher;)Vnamed <init>Lnet/minecraft/network/encryption/PacketEncryptionManager;<init>(Ljavax/crypto/Cipher;)V
-
-
Method Details
-
toByteArray
- Mappings:
Namespace Name Mixin selector intermediary method_10733Lnet/minecraft/class_2524;method_10733(Lio/netty/buffer/ByteBuf;)[Bofficial aLry;a(Lio/netty/buffer/ByteBuf;)[Bnamed toByteArrayLnet/minecraft/network/encryption/PacketEncryptionManager;toByteArray(Lio/netty/buffer/ByteBuf;)[B
-
decrypt
- Throws:
ShortBufferException- Mappings:
Namespace Name Mixin selector intermediary method_10734Lnet/minecraft/class_2524;method_10734(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;official aLry;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;named decryptLnet/minecraft/network/encryption/PacketEncryptionManager;decrypt(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
-
encrypt
- Throws:
ShortBufferException- Mappings:
Namespace Name Mixin selector intermediary method_10732Lnet/minecraft/class_2524;method_10732(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)Vofficial aLry;a(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)Vnamed encryptLnet/minecraft/network/encryption/PacketEncryptionManager;encrypt(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
-