| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the hash algorithm numberReturn the |
| public byte[] | Returns: a digest.Return the digest calculated on what has been written to the calculator's output stream. |
| public OutputStream | Returns: an OutputStream that data to be digested can be written to.Returns a stream that will accept data for the purpose of calculating a digest. |
| public void |
| getAlgorithm | back to summary |
|---|---|
| public int getAlgorithm() Return the
| |
| getDigest | back to summary |
|---|---|
| public byte[] getDigest() Return the digest calculated on what has been written to the calculator's output stream.
| |
| getOutputStream | back to summary |
|---|---|
| public OutputStream getOutputStream() Returns a stream that will accept data for the purpose of calculating a digest. Use org.bouncycastle.util.io.TeeOutputStream if you want to accumulate the data on the fly as well.
| |
| reset | back to summary |
|---|---|
| public void reset() Reset the underlying digest calculator | |