HashAlgorithm 列舉

定義

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

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

欄位

Mac 32773

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

Md2 32769

MD2 雜湊演算法。MD2 hashing algorithm.

Md4 32770

MD4 雜湊演算法。MD4 hashing algorithm.

Md5 32771

MD5 雜湊演算法。MD5 hashing algorithm.

None 0

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

Sha 32772

SHA 雜湊演算法。SHA hashing algorithm.

Sha256 32780

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

Sha384 32781

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

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.

適用於