@Internal public abstract class ChunkedCipherInputStream extends LittleEndianInputStream
| Constructor and Description |
|---|
ChunkedCipherInputStream(LittleEndianInput stream,
long size,
int chunkSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
protected abstract javax.crypto.Cipher |
initCipherForBlock(javax.crypto.Cipher existing,
int block) |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
readByte, readDouble, readFully, readFully, readInt, readLong, readShort, readUByte, readUInt, readUShortpublic ChunkedCipherInputStream(LittleEndianInput stream, long size, int chunkSize) throws java.security.GeneralSecurityException
java.security.GeneralSecurityExceptionprotected abstract javax.crypto.Cipher initCipherForBlock(javax.crypto.Cipher existing,
int block)
throws java.security.GeneralSecurityException
java.security.GeneralSecurityExceptionpublic int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.FilterInputStreamjava.io.IOExceptionpublic int available()
available in interface LittleEndianInputavailable in class LittleEndianInputStreampublic boolean markSupported()
markSupported in class java.io.FilterInputStreampublic void mark(int readlimit)
mark in class java.io.FilterInputStreampublic void reset()
throws java.io.IOException
reset in class java.io.FilterInputStreamjava.io.IOExceptionCopyright 2017 The Apache Software Foundation or its licensors, as applicable.