Export (0) Print
Expand All
Expand Minimize

EncryptionAlgorithm Enumeration

Specifies the encryption algorithm used to encrypt the message body of a private message.

Namespace: System.Messaging
Assembly: System.Messaging (in system.messaging.dll)

public enum EncryptionAlgorithm
public enum EncryptionAlgorithm
public enum EncryptionAlgorithm

 Member nameDescription
NoneNo encryption. 
Rc2The value MQMSG_CALG_RC2. This is the default value for the encryption property of the Message Queuing application's message object. 
Rc4The 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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft