Package net.md_5.bungee.jni.cipher
Interface BungeeCipher
- All Known Implementing Classes:
JavaCipher,NativeCipher
public interface BungeeCipher
Class to expose cipher methods from either native or fallback Java cipher.
-
Method Summary
-
Method Details
-
init
- Throws:
GeneralSecurityException
-
free
void free() -
cipher
void cipher(io.netty.buffer.ByteBuf in, io.netty.buffer.ByteBuf out) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
cipher
io.netty.buffer.ByteBuf cipher(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf in) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
allowComposite
boolean allowComposite()
-