SecurityBindingElement.KeyEntropyMode 屬性

定義

取得或設定用於建立金鑰的 Entropy 來源。

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

屬性值

用來建立金鑰的 SecurityKeyEntropyMode。 預設值是 CombinedEntropy

備註

KeyEntropyMode 會指定如何計算由服務發出的權杖 (例如 SecurityContextSecurityToken) 的金鑰:計算方式是只根據用戶端金鑰內容、只根據服務金鑰內容或是結合兩者。

適用於