SecurityBindingElement.SetKeyDerivation(Boolean) メソッド

定義

派生キーが必要かどうかを示す値を設定します。

public:
 virtual void SetKeyDerivation(bool requireDerivedKeys);
public virtual void SetKeyDerivation (bool requireDerivedKeys);
abstract member SetKeyDerivation : bool -> unit
override this.SetKeyDerivation : bool -> unit
Public Overridable Sub SetKeyDerivation (requireDerivedKeys As Boolean)

パラメーター

requireDerivedKeys
Boolean

派生キーが必要な場合は true。それ以外の場合は false

このメソッドを呼び出す方法を次のコードに示します。

SecurityBindingElement security = SecurityBindingElement.CreateMutualCertificateBindingElement();

// Use a secure session.
security = SecurityBindingElement.CreateSecureConversationBindingElement(security, true);

// Specify whether derived keys are required.
security.SetKeyDerivation(true);

適用対象