EncryptionAlgorithm EncryptionAlgorithm EncryptionAlgorithm EncryptionAlgorithm Enum

定义

指定用于对私有消息的消息体进行加密的加密算法。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
继承
EncryptionAlgorithmEncryptionAlgorithmEncryptionAlgorithmEncryptionAlgorithm
属性

字段

None None None None 0

无加密。No encryption.

Rc2 Rc2 Rc2 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 Rc4 Rc4 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.

适用于

另请参阅