org.apache.hadoop.fs.crypto
Class CryptoFSDataInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.DataInputStream
              extended by org.apache.hadoop.fs.FSDataInputStream
                  extended by org.apache.hadoop.fs.crypto.CryptoFSDataInputStream
All Implemented Interfaces:
Closeable, DataInput, ByteBufferReadable, CanSetDropBehind, CanSetReadahead, org.apache.hadoop.fs.HasEnhancedByteBufferAccess, org.apache.hadoop.fs.HasFileDescriptor, PositionedReadable, Seekable

public class CryptoFSDataInputStream
extends FSDataInputStream


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
CryptoFSDataInputStream(FSDataInputStream in, org.apache.hadoop.crypto.CryptoCodec codec, byte[] key, byte[] iv)
           
CryptoFSDataInputStream(FSDataInputStream in, org.apache.hadoop.crypto.CryptoCodec codec, int bufferSize, byte[] key, byte[] iv)
           
 
Method Summary
 
Methods inherited from class org.apache.hadoop.fs.FSDataInputStream
getFileDescriptor, getPos, read, read, read, read, readFully, readFully, releaseBuffer, seek, seekToNewSource, setDropBehind, setReadahead
 
Methods inherited from class java.io.DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CryptoFSDataInputStream

public CryptoFSDataInputStream(FSDataInputStream in,
                               org.apache.hadoop.crypto.CryptoCodec codec,
                               int bufferSize,
                               byte[] key,
                               byte[] iv)
                        throws IOException
Throws:
IOException

CryptoFSDataInputStream

public CryptoFSDataInputStream(FSDataInputStream in,
                               org.apache.hadoop.crypto.CryptoCodec codec,
                               byte[] key,
                               byte[] iv)
                        throws IOException
Throws:
IOException


Copyright © 2014 Apache Software Foundation. All Rights Reserved.