net.sourceforge.jcetaglib.tools
Class MacInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
net.sourceforge.jcetaglib.tools.MacInputStream
- public class MacInputStream
- extends java.io.FilterInputStream
MacInputStream. As it reads in data it passes it though a MAC
Fields inherited from class java.io.FilterInputStream |
in |
Constructor Summary |
MacInputStream(java.io.InputStream st,
javax.crypto.Mac mac)
|
Method Summary |
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int o,
int l)
|
Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacInputStream
public MacInputStream(java.io.InputStream st,
javax.crypto.Mac mac)
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] b)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] b,
int o,
int l)
throws java.io.IOException
- Throws:
java.io.IOException