Skip to main content
MacAlgorithmNames class

Contains static properties that enable you to retrieve algorithm names that can be used in the OpenAlgorithm method of the MacAlgorithmProvider class.

Syntax


var macAlgorithmNames = Windows.Security.Cryptography.Core.MacAlgorithmNames;

public static class MacAlgorithmNames

Public NotInheritable Class MacAlgorithmNames

public ref class MacAlgorithmNames abstract sealed 

Members

The MacAlgorithmNames class has these types of members:

Properties

The MacAlgorithmNames class has these properties.

PropertyAccess typeDescription

AesCmac

Read-only

Retrieves a string that contains "AES_CMAC".

HmacMd5

Read-only

Retrieves a string that contains "HMAC_MD5".

HmacSha1

Read-only

Retrieves a string that contains "HMAC_SHA1".

HmacSha256

Read-only

Retrieves a string that contains "HMAC_SHA256".

HmacSha384

Read-only

Retrieves a string that contains "HMAC_SHA384".

HmacSha512

Read-only

Retrieves a string that contains "HMAC_SHA512".

 

Remarks

All of the properties associated with this class are static. You do not need to create an instance of the class to retrieve a property value.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Cryptography.Core
Windows::Security::Cryptography::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography.Core
Windows::Security::Cryptography::Core [C++]

Metadata

Windows.winmd

Attributes

[ DualApiPartition()]
[ MarshalingBehavior(Agile)]
[ Version(0x06020000)]

See also

MacAlgorithmProvider
Object