SecurityBindingElement::CreateMutualCertificateBindingElement Method ()
Creates an asymmetric security binding element that is configured to require certificate-based client authentication as well as certificate-based server authentication.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Return Value
Type: System.ServiceModel.Channels::SecurityBindingElement^A SecurityBindingElement object.
The binding is configured so that a new random symmetric key (encrypted for the server) is generated for every request by the client and is used to protect the request as well as the response from the server. The client's certificate is used as an endorsing supporting token on the request.
A AsymmetricSecurityBindingElement is actually created.
The following code shows how to call this method.
SecurityBindingElement security = SecurityBindingElement.CreateMutualCertificateBindingElement();
Available since 3.0