public class JavaCipher extends Object implements BungeeCipher
| Constructor and Description |
|---|
JavaCipher() |
| Modifier and Type | Method and Description |
|---|---|
void |
cipher(io.netty.buffer.ByteBuf in,
io.netty.buffer.ByteBuf out) |
io.netty.buffer.ByteBuf |
cipher(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in) |
void |
free() |
void |
init(boolean forEncryption,
SecretKey key) |
public JavaCipher()
throws GeneralSecurityException
GeneralSecurityExceptionpublic void init(boolean forEncryption,
SecretKey key)
throws GeneralSecurityException
init in interface BungeeCipherGeneralSecurityExceptionpublic void cipher(io.netty.buffer.ByteBuf in,
io.netty.buffer.ByteBuf out)
throws ShortBufferException
cipher in interface BungeeCipherShortBufferExceptionpublic io.netty.buffer.ByteBuf cipher(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in)
throws ShortBufferException
cipher in interface BungeeCipherShortBufferExceptionpublic void free()
free in interface BungeeCipherCopyright © 2015–2020 WaterfallMC. All rights reserved.