public class JavaCipher extends java.lang.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,
javax.crypto.SecretKey key) |
public JavaCipher()
throws java.security.GeneralSecurityException
java.security.GeneralSecurityExceptionpublic void init(boolean forEncryption,
javax.crypto.SecretKey key)
throws java.security.GeneralSecurityException
init in interface BungeeCipherjava.security.GeneralSecurityExceptionpublic void cipher(io.netty.buffer.ByteBuf in,
io.netty.buffer.ByteBuf out)
throws javax.crypto.ShortBufferException
cipher in interface BungeeCipherjavax.crypto.ShortBufferExceptionpublic io.netty.buffer.ByteBuf cipher(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in)
throws javax.crypto.ShortBufferException
cipher in interface BungeeCipherjavax.crypto.ShortBufferExceptionpublic void free()
free in interface BungeeCipherCopyright © 2015-2018 WaterfallMC. All Rights Reserved.