com.jp.protection.pub
Class FileSecretStorage.EncryptOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.jp.protection.pub.FileSecretStorage.EncryptOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
- Enclosing class:
- FileSecretStorage
protected static class FileSecretStorage.EncryptOutputStream
- extends java.io.FilterOutputStream
Fields inherited from class java.io.FilterOutputStream |
out |
Methods inherited from class java.io.FilterOutputStream |
flush, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fByteArrayOutputStream
protected java.io.ByteArrayOutputStream fByteArrayOutputStream
fCipher
protected javax.crypto.Cipher fCipher
FileSecretStorage.EncryptOutputStream
public FileSecretStorage.EncryptOutputStream(java.io.OutputStream anOutputStream,
java.lang.String aPassword)
getOutputStream
public java.io.OutputStream getOutputStream()
write
public void write(int b)
throws java.io.IOException
- Overrides:
write
in class java.io.FilterOutputStream
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.FilterOutputStream
- Throws:
java.io.IOException