Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

Acme.Crypto.EncryptedInputStream Class Reference

List of all members.

Detailed Description

An InputStream that supports encryption.

Definition at line 61 of file EncryptedInputStream.java.

Public Member Functions

 EncryptedInputStream (BlockCipher blockCipher, InputStream in)
 Constructor for block ciphers.
 EncryptedInputStream (StreamCipher streamCipher, InputStream in)
 Constructor for stream ciphers.
void setKey (String keyStr)
 Set the key.
void setDecrypting (boolean decrypting) throws IOException
 Decrypting can be enabled or disabled temporarily.
int read () throws IOException
 Read a byte of data.
int read (byte[] b, int off, int len) throws IOException
 Read into an array of bytes. This is a fixed version.


The documentation for this class was generated from the following file:
Generated on Wed Dec 14 21:05:36 2005 for OpenMobileIS by  doxygen 1.4.4