SecurityBindingElement.SetKeyDerivation(Boolean) メソッド

定義

派生キーが必要かどうかを示す値を設定します。Sets a value that indicates whether derived keys are required.

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。それ以外の場合は falsetrue to require derived keys; otherwise, false.

このメソッドを呼び出す方法を次のコードに示します。The following code shows how to call this method.

SecurityBindingElement security = SecurityBindingElement.CreateMutualCertificateBindingElement();

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

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

適用対象