Mac​Algorithm​Names Mac​Algorithm​Names Mac​Algorithm​Names Mac​Algorithm​Names Class

Definition

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

public : static class MacAlgorithmNamespublic static class MacAlgorithmNamesPublic Static Class MacAlgorithmNames// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

AesCmac AesCmac AesCmac AesCmac

Retrieves a string that contains "AES_CMAC".

public : static PlatForm::String AesCmac { get; }public static string AesCmac { get; }Public Static ReadOnly Property AesCmac As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "AesCmac".

Remarks

Use the string retrieved by this property to set the message authentication code (MAC) algorithm name when you call the OpenAlgorithm method. The string represents an Advanced Encryption Standard (AES) encryption algorithm coupled with a cipher-based MAC block cipher algorithm. For more information, see RFC 4493.

HmacMd5 HmacMd5 HmacMd5 HmacMd5

Retrieves a string that contains "HMAC_MD5".

public : static PlatForm::String HmacMd5 { get; }public static string HmacMd5 { get; }Public Static ReadOnly Property HmacMd5 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "HMAC_MD5".

Remarks

Use the string retrieved by this property to set the message authentication code (MAC) algorithm name when you call the OpenAlgorithm method. The string represents a hash-based message authentication code (HMAC) algorithm that uses the MD5 message digest algorithm to perform the hashing.

HmacSha1 HmacSha1 HmacSha1 HmacSha1

Retrieves a string that contains "HMAC_SHA1".

public : static PlatForm::String HmacSha1 { get; }public static string HmacSha1 { get; }Public Static ReadOnly Property HmacSha1 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "HMAC_SHA1".

Remarks

Use the string retrieved by this property to set the message authentication code (MAC) algorithm name when you call the OpenAlgorithm method. The string represents a hash-based message authentication code (HMAC) algorithm that uses the SHA1 (Secure Hash Algorithm 1) message digest algorithm to perform the hashing.

HmacSha256 HmacSha256 HmacSha256 HmacSha256

Retrieves a string that contains "HMAC_SHA256".

public : static PlatForm::String HmacSha256 { get; }public static string HmacSha256 { get; }Public Static ReadOnly Property HmacSha256 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "HMAC_SHA256".

Remarks

Use the string retrieved by this property to set the message authentication code (MAC) algorithm name when you call the OpenAlgorithm method. The string represents a hash-based message authentication code (HMAC) algorithm that uses the SHA256 (Secure Hash Algorithm) message digest algorithm to perform the hashing.

HmacSha384 HmacSha384 HmacSha384 HmacSha384

Retrieves a string that contains "HMAC_SHA384".

public : static PlatForm::String HmacSha384 { get; }public static string HmacSha384 { get; }Public Static ReadOnly Property HmacSha384 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "HMAC_SHA384".

Remarks

Use the string retrieved by this property to set the message authentication code (MAC) algorithm name when you call the OpenAlgorithm method. The string represents a hash-based message authentication code (HMAC) algorithm that uses the SHA384 (Secure Hash Algorithm) message digest algorithm to perform the hashing.

HmacSha512 HmacSha512 HmacSha512 HmacSha512

Retrieves a string that contains "HMAC_SHA512".

public : static PlatForm::String HmacSha512 { get; }public static string HmacSha512 { get; }Public Static ReadOnly Property HmacSha512 As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

String that contains "HMAC_SHA512".

Remarks

Use the string retrieved by this property to set the message authentication code (MAC) algorithm name when you call the OpenAlgorithm method. The string represents a hash-based message authentication code (HMAC) algorithm that uses the SHA512 (Secure Hash Algorithm) message digest algorithm to perform the hashing.