Class ChunkedCipherInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.docx4j.org.apache.poi.util.LittleEndianInputStream
org.docx4j.org.apache.poi.poifs.crypt.ChunkedCipherInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable,LittleEndianInput
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
ConstructorsConstructorDescriptionChunkedCipherInputStream(LittleEndianInput stream, long size, int chunkSize) -
Method Summary
Methods inherited from class org.docx4j.org.apache.poi.util.LittleEndianInputStream
readByte, readDouble, readFully, readFully, readInt, readLong, readShort, readUByte, readUInt, readUShortMethods inherited from class java.io.FilterInputStream
close, readMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
ChunkedCipherInputStream
public ChunkedCipherInputStream(LittleEndianInput stream, long size, int chunkSize) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
-
Method Details
-
initCipherForBlock
protected abstract Cipher initCipherForBlock(Cipher existing, int block) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classFilterInputStream- Throws:
IOException
-
available
public int available()- Specified by:
availablein interfaceLittleEndianInput- Overrides:
availablein classLittleEndianInputStream
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classFilterInputStream
-
mark
public void mark(int readlimit) - Overrides:
markin classFilterInputStream
-
reset
- Overrides:
resetin classFilterInputStream- Throws:
IOException
-