Package net.md_5.bungee.jni.cipher
Class NativeCipher
java.lang.Object
net.md_5.bungee.jni.cipher.NativeCipher
- All Implemented Interfaces:
BungeeCipher
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NativeCipher
public NativeCipher()
-
-
Method Details
-
init
- Specified by:
initin interfaceBungeeCipher- Throws:
GeneralSecurityException
-
free
public void free()- Specified by:
freein interfaceBungeeCipher
-
cipher
public void cipher(io.netty.buffer.ByteBuf in, io.netty.buffer.ByteBuf out) throws GeneralSecurityException - Specified by:
cipherin interfaceBungeeCipher- Throws:
GeneralSecurityException
-
cipher
public io.netty.buffer.ByteBuf cipher(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf in) throws GeneralSecurityException - Specified by:
cipherin interfaceBungeeCipher- Throws:
GeneralSecurityException
-
allowComposite
public boolean allowComposite()- Specified by:
allowCompositein interfaceBungeeCipher
-
getNativeCipher
public net.md_5.bungee.jni.cipher.NativeCipherImpl getNativeCipher()
-