Share via


EncryptionAlgorithmWrapper Class

Describes the type of encryption, if any, that the Message Queue task uses.

Namespace:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly:  Microsoft.SqlServer.MSMQTask (in Microsoft.SqlServer.MSMQTask.dll)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
Public Class EncryptionAlgorithmWrapper
'Usage
Dim instance As EncryptionAlgorithmWrapper
[ComVisibleAttribute(true)]
public class EncryptionAlgorithmWrapper
[ComVisibleAttribute(true)]
public ref class EncryptionAlgorithmWrapper
[<ComVisibleAttribute(true)>]
type EncryptionAlgorithmWrapper =  class end
public class EncryptionAlgorithmWrapper

Remarks

This class uses the EncryptionAlgorithm enumeration, which is located in the .NET Framework Class Library, and is a member of the System.Messaging namespace.

Important

When configuring the Message Queue task to send messages, you can use one of the encryption algorithms, either Rc2 or Rc4, that are currently supported by Message Queuing (also known as MSMQ) to encrypt the message. Both of these encryption algorithms are now considered cryptographically weak compared to newer algorithms, which Message Queuing does not yet support. Therefore, you should consider your cryptography needs carefully when sending messages using the Message Queue task.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.EncryptionAlgorithmWrapper

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.