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 |
---|---|
System.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);