public class MyCipherInputStream
extends java.io.FilterInputStream
| Constructor and Description |
|---|
MyCipherInputStream(java.io.InputStream inputStream,
java.math.BigInteger decryptExponent,
java.math.BigInteger modulus)
Creates the InputStream
|
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
public MyCipherInputStream(java.io.InputStream inputStream,
java.math.BigInteger decryptExponent,
java.math.BigInteger modulus)
inputStream - the underlying inputstreamdecryptExponent - The exponent using which the decryption is to be donemodulus - The modulus using which the decryption is to be donepublic int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOException