This documentation is archived and is not being maintained.

HashAlgorithm Enumeration

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

[Visual Basic]
Public Enum HashAlgorithm
public enum HashAlgorithm
__value public enum HashAlgorithm
enum HashAlgorithm


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 at


Member name Description
Mac MAC keyed hashing algorithm.
Md2 MD2 hashing algorithm.
Md4 MD4 hashing algorithm.
Md5 MD5 hashing algorithm.
None No hashing algorithm.
Sha SHA hashing algorithm.


Namespace: System.Messaging

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Messaging (in System.Messaging.dll)

See Also

System.Messaging Namespace