SecurityBindingElement.CreateSslNegotiationBindingElement SecurityBindingElement.CreateSslNegotiationBindingElement SecurityBindingElement.CreateSslNegotiationBindingElement SecurityBindingElement.CreateSslNegotiationBindingElement Method

Definition

Creates a symmetric security binding element that is configured to do SOAP-level SSL negotiation between the client and server.

Overloads

CreateSslNegotiationBindingElement(Boolean, Boolean) CreateSslNegotiationBindingElement(Boolean, Boolean) CreateSslNegotiationBindingElement(Boolean, Boolean) CreateSslNegotiationBindingElement(Boolean, Boolean)

Creates a symmetric security binding element that does SOAP SSL negotiation, noting whether a client certificate and cancellation is required.

CreateSslNegotiationBindingElement(Boolean) CreateSslNegotiationBindingElement(Boolean) CreateSslNegotiationBindingElement(Boolean) CreateSslNegotiationBindingElement(Boolean)

Creates a symmetric security binding element that is configured to do SOAP-level SSL negotiation between the client and server, noting whether a client certificate is required.

CreateSslNegotiationBindingElement(Boolean, Boolean) CreateSslNegotiationBindingElement(Boolean, Boolean) CreateSslNegotiationBindingElement(Boolean, Boolean) CreateSslNegotiationBindingElement(Boolean, Boolean)

Creates a symmetric security binding element that does SOAP SSL negotiation, noting whether a client certificate and cancellation is required.

public:
 static System::ServiceModel::Channels::SymmetricSecurityBindingElement ^ CreateSslNegotiationBindingElement(bool requireClientCertificate, bool requireCancellation);
public static System.ServiceModel.Channels.SymmetricSecurityBindingElement CreateSslNegotiationBindingElement (bool requireClientCertificate, bool requireCancellation);
static member CreateSslNegotiationBindingElement : bool * bool -> System.ServiceModel.Channels.SymmetricSecurityBindingElement
Public Shared Function CreateSslNegotiationBindingElement (requireClientCertificate As Boolean, requireCancellation As Boolean) As SymmetricSecurityBindingElement

Parameters

requireClientCertificate
Boolean Boolean Boolean Boolean

true if a client certificate is required during the SSL negotiation.

requireCancellation
Boolean Boolean Boolean Boolean

true if cancellation is required. 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.

Returns

Remarks

The security context token issued after the SSL negotiation is session based is requireCancellation is true; otherwise, it is cookie based.

CreateSslNegotiationBindingElement(Boolean) CreateSslNegotiationBindingElement(Boolean) CreateSslNegotiationBindingElement(Boolean) CreateSslNegotiationBindingElement(Boolean)

Creates a symmetric security binding element that is configured to do SOAP-level SSL negotiation between the client and server, noting whether a client certificate is required.

public:
 static System::ServiceModel::Channels::SymmetricSecurityBindingElement ^ CreateSslNegotiationBindingElement(bool requireClientCertificate);
public static System.ServiceModel.Channels.SymmetricSecurityBindingElement CreateSslNegotiationBindingElement (bool requireClientCertificate);
static member CreateSslNegotiationBindingElement : bool -> System.ServiceModel.Channels.SymmetricSecurityBindingElement
Public Shared Function CreateSslNegotiationBindingElement (requireClientCertificate As Boolean) As SymmetricSecurityBindingElement

Parameters

requireClientCertificate
Boolean Boolean Boolean Boolean

true if a client certificate is required during the SSL negotiation.

Returns

Remarks

The security context token issued after the SSL negotiation is cookie based.

Applies to