public class CipherInputStream
extends java.lang.Object
| Constructor and Description |
|---|
CipherInputStream(BlockCipher tc,
java.io.InputStream bi) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeCipher(BlockCipher bc) |
int |
read() |
int |
read(byte[] dst) |
int |
read(byte[] dst,
int off,
int len) |
int |
readPlain(byte[] b,
int off,
int len) |
public CipherInputStream(BlockCipher tc, java.io.InputStream bi)
public void changeCipher(BlockCipher bc)
public int read(byte[] dst)
throws java.io.IOException
java.io.IOExceptionpublic int read(byte[] dst,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic int read()
throws java.io.IOException
java.io.IOExceptionpublic int readPlain(byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOException