HashAlgorithm Enumeration

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

Namespace: System.Messaging
Assembly: System.Messaging (in system.messaging.dll)

public enum class HashAlgorithm
public enum HashAlgorithm
public enum HashAlgorithm

 Member nameDescription
MacMAC keyed-hash algorithm. 
Md2MD2 hashing algorithm. 
Md4MD4 hashing algorithm. 
Md5MD5 hashing algorithm. 
NoneNo hashing algorithm. 
ShaSHA 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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0