Class CryptoAPIDecryptor.SeekableByteArrayInputStream
java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
org.docx4j.org.apache.poi.poifs.crypt.cryptoapi.CryptoAPIDecryptor.SeekableByteArrayInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- CryptoAPIDecryptor
-
Field Summary
FieldsFields inherited from class java.io.ByteArrayInputStream
buf, count, mark, pos -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.ByteArrayInputStream
available, close, mark, markSupported, readAllBytes, readNBytes, reset, skip, transferToMethods inherited from class java.io.InputStream
nullInputStream, read, readNBytes, skipNBytes
-
Field Details
-
cipher
Cipher cipher -
oneByte
byte[] oneByte
-
-
Constructor Details
-
SeekableByteArrayInputStream
- Throws:
GeneralSecurityException
-
-
Method Details
-
seek
public void seek(int pos) -
setBlock
- Throws:
GeneralSecurityException
-
read
public int read()- Overrides:
readin classByteArrayInputStream
-
read
public int read(byte[] b, int off, int len) - Overrides:
readin classByteArrayInputStream
-