Package org.nuxeo.ecm.core.blob
Class AESBlobStore.DecryptingInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.nuxeo.ecm.core.blob.AESBlobStore.DecryptingInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- AESBlobStore
public static class AESBlobStore.DecryptingInputStream extends FilterInputStream
Input stream that decrypts while reading.See
AESBlobStore.EncryptingOutputStream
for the stream format.- See Also:
AESBlobStore.EncryptingOutputStream
-
-
Field Summary
Fields Modifier and Type Field Description protected AESBlobStoreConfiguration
aesConfig
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Constructor Description DecryptingInputStream(InputStream in, AESBlobStoreConfiguration aesConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
readHeader()
-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Field Detail
-
aesConfig
protected final AESBlobStoreConfiguration aesConfig
-
-
Constructor Detail
-
DecryptingInputStream
public DecryptingInputStream(InputStream in, AESBlobStoreConfiguration aesConfig) throws IOException
- Throws:
IOException
-
-
Method Detail
-
readHeader
protected void readHeader() throws IOException
- Throws:
IOException
-
-