MessageSecurityOverHttp.AlgorithmSuite プロパティ

定義

SOAP レベルのセキュリティ メッセージに使用されるアルゴリズム スイートを指定します。

public:
 property System::ServiceModel::Security::SecurityAlgorithmSuite ^ AlgorithmSuite { System::ServiceModel::Security::SecurityAlgorithmSuite ^ get(); void set(System::ServiceModel::Security::SecurityAlgorithmSuite ^ value); };
public System.ServiceModel.Security.SecurityAlgorithmSuite AlgorithmSuite { get; set; }
member this.AlgorithmSuite : System.ServiceModel.Security.SecurityAlgorithmSuite with get, set
Public Property AlgorithmSuite As SecurityAlgorithmSuite

プロパティ値

SecurityAlgorithmSuite です。 既定値は Basic256 です。

例外

次のコードは、このプロパティにアクセスして設定する方法を示しています。

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

注釈

このプロパティは、既定とは異なる一連のアルゴリズムを使用するWindows Communication Foundation以外の (WCF) プラットフォームを使用する場合に最も重要です。 この設定を変更するときは、関連するアルゴリズムの長所と短所に注意する必要があります。

適用対象