java.io.InputStream that allows for optimized
implementations of message digesting.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | updateMessageDigest(MessageDigest
the message digest to update messageDigest)Update the message digest with the rest of the bytes in this stream. |
| public void | updateMessageDigest(MessageDigest
the message digest to update messageDigest, int how many bytes to read from this stream and use to update the message digest len)Update the message digest with the next len bytes in this stream. |
| UpdateMessageDigestInputStream | back to summary |
|---|---|
| pack-priv UpdateMessageDigestInputStream() | |
| updateMessageDigest | back to summary |
|---|---|
| public void updateMessageDigest(MessageDigest messageDigest) throws IOException Update the message digest with the rest of the bytes in this stream. Using this method is more optimized since it avoids creating new byte arrays for each call.
| |
| updateMessageDigest | back to summary |
|---|---|
| public void updateMessageDigest(MessageDigest messageDigest, int len) throws IOException Update the message digest with the next len bytes in this stream. Using this method is more optimized since it avoids creating new byte arrays for each call.
| |