public static class MD5InputStreamTest.MD5InputStreamOld extends FilterInputStream
Modifier and Type | Field and Description |
---|---|
protected MD5InputStreamTest.MD5 |
md5
MD5 context
|
protected long |
streamLength |
in
Constructor and Description |
---|
MD5InputStreamOld(InputStream in)
Creates a MD5InputStream
|
Modifier and Type | Method and Description |
---|---|
MD5InputStreamTest.MD5 |
getMD5() |
long |
getStreamLength() |
byte[] |
hash()
Returns array of bytes representing hash of the stream as finalized
for the current state.
|
int |
read() |
int |
read(byte[] bytes,
int offset,
int length) |
available, close, mark, markSupported, read, reset, skip
protected MD5InputStreamTest.MD5 md5
protected long streamLength
public MD5InputStreamOld(InputStream in)
in
- The input streampublic int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] bytes, int offset, int length) throws IOException
read
in class FilterInputStream
IOException
public byte[] hash()
MD5InputStreamTest.MD5.Final()
public MD5InputStreamTest.MD5 getMD5()
public long getStreamLength()
Copyright © 2004–2020 CodeLutin. All rights reserved.