public class EncryptionInputStream extends EncodeInputStream<EncryptionMetadata>
| Constructor and Description |
|---|
EncryptionInputStream(java.io.InputStream originalStream,
java.lang.String encodeSpec,
javax.crypto.Cipher cipher,
java.lang.String encryptedKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
EncryptionMetadata |
getEncodeMetadata() |
addListener, getChainHead, getNext, notifyListeners, removeListenerpublic EncryptionInputStream(java.io.InputStream originalStream,
java.lang.String encodeSpec,
javax.crypto.Cipher cipher,
java.lang.String encryptedKey)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterInputStreamjava.io.IOExceptionpublic EncryptionMetadata getEncodeMetadata()