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

Class cryptiX.crypto.EncryptedInputStream

java.lang.Object
   |
   +----java.io.InputStream
           |
           +----java.io.FilterInputStream
                   |
                   +----cryptiX.crypto.EncryptedInputStream

public class EncryptedInputStream
extends FilterInputStream

Constructor Index

 o EncryptedInputStream(BlockCipher, InputStream)
 o EncryptedInputStream(StreamCipher, InputStream)

Method Index

 o read()
 o read(byte[], int, int)
 o setDecrypting(boolean)
 o setKey(String)

Constructors

 o EncryptedInputStream
  public EncryptedInputStream(BlockCipher blockCipher,
                              InputStream in) throws IOException
 o EncryptedInputStream
  public EncryptedInputStream(StreamCipher streamCipher,
                              InputStream in)

Methods

 o setKey
  public void setKey(String keyStr)
 o setDecrypting
  public void setDecrypting(boolean decrypting) throws IOException
 o read
  public int read() throws IOException
Overrides:
read in class FilterInputStream
 o read
  public int read(byte b[],
                  int off,
                  int len) throws IOException
Overrides:
read in class FilterInputStream

All Packages  Class Hierarchy  This Package  Previous  Next  Index