EncryptionAlgorithm Enumeration
Specifies the encryption algorithm used to encrypt the message body of a private message.
[Visual Basic] <Serializable> Public Enum EncryptionAlgorithm [C#] [Serializable] public enum EncryptionAlgorithm [C++] [Serializable] __value public enum EncryptionAlgorithm [JScript] public Serializable enum EncryptionAlgorithm
Remarks
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.
Members
| Member name | Description |
|---|---|
| None | No encryption. |
| Rc2 | The value MQMSG_CALG_RC2. This is the default value for the encryption property of the Message Queuing application's message object. |
| 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. |
Requirements
Namespace: System.Messaging
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Messaging (in System.Messaging.dll)
See Also
System.Messaging Namespace | Message | Message.EncryptionAlgorithm