EncryptionAlgorithm Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the encryption algorithm used to encrypt the message body of a private message.
public enum class EncryptionAlgorithm
public enum EncryptionAlgorithm
type EncryptionAlgorithm =
Public Enum EncryptionAlgorithm
- Inheritance
Name | Value | Description |
---|---|---|
None | 0 | No encryption. |
Rc2 | 26114 | The value MQMSG_CALG_RC2. This is the default value for the encryption property of the Message Queuing application's message object. |
Rc4 | 26625 | 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. The following table describes the cipher mode for each of the EncryptionAlgorithm values.
Encryption | Cipher mode |
---|---|
RC2 | 64-bit block |
RC4 | Stream |
The Message Queuing message object's property ultimately provides access to operating system encryption levels.
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: