类 PacketEncryptionManager
- java.lang.Object
-
- net.minecraft.network.encryption.PacketEncryptionManager
-
public class PacketEncryptionManager extends Object
- Mappings:
Namespace Name official nuintermediary net/minecraft/class_2524named net/minecraft/network/encryption/PacketEncryptionManager
-
-
字段概要
字段 修饰符和类型 字段 说明 private Ciphercipherprivate byte[]conversionBufferprivate byte[]encryptionBuffer
-
构造器概要
构造器 限定符 构造器 说明 protectedPacketEncryptionManager(Cipher cipher)
-
-
-
字段详细资料
-
cipher
private final Cipher cipher
- Mappings:
Namespace Name Mixin selector official aLnu;a:Ljavax/crypto/Cipher;intermediary field_11612Lnet/minecraft/class_2524;field_11612:Ljavax/crypto/Cipher;named cipherLnet/minecraft/network/encryption/PacketEncryptionManager;cipher:Ljavax/crypto/Cipher;
-
conversionBuffer
private byte[] conversionBuffer
- Mappings:
Namespace Name Mixin selector official bLnu;b:[Bintermediary field_11613Lnet/minecraft/class_2524;field_11613:[Bnamed conversionBufferLnet/minecraft/network/encryption/PacketEncryptionManager;conversionBuffer:[B
-
encryptionBuffer
private byte[] encryptionBuffer
- Mappings:
Namespace Name Mixin selector official cLnu;c:[Bintermediary field_11614Lnet/minecraft/class_2524;field_11614:[Bnamed encryptionBufferLnet/minecraft/network/encryption/PacketEncryptionManager;encryptionBuffer:[B
-
-
构造器详细资料
-
PacketEncryptionManager
protected PacketEncryptionManager(Cipher cipher)
-
-
方法详细资料
-
toByteArray
private byte[] toByteArray(ByteBuf byteBuf)
- Mappings:
Namespace Name Mixin selector official aLnu;a(Lio/netty/buffer/ByteBuf;)[Bintermediary method_10733Lnet/minecraft/class_2524;method_10733(Lio/netty/buffer/ByteBuf;)[Bnamed toByteArrayLnet/minecraft/network/encryption/PacketEncryptionManager;toByteArray(Lio/netty/buffer/ByteBuf;)[B
-
decrypt
protected ByteBuf decrypt(ChannelHandlerContext context, ByteBuf byteBuf) throws ShortBufferException
- 抛出:
ShortBufferException- Mappings:
Namespace Name Mixin selector official aLnu;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;intermediary method_10734Lnet/minecraft/class_2524;method_10734(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
protected void encrypt(ByteBuf buffer, ByteBuf byteBuf) throws ShortBufferException
- 抛出:
ShortBufferException- Mappings:
Namespace Name Mixin selector official aLnu;a(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)Vintermediary method_10732Lnet/minecraft/class_2524;method_10732(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)Vnamed encryptLnet/minecraft/network/encryption/PacketEncryptionManager;encrypt(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
-
-