org.bouncycastle.crypto.io
Class CipherOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by org.bouncycastle.crypto.io.CipherOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class CipherOutputStream
extends FilterOutputStream


Constructor Summary
CipherOutputStream(OutputStream par1OutputStream, BufferedBlockCipher par2BufferedBlockCipher)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(byte[] par1)
           
 void write(byte[] par1, int par2, int par3)
           
 void write(int par1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CipherOutputStream

public CipherOutputStream(OutputStream par1OutputStream,
                          BufferedBlockCipher par2BufferedBlockCipher)
Method Detail

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