Share via


EncryptionAlgorithmWrapper Class

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

Inheritance Hierarchy

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

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

The EncryptionAlgorithmWrapper type exposes the following members.

Constructors

  Name Description
Public method EncryptionAlgorithmWrapper Initializes a new instance of the EncryptionAlgorithmWrapper class.

Top

Properties

  Name Description
Public property EncryptionAlgo Gets or sets the encryption algorithm used to encrypt the message body of a private message.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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.

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.

See Also

Reference

Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace