SecurityBindingElement.CreateSecureConversationBindingElement Method (SecurityBindingElement)
Creates a symmetric security binding element that is configured to establish a secure conversation between the client and service. The security context token issued at the end of the secure conversation handshake is used to secure the messages. The bootstrap security binding element specifies how the secure conversation handshake messages are secured.
Assemblies: System.ServiceModel.Security (in System.ServiceModel.Security.dll)
System.ServiceModel (in System.ServiceModel.dll)
public static SecurityBindingElement CreateSecureConversationBindingElement( SecurityBindingElement bootstrapSecurity )
- Type: System.ServiceModel.Channels.SecurityBindingElement
A SecurityBindingElement that contains specification on how the secure conversation handshake messages are secured.
Return ValueType: System.ServiceModel.Channels.SecurityBindingElement
A SecurityBindingElement object.
The binding element is configured to use session-based security context tokens.
The bootstrapSecurity is used to indicate the security binding and policy used to request a secure conversation token from the service.
If bootstrapSecurity is a TransportSecurityBindingElement, the binding element returned by this method is also one, and IncludeTimestamp is set to true; and the LocalClientSecuritySettings object returned from LocalClientSettings has its DetectReplays property set to false; and the LocalServiceSecuritySettings object returned from LocalServiceSettings has its DetectReplays property set to false.