Represents a custom binding element that supports channel security using symmetric encryption.
public sealed class SymmetricSecurityBindingElement : System.ServiceModel.Channels.SecurityBindingElement, System.ServiceModel.Description.IPolicyExportExtension
A custom binding contains a collection of binding elements arranged in a specific order: the element that represents the top of the binding stack is added first, the next element down in the binding stack, is added second, and so forth.
To add this class to a binding
Create a BindingElementCollection.
Create an instance of SymmetricSecurityBindingElement and add it to the collection.
Add any additional custom binding elements to the collection, such as TcpTransportBindingElement.
Once an instance of this object is created, you should treat the properties of its base class, SecurityBindingElement, as immutable. Calling
set on some properties may have unpredictable effects: the binding may behave as if the property retained its old value, with a run-time failure being the only indication of an issue. Two properties known to behave this way are KeyType and MessageSecurityVersion. There may be other properties for which this is true.
Initializes a new instance of the SymmetricSecurityBindingElement class.
Initializes a new instance of the SymmetricSecurityBindingElement class using specified security token parameters.
Gets or sets the order of message encryption and signing for this binding.
Gets or sets the protection token parameters.
Gets or sets a value that indicates whether message signatures must be confirmed.
Explicit Interface Implementations
Exports a custom policy assertion about bindings.