Class DefaultDigestCalculator
- Namespace
- Org.BouncyCastle.Crypto.Operators
- Assembly
- BouncyCastle.Cryptography.dll
public sealed class DefaultDigestCalculator : IStreamCalculator<IBlockResult>
- Inheritance
-
DefaultDigestCalculator
- Implements
- Inherited Members
Constructors
DefaultDigestCalculator(IDigest)
public DefaultDigestCalculator(IDigest digest)
Parameters
digestIDigest
Properties
Stream
Return a "sink" stream which only exists to update the implementing object.
public Stream Stream { get; }
Property Value
- Stream
A stream to write to in order to update the implementing object.
Methods
GetResult()
Return the result of processing the stream. This value is only available once the stream has been closed.
public IBlockResult GetResult()
Returns
- IBlockResult
The result of processing the stream.