Package com.trilead.ssh2.crypto.cipher
Class CipherInputStream
- java.lang.Object
-
- com.trilead.ssh2.crypto.cipher.CipherInputStream
-
public class CipherInputStream extends Object
CipherInputStream.- Version:
- $Id: CipherInputStream.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $
- Author:
- Christian Plattner, plattner@trilead.com
-
-
Constructor Summary
Constructors Constructor Description CipherInputStream(BlockCipher tc, InputStream bi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchangeCipher(BlockCipher bc)intread()intread(byte[] dst)intread(byte[] dst, int off, int len)intreadPlain(byte[] b, int off, int len)
-
-
-
Constructor Detail
-
CipherInputStream
public CipherInputStream(BlockCipher tc, InputStream bi)
-
-
Method Detail
-
changeCipher
public void changeCipher(BlockCipher bc)
-
read
public int read(byte[] dst) throws IOException- Throws:
IOException
-
read
public int read(byte[] dst, int off, int len) throws IOException- Throws:
IOException
-
read
public int read() throws IOException- Throws:
IOException
-
readPlain
public int readPlain(byte[] b, int off, int len) throws IOException- Throws:
IOException
-
-