org.bouncycastle.crypto.io
Class CipherOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.bouncycastle.crypto.io.CipherOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class CipherOutputStream
- extends FilterOutputStream
Method Summary |
void |
close()
|
void |
flush()
|
void |
write(byte[] par1)
|
void |
write(byte[] par1,
int par2,
int par3)
|
void |
write(int par1)
|
CipherOutputStream
public CipherOutputStream(OutputStream par1OutputStream,
BufferedBlockCipher par2BufferedBlockCipher)
write
public void write(int par1)
throws IOException
- Overrides:
write
in class FilterOutputStream
- Throws:
IOException
write
public void write(byte[] par1)
throws IOException
- Overrides:
write
in class FilterOutputStream
- Throws:
IOException
write
public void write(byte[] par1,
int par2,
int par3)
throws IOException
- Overrides:
write
in class FilterOutputStream
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush
in interface Flushable
- Overrides:
flush
in class FilterOutputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class FilterOutputStream
- Throws:
IOException