private static final class FanOutOneBlockAsyncDFSOutputSaslHelper.EncryptHandler extends org.apache.hbase.thirdparty.io.netty.handler.codec.MessageToByteEncoder<org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf>
| Modifier and Type | Field and Description | 
|---|---|
| private org.apache.hadoop.crypto.Encryptor | encryptor | 
| Constructor and Description | 
|---|
| EncryptHandler(org.apache.hadoop.crypto.CryptoCodec codec,
              byte[] key,
              byte[] iv) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf | allocateBuffer(org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerContext ctx,
              org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf msg,
              boolean preferDirect) | 
| protected void | encode(org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerContext ctx,
      org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf msg,
      org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf out) | 
acceptOutboundMessage, isPreferDirect, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableprivate final org.apache.hadoop.crypto.Encryptor encryptor
public EncryptHandler(org.apache.hadoop.crypto.CryptoCodec codec, byte[] key, byte[] iv) throws GeneralSecurityException, IOException
GeneralSecurityExceptionIOExceptionprotected org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf allocateBuffer(org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerContext ctx, org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf msg, boolean preferDirect) throws Exception
allocateBuffer in class org.apache.hbase.thirdparty.io.netty.handler.codec.MessageToByteEncoder<org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf>Exceptionprotected void encode(org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerContext ctx, org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf msg, org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf out) throws Exception
encode in class org.apache.hbase.thirdparty.io.netty.handler.codec.MessageToByteEncoder<org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf>ExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.