IssuedTokenClientCredential.DefaultKeyEntropyMode プロパティ

定義

SecurityKeyEntropyModeの既定値を取得または設定します。

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

プロパティ値

SecurityKeyEntropyMode の値。 既定値は CombinedEntropy です。

例外

読み取り専用資格情報を set しようとしました。

このコードでは、このプロパティを設定する方法を示します。

itcc.DefaultKeyEntropyMode = SecurityKeyEntropyMode.ServerEntropy;
itcc.DefaultKeyEntropyMode = SecurityKeyEntropyMode.ServerEntropy

注釈

クライアントは、発行されたトークンを取得するためにセキュリティ トークン サービスと交換 WS-Trust 場合、共有対称キーに到達するために、セキュリティ トークン サービスとキー エントロピを交換する必要があります。 セキュリティ トークン サービスは、通常、バインディングで使用するエントロピ交換メカニズムを指定します。 セキュリティ トークン サービスのバインドでそのようなメカニズムが指定されていない場合、 DefaultKeyEntropyMode 値はセキュリティ トークン サービスとエントロピを交換するために使用されます。

適用対象