Class CipherInputStream
java.lang.Object
java.io.InputStream
io.clonecloudstore.common.standard.inputstream.AbstractCommonInputStream
io.clonecloudstore.common.standard.inputstream.CipherInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
Cipher InputStream: takes an InputStream as entry and give back a crypt/decrypt InputStream
-
Field Summary
Fields inherited from class io.clonecloudstore.common.standard.inputstream.AbstractCommonInputStream
done, inputStream, ioExceptionAtomicReference, outputStream, pipedInputStream, pipedOutputStream, sizeOutput, sizeRead
-
Constructor Summary
ConstructorsConstructorDescriptionCipherInputStream
(InputStream inputStream, Cipher cipher) Constructor allowing to not flush on all packets -
Method Summary
Modifier and TypeMethodDescriptionprotected OutputStream
getNewOutputStream
(Object cipher) long
long
Methods inherited from class io.clonecloudstore.common.standard.inputstream.AbstractCommonInputStream
available, checkException, close, markSupported, read, read, read, skip, toString, transferTo
Methods inherited from class java.io.InputStream
mark, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skipNBytes
-
Constructor Details
-
CipherInputStream
Constructor allowing to not flush on all packets- Throws:
IOException
-
-
Method Details
-
getNewOutputStream
- Specified by:
getNewOutputStream
in classAbstractCommonInputStream
-
getSizeRead
public long getSizeRead() -
getSizeCipher
public long getSizeCipher()
-