org.bouncycastle.operator.DigestCalculator |
General interface for an operator that is able to calculate a digest from a stream of output.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the algorithm identifier representing the digest implemented by
this calculator.
| |||||||||||
Return the digest calculated on what has been written to the calculator's output stream.
| |||||||||||
Returns a stream that will accept data for the purpose of calculating
a digest.
|
Return the algorithm identifier representing the digest implemented by this calculator.
Return the digest calculated on what has been written to the calculator's output stream.
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.