EncryptionAlgorithm EncryptionAlgorithm EncryptionAlgorithm EncryptionAlgorithm Enum

定義

指定用來加密私用 (Private) 訊息的訊息主體的加密 (Encryption) 演算法。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.

適用於

另請參閱