Compartilhar via


Classe EncryptionAlgorithmWrapper

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

Hierarquia de herança

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

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

Sintaxe

'Declaração
<ComVisibleAttribute(True)> _
Public Class EncryptionAlgorithmWrapper
'Uso
Dim instance As EncryptionAlgorithmWrapper
[ComVisibleAttribute(true)]
public class EncryptionAlgorithmWrapper
[ComVisibleAttribute(true)]
public ref class EncryptionAlgorithmWrapper
[<ComVisibleAttribute(true)>]
type EncryptionAlgorithmWrapper =  class end
public class EncryptionAlgorithmWrapper

O tipo EncryptionAlgorithmWrapper expõe os membros a seguir.

Construtores

  Nome Descrição
Método público EncryptionAlgorithmWrapper Initializes a new instance of the EncryptionAlgorithmWrapper class.

Início

Propriedades

  Nome Descrição
Propriedade pública EncryptionAlgo Gets or sets the encryption algorithm used to encrypt the message body of a private message.

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Comentários

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

Observação importanteImportante

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.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.