SecurityBindingElement.CreateIssuedTokenForSslBindingElement Method (IssuedSecurityTokenParameters, Boolean)
Creates a symmetric security binding element that is configured to require client authentication based on an issued token and server authentication based on the server certificate.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public static SymmetricSecurityBindingElement CreateIssuedTokenForSslBindingElement( IssuedSecurityTokenParameters issuedTokenParameters, bool requireCancellation )
- Type: System.ServiceModel.Security.Tokens.IssuedSecurityTokenParameters
true if cancellation is required; otherwise, false. Setting it to false enables a security context token that is useful in Web farm scenarios, because in this mode the session state is encoded inside the established security context token instead of being kept in the server memory.
Return ValueType: System.ServiceModel.Channels.SymmetricSecurityBindingElement
A SymmetricSecurityBindingElement object.
The created binding has RequireSignatureConfirmation set to true and MessageSecurityVersion set to WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11.
Available since 3.0