SecurityAlgorithmSuite.Basic256 SecurityAlgorithmSuite.Basic256 SecurityAlgorithmSuite.Basic256 SecurityAlgorithmSuite.Basic256 Property

Définition

Obtient une suite d’algorithmes qui utilise Basic 256 bits comme algorithme de chiffrement de message.Gets an algorithm suite that uses 256-bit Basic as the message encryption algorithm.

public:
 static property System::ServiceModel::Security::SecurityAlgorithmSuite ^ Basic256 { System::ServiceModel::Security::SecurityAlgorithmSuite ^ get(); };
public static System.ServiceModel.Security.SecurityAlgorithmSuite Basic256 { get; }
member this.Basic256 : System.ServiceModel.Security.SecurityAlgorithmSuite
Public Shared ReadOnly Property Basic256 As SecurityAlgorithmSuite

Valeur de propriété

Suite d’algorithmes qui utilise l’algorithme de chiffrement de message 256 bits de base.An algorithm suite that uses 256-bit Basic as the message encryption algorithm.

Exemples

Le code suivant montre comment affecter cette propriété à la AlgorithmSuite.The following code shows how to set AlgorithmSuite to this property.

WSHttpBinding binding = new WSHttpBinding();
binding.Security.Mode = SecurityMode.Message;
binding.Security.Message.AlgorithmSuite =
    System.ServiceModel.Security.SecurityAlgorithmSuite.Basic256;
Dim binding As New WSHttpBinding()
binding.Security.Mode = SecurityMode.Message
binding.Security.Message.AlgorithmSuite = _
System.ServiceModel.Security.SecurityAlgorithmSuite.Basic256

Remarques

Par défaut, AES-256 est utilisé comme algorithme de chiffrement.By default, AES-256 is used for the encryption algorithm.

S’applique à