Redigera

Dela via


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)

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

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)

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

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

requireCancellation
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

A SymmetricSecurityBindingElement that holds the new binding.

Remarks

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

Applies to

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

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

Returns

A SymmetricSecurityBindingElement that holds the new binding.

Remarks

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

Applies to