HashAlgorithm HashAlgorithm HashAlgorithm HashAlgorithm Enum


Specifies the hash algorithm used by Message Queuing when authenticating messages.

public enum class HashAlgorithm
public enum HashAlgorithm
type HashAlgorithm = 
Public Enum HashAlgorithm


Mac Mac Mac Mac 32773

MAC keyed-hash algorithm.

Md2 Md2 Md2 Md2 32769

MD2 hashing algorithm.

Md4 Md4 Md4 Md4 32770

MD4 hashing algorithm.

Md5 Md5 Md5 Md5 32771

MD5 hashing algorithm.

None None None None 0

No hashing algorithm.

Sha Sha Sha Sha 32772

SHA hashing algorithm.

Sha256 Sha256 Sha256 Sha256 32780

SHA-256 hashing algorithm.

Sha384 Sha384 Sha384 Sha384 32781

SHA-384 hashing algorithm.

Sha512 Sha512 Sha512 Sha512 32782

SHA-512 hashing algorithm.


Message authentication provides two services. It provides a way to ensure message integrity and a way to verify who sent the message. To request authentication, the sending application must set the authentication level of the message to be authenticated and attach a security certificate to the message.

To authenticate messages, the Message Queuing run-time DLL on the source computer uses a hashing algorithm when creating a digital signature for a message. The target Queue Manager then uses the same hashing algorithm to authenticate the message when it is received.

For more information about the authentication process, see the Message Queuing authentication topics in the MSDN Library.

Applies to