Edit

Bagikan melalui


SecurityBindingElement.CreateCertificateSignatureBindingElement Method

Definition

Creates a binding element using a certificate to sign messages. This binding element can be used only for one-way message exchanges and is capable only of signing the message.

public:
 static System::ServiceModel::Channels::AsymmetricSecurityBindingElement ^ CreateCertificateSignatureBindingElement();
public static System.ServiceModel.Channels.AsymmetricSecurityBindingElement CreateCertificateSignatureBindingElement ();
static member CreateCertificateSignatureBindingElement : unit -> System.ServiceModel.Channels.AsymmetricSecurityBindingElement
Public Shared Function CreateCertificateSignatureBindingElement () As AsymmetricSecurityBindingElement

Returns

A AsymmetricSecurityBindingElement object.

Remarks

The LocalClientSecuritySettings object returned from LocalClientSettings has its DetectReplays property set to false.

This binding element requires the client to configure a certificate for authentication purposes.

Applies to