Class cryptiX.crypto.EncryptedOutputStream
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptiX.crypto.EncryptedOutputStream

java.lang.Object
   |
   +----java.io.OutputStream
           |
           +----java.io.FilterOutputStream
                   |
                   +----cryptiX.crypto.EncryptedOutputStream

public class EncryptedOutputStream
extends FilterOutputStream

Constructor Index

 o EncryptedOutputStream(BlockCipher, OutputStream)
 o EncryptedOutputStream(StreamCipher, OutputStream)

Method Index

 o flush()
 o setEncrypting(boolean)
 o setKey(String)
 o write(byte[], int, int)
 o write(int)

Constructors

 o EncryptedOutputStream
  public EncryptedOutputStream(BlockCipher blockCipher,
                               OutputStream out) throws IOException
 o EncryptedOutputStream
  public EncryptedOutputStream(StreamCipher streamCipher,
                               OutputStream out)

Methods

 o setKey
  public void setKey(String keyStr)
 o setEncrypting
  public void setEncrypting(boolean encrypting) throws IOException
 o write
  public void write(int b) throws IOException
Overrides:
write in class FilterOutputStream
 o write
  public void write(byte b[],
                    int off,
                    int len) throws IOException
Overrides:
write in class FilterOutputStream
 o flush
  public void flush() throws IOException
Overrides:
flush in class FilterOutputStream

All Packages  Class Hierarchy  This Package  Previous  Next  Index