HashAlgorithm HashAlgorithm HashAlgorithm HashAlgorithm Enum

定義

指定訊息佇列在驗證訊息時所使用的雜湊演算法。Specifies the hash algorithm used by Message Queuing when authenticating messages.

public enum class HashAlgorithm
[System.Serializable]
public enum HashAlgorithm
type HashAlgorithm = 
Public Enum HashAlgorithm
繼承
HashAlgorithmHashAlgorithmHashAlgorithmHashAlgorithm
屬性

欄位

Mac Mac Mac Mac 32773

MAC 索引鍵雜湊演算法。MAC keyed-hash algorithm.

Md2 Md2 Md2 Md2 32769

MD2 雜湊演算法。MD2 hashing algorithm.

Md4 Md4 Md4 Md4 32770

MD4 雜湊演算法。MD4 hashing algorithm.

Md5 Md5 Md5 Md5 32771

MD5 雜湊演算法。MD5 hashing algorithm.

None None None None 0

沒有雜湊演算法。No hashing algorithm.

Sha Sha Sha Sha 32772

SHA 雜湊演算法。SHA hashing algorithm.

Sha256 Sha256 Sha256 Sha256 32780

SHA-256 雜湊演算法。SHA-256 hashing algorithm.

Sha384 Sha384 Sha384 Sha384 32781

SHA-384 雜湊演算法。SHA-384 hashing algorithm.

Sha512 Sha512 Sha512 Sha512 32782

SHA-512 雜湊演算法。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.

若要驗證訊息, 來源電腦上的訊息佇列執行時間 DLL 會在建立訊息的數位簽章時使用雜湊演算法。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.

如需驗證程式的詳細資訊, 請參閱 MSDN Library 中的訊息佇列驗證主題。For more information about the authentication process, see the Message Queuing authentication topics in the MSDN Library.

適用於