TransportSecurityBindingElement Class

Definition

Represents a custom binding element that supports mixed-mode security (such as, optimized message security over a secure transport).

public sealed class TransportSecurityBindingElement : System.ServiceModel.Channels.SecurityBindingElement, System.ServiceModel.Description.IPolicyExportExtension
Inheritance
TransportSecurityBindingElement
Implements

Remarks

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

  1. Create a BindingElementCollection.

  2. Create custom binding elements that will be above this binding element in the binding stack, such as the optional TransactionFlowBindingElement and ReliableSessionBindingElement.

  3. Add these elements in the previously mentioned order to the BindingElementCollection using the InsertItem method.

  4. Create an instance of TransportSecurityBindingElement and add it to the collection.

  5. Add any additional custom binding elements to the collection, such as TcpTransportBindingElement.

6.

Note 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.

Constructors

TransportSecurityBindingElement()

Creates an instance of the TransportSecurityBindingElement class.

Methods

BuildChannelFactory<TChannel>(BindingContext) Inherited from SecurityBindingElement
BuildChannelFactoryCore<TChannel>(BindingContext) Inherited from SecurityBindingElement
BuildChannelListener<TChannel>(BindingContext) Inherited from SecurityBindingElement
BuildChannelListenerCore<TChannel>(BindingContext) Inherited from SecurityBindingElement
CanBuildChannelFactory<TChannel>(BindingContext) Inherited from SecurityBindingElement
CanBuildChannelListener<TChannel>(BindingContext) Inherited from SecurityBindingElement
Clone()

Creates a new BindingElement object initialized from the current class.

CreateAnonymousForCertificateBindingElement() Inherited from SecurityBindingElement
CreateCertificateOverTransportBindingElement() Inherited from SecurityBindingElement
CreateCertificateOverTransportBindingElement(MessageSecurityVersion) Inherited from SecurityBindingElement
CreateCertificateSignatureBindingElement() Inherited from SecurityBindingElement
CreateIssuedTokenBindingElement(IssuedSecurityTokenParameters) Inherited from SecurityBindingElement
CreateIssuedTokenForCertificateBindingElement(IssuedSecurityTokenParameters) Inherited from SecurityBindingElement
CreateIssuedTokenForSslBindingElement(IssuedSecurityTokenParameters) Inherited from SecurityBindingElement
CreateIssuedTokenForSslBindingElement(IssuedSecurityTokenParameters, Boolean) Inherited from SecurityBindingElement
CreateIssuedTokenOverTransportBindingElement(IssuedSecurityTokenParameters) Inherited from SecurityBindingElement
CreateKerberosBindingElement() Inherited from SecurityBindingElement
CreateKerberosOverTransportBindingElement() Inherited from SecurityBindingElement
CreateMutualCertificateBindingElement() Inherited from SecurityBindingElement
CreateMutualCertificateBindingElement(MessageSecurityVersion) Inherited from SecurityBindingElement
CreateMutualCertificateBindingElement(MessageSecurityVersion, Boolean) Inherited from SecurityBindingElement
CreateMutualCertificateDuplexBindingElement() Inherited from SecurityBindingElement
CreateMutualCertificateDuplexBindingElement(MessageSecurityVersion) Inherited from SecurityBindingElement
CreateSecureConversationBindingElement(SecurityBindingElement) Inherited from SecurityBindingElement
CreateSecureConversationBindingElement(SecurityBindingElement, Boolean) Inherited from SecurityBindingElement
CreateSecureConversationBindingElement(SecurityBindingElement, Boolean, ChannelProtectionRequirements) Inherited from SecurityBindingElement
CreateSslNegotiationBindingElement(Boolean) Inherited from SecurityBindingElement
CreateSslNegotiationBindingElement(Boolean, Boolean) Inherited from SecurityBindingElement
CreateSspiNegotiationBindingElement() Inherited from SecurityBindingElement
CreateSspiNegotiationBindingElement(Boolean) Inherited from SecurityBindingElement
CreateSspiNegotiationOverTransportBindingElement() Inherited from SecurityBindingElement
CreateSspiNegotiationOverTransportBindingElement(Boolean) Inherited from SecurityBindingElement
CreateUserNameForCertificateBindingElement() Inherited from SecurityBindingElement
CreateUserNameForSslBindingElement() Inherited from SecurityBindingElement
CreateUserNameForSslBindingElement(Boolean) Inherited from SecurityBindingElement
CreateUserNameOverTransportBindingElement() Inherited from SecurityBindingElement
Equals(Object) Inherited from Object
Equals(Object, Object) Inherited from Object
GetHashCode() Inherited from Object
GetProperty<T>(BindingContext)

Gets a property from the specified BindingContext.

GetType() Inherited from Object
MemberwiseClone() Inherited from Object
ReferenceEquals(Object, Object) Inherited from Object
SetIssuerBindingContextIfRequired(SecurityTokenParameters, BindingContext) Inherited from SecurityBindingElement
SetKeyDerivation(Boolean) Inherited from SecurityBindingElement
ToString() Inherited from SecurityBindingElement

Explicit Interface Implementations

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

Exports a custom policy assertion about bindings.

Properties

AllowInsecureTransport Inherited from SecurityBindingElement
DefaultAlgorithmSuite Inherited from SecurityBindingElement
EnableUnsecuredResponse Inherited from SecurityBindingElement
EndpointSupportingTokenParameters Inherited from SecurityBindingElement
IncludeTimestamp Inherited from SecurityBindingElement
KeyEntropyMode Inherited from SecurityBindingElement
LocalClientSettings Inherited from SecurityBindingElement
LocalServiceSettings Inherited from SecurityBindingElement
MessageSecurityVersion Inherited from SecurityBindingElement
OperationSupportingTokenParameters Inherited from SecurityBindingElement
OptionalEndpointSupportingTokenParameters Inherited from SecurityBindingElement
OptionalOperationSupportingTokenParameters Inherited from SecurityBindingElement
ProtectTokens Inherited from SecurityBindingElement
SecurityHeaderLayout Inherited from SecurityBindingElement

Applies to