Acme.Crypto.EncryptedOutputStream Class Reference

List of all members.

Detailed Description

An OutputStream that supports encryption.

Definition at line 61 of file EncryptedOutputStream.java.

Public Member Functions

 EncryptedOutputStream (BlockCipher blockCipher, OutputStream out) throws IOException
 Constructor for block ciphers.
 EncryptedOutputStream (StreamCipher streamCipher, OutputStream out)
 Constructor for stream ciphers.
void setKey (String keyStr)
 Set the key.
void setEncrypting (boolean encrypting) throws IOException
 Encrypting can be enabled or disabled temporarily.
void write (int b) throws IOException
 Write a byte.
void write (byte b[], int off, int len) throws IOException
 Write some bytes.
void flush () throws IOException
 Flush the stream. This will write any buffered output bytes.


The documentation for this class was generated from the following file:
Generated on Mon Dec 4 11:03:32 2006 for OpenMobileIS by  doxygen 1.5.1-p1