NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

EncryptionAlgorithm Enumeration

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

[Visual Basic]
Public Enum EncryptionAlgorithm
[C#]
public enum EncryptionAlgorithm
[C++]
public enum EncryptionAlgorithm

[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.

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

EncryptionAlgorithm provides access to the EncryptAlgorithm property of the Message Queuing application's MSMQMessage object. The MSMQMessage object's property ultimately provides access to NT encryption levels.

_mq_msmqmessage.encryptalgorithm

Members

Member Name Description
None No encryption.
RC2 The value MQMSG_CALG_RC2. This is the default value for the EncryptAlgorithm property of the Message Queuing application's MSMQMessage object.
RC4 The value MQMSG_CALG_RC4. This corresponds to the less secure option for the EncryptAlgorithm property of the Message Queuing application's MSMQMessage object.

Requirements

Namespace: System.Messaging

Assembly: system.messaging.dll

See Also

System.Messaging Namespace