EncryptionAlgorithm 枚举

定义

指定用于对私有消息的消息体进行加密的加密算法。Specifies the encryption algorithm used to encrypt the message body of a private message.

public enum class EncryptionAlgorithm
[System.Serializable]
public enum EncryptionAlgorithm
type EncryptionAlgorithm = 
Public Enum EncryptionAlgorithm
继承
EncryptionAlgorithm
属性

字段

None 0

无加密。No encryption.

Rc2 26114

值 MQMSG_CALG_RC2。The value MQMSG_CALG_RC2. 该值是消息队列应用程序的消息对象的加密属性的默认值。This is the default value for the encryption property of the Message Queuing application's message object.

Rc4 26625

值 MQMSG_CALG_RC4。The value MQMSG_CALG_RC4. 该值对应于消息队列应用程序的消息对象的加密属性的不太安全选项。This corresponds to the less secure option for the encryption property of the Message Queuing application's message object.

注解

密码模式定义加密数据的方法。Cipher modes define the method in which data is encrypted. 流密码模式一次一位对数据进行编码。The stream cipher mode encodes data one bit at a time. 块密码模式一次对数据块进行编码。The block cipher mode encodes data one block at a time. 尽管执行速度比流密码慢, 但块密码更安全。Although it tends to execute more slowly than stream cipher, block cipher is more secure. 下表描述了每个EncryptionAlgorithm值的密码模式。The following table describes the cipher mode for each of the EncryptionAlgorithm values.

加密Encryption 密码模式Cipher mode
RC2RC2 64位块64-bit block
RC4RC4 Stream

消息队列消息对象的属性最终提供对操作系统加密级别的访问权限。The Message Queuing message object's property ultimately provides access to operating system encryption levels.

适用于

另请参阅