Share via


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 値がセキュリティ トークン サービスとのエントロピ交換に使用されます。

適用対象