| Modifier and Type | Method and Description |
|---|---|
| public AlgorithmIdentifier | Returns: algorithm id and parameters.Return the algorithm identifier representing the digest implemented by this calculator. |
| public byte[] | Returns: a digest.Return the digest calculated on what has been written to the calculator's output stream. |
| public OutputStream | Returns: an OutputStreamReturns a stream that will accept data for the purpose of calculating a digest. |
| getAlgorithmIdentifier | back to summary |
|---|---|
| public AlgorithmIdentifier getAlgorithmIdentifier() Return the algorithm identifier representing the digest implemented by this calculator.
| |
| 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.
| |