Show / Hide Table of Contents

CmacPrimitivesCreator Property

CmacPrimitivesCreator

This property is a delegate (function pointer). This method will return an instance of ICmacPrimitives, built to use the specified algorithm.

C#
public static Func<CmacBlockCipherAlgorithm, ICmacPrimitives> CmacPrimitivesCreator { get; set; }

Property Value

Type Description
Func<CmacBlockCipherAlgorithm, ICmacPrimitives>

Remarks

Note that ICmacPrimitives implements IDisposable, so either call Dispose when done with it, or use the using keyword.

For example,

using ICmacPrimitives cmacObj =
    CryptographyProviders.CmacPrimitivesCreator(CmacBlockCipherAlgorithm.Aes128);
In this article
Back to top Generated by DocFX