SecurityBindingElement.CreateCertificateSignatureBindingElement 方法

定义

创建使用证书签名消息的绑定元素。 此绑定元素仅可用于单向消息交换,且仅能签名消息。

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

返回

AsymmetricSecurityBindingElement

AsymmetricSecurityBindingElement 对象。

注解

LocalClientSecuritySettings 中返回的 LocalClientSettings 对象的 DetectReplays 属性设置为 false

此绑定元素需要客户端配置用于身份验证目的的证书。

适用于