Table of Contents

Class DefaultMacCalculator

Namespace
Org.BouncyCastle.Crypto.Operators
Assembly
BouncyCastle.Cryptography.dll
public sealed class DefaultMacCalculator : IStreamCalculator<IBlockResult>
Inheritance
DefaultMacCalculator
Implements
Inherited Members

Constructors

DefaultMacCalculator(IMac)

public DefaultMacCalculator(IMac mac)

Parameters

mac IMac

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.