| Modifier and Type | Method and Description |
|---|---|
| public OutputDigestCalculator | |
| public byte[] | Returns: a digest.Return the digest calculated on what has been written to the calculator's output stream. |
| public int | Returns: the number of bytes written.output array to write the digest to. output, int offset to start writing the digest at.. off)Output the current digest value for what has been written to the calculator's output stream. |
| public int | Returns: internal block size in bytes.Return the size, in bytes, of the internal block used by the digest in this calculator. |
| public int | Returns: digest length in bytes.Return the size of the digest produced by this calculator in bytes. |
| public UpdateOutputStream | Returns: an OutputStreamReturns a stream that will accept data for the purpose of calculating a digest. |
| public T | Returns: the digest calculator's parameters.Return the parameters for this digest calculator. |
| public void |
| clone | back to summary |
|---|---|
| public OutputDigestCalculator Return a clone of this calculator.
| |
| getDigest | back to summary |
|---|---|
| public byte[] getDigest() Return the digest calculated on what has been written to the calculator's output stream.
| |
| getDigest | back to summary |
|---|---|
| public int getDigest(byte[] output, int off) Output the current digest value for what has been written to the calculator's output stream.
| |
| getDigestBlockSize | back to summary |
|---|---|
| public int getDigestBlockSize() Return the size, in bytes, of the internal block used by the digest in this calculator.
| |
| getDigestSize | back to summary |
|---|---|
| public int getDigestSize() Return the size of the digest produced by this calculator in bytes.
| |
| getDigestStream | back to summary |
|---|---|
| public UpdateOutputStream getDigestStream() 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.
| |
| getParameters | back to summary |
|---|---|
| public T getParameters() Return the parameters for this digest calculator.
| |
| reset | back to summary |
|---|---|
| public void reset() Reset the calculator back to its initial state. | |