Package com.trilead.ssh2.crypto.cipher
Class CipherInputStream
- java.lang.Object
-
- com.trilead.ssh2.crypto.cipher.CipherInputStream
-
public class CipherInputStream extends java.lang.ObjectCipherInputStream.
-
-
Constructor Summary
Constructors Constructor Description CipherInputStream(BlockCipher tc, java.io.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, java.io.InputStream bi)
-
-
Method Detail
-
changeCipher
public void changeCipher(BlockCipher bc)
-
read
public int read(byte[] dst) throws java.io.IOException- Throws:
java.io.IOException
-
read
public int read(byte[] dst, int off, int len) throws java.io.IOException- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOException- Throws:
java.io.IOException
-
readPlain
public int readPlain(byte[] b, int off, int len) throws java.io.IOException- Throws:
java.io.IOException
-
-