SecurityBindingElement::SetKeyDerivation Method (Boolean)
.NET Framework (current version)
Sets a value that indicates whether derived keys are required.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- requireDerivedKeys
-
Type:
System::Boolean
true 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);
.NET Framework
Available since 3.0
Available since 3.0
Show: