Interface IStreamCalculator<TResult>
- Namespace
- Org.BouncyCastle.Crypto
- Assembly
- BouncyCastle.Cryptography.dll
Base interface for cryptographic operations such as Hashes, MACs, and Signatures which reduce a stream of data to a single value.
public interface IStreamCalculator<out TResult>
Type Parameters
TResult
Properties
Stream
Return a "sink" stream which only exists to update the implementing object.
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.
TResult GetResult()
Returns
- TResult
The result of processing the stream.