MsmqSecureHashAlgorithm 枚举

定义

包含消息队列 (MSMQ) 可用于对消息进行签名的哈希算法。Contains the hashing algorithms that Message Queuing (MSMQ) can use to sign messages.

public enum class MsmqSecureHashAlgorithm
public enum MsmqSecureHashAlgorithm
type MsmqSecureHashAlgorithm = 
Public Enum MsmqSecureHashAlgorithm
继承
MsmqSecureHashAlgorithm

字段

MD5 0

消息摘要算法 5 (MD5)The Message Digest Algorithm 5 (MD5). 由于与 MD5 冲突,Microsoft 建议使用 SHA256。Due to collision problems with MD5, Microsoft recommends SHA256.

Sha1 1

安全哈希算法 (SHA-1)The Secure Hash Algorithm (SHA-1). 由于与 SHA1 冲突,Microsoft 建议使用 SHA256。Due to collision problems with SHA1, Microsoft recommends SHA256.

Sha256 2

SHA-256 算法。The SHA-256 algorithm.

Sha512 3

SHA 512 算法。The SHA 512 algorithm.

注解

消息队列可以通过对消息进行签名来保护消息。Message Queuing can secure messages by signing them. MsmqSecureHashAlgorithm 类是一个包含哈希算法的枚举,消息队列可以使用该算法对消息进行签名。The MsmqSecureHashAlgorithm class is an enumeration that contains the hashing algorithms that Message Queuing can use to sign messages.

仅上Windows VistaWindows Vista支持 Sha256 和 Sha512。Sha256 and Sha512 are supported only on Windows VistaWindows Vista.

适用于