IMac Interface

The base interface for implementations of message authentication codes (MACs).

Definition

Namespace: Org.BouncyCastle.Crypto
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public interface IMac

Properties

AlgorithmNameThe algorithm name.

Methods

BlockUpdate(ReadOnlySpanByte)Update the MAC with a span of bytes.
BlockUpdate(Byte, Int32, Int32)Update the MAC with a block of bytes.
DoFinal(SpanByte)Perform final calculations, producing the result MAC.
DoFinal(Byte, Int32)Perform final calculations, producing the result MAC.
GetMacSizeReturn the size, in bytes, of the MAC produced by this implementation.
InitInitialise the MAC.
ResetReset the MAC back to its initial state.
UpdateUpdate the MAC with a single byte.

See Also