public final class HmacInputStream extends FilterInputStream
InputStream to pass all read bytes to a Mac.in| Constructor and Description |
|---|
HmacInputStream(InputStream stream,
Mac mac) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] data,
int offset,
int length) |
available, close, mark, markSupported, read, reset, skippublic HmacInputStream(InputStream stream, Mac mac)
stream - the wrapped streammac - the digest to updatepublic int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] data,
int offset,
int length)
throws IOException
read in class FilterInputStreamIOExceptionCopyright © 2017. All rights reserved.