SecurityBindingElement.CreateCertificateOverTransportBindingElement メソッド

定義

SOAP メッセージ セキュリティを使用する証明書ベースの認証をクライアントが行うものと想定する、セキュリティ バインド要素を作成します。 このバインド要素は、トランスポートがサーバー認証だけでなく、メッセージ保護 (たとえば HTTPS) も提供することを想定します。

オーバーロード

CreateCertificateOverTransportBindingElement()

SOAP メッセージ セキュリティを使用する証明書ベースの認証をクライアントが行うものと想定する、セキュリティ バインド要素を作成します。

CreateCertificateOverTransportBindingElement(MessageSecurityVersion)

SOAP メッセージ セキュリティを使用する証明書ベースの認証をクライアントが行うものと想定する、セキュリティ バインド要素を作成します。

注釈

クライアントには、認証に使用する証明書を構成する必要があります。

Note

このメソッドを呼び出すことで SecurityBindingElement オブジェクトが作成されたら、MessageSecurityVersion プロパティを変更不可として扱う必要があります。 この値が変更されると、矛盾するバインド動作が発生する可能性があります。

CreateCertificateOverTransportBindingElement()

Source:
SecurityBindingElement.cs
Source:
SecurityBindingElement.cs
Source:
SecurityBindingElement.cs

SOAP メッセージ セキュリティを使用する証明書ベースの認証をクライアントが行うものと想定する、セキュリティ バインド要素を作成します。

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

戻り値

TransportSecurityBindingElement オブジェクト。

注釈

このバインド要素は、トランスポートがサーバー認証だけでなく、メッセージ保護 (たとえば HTTPS) も提供することを想定します。

バインディング要素は、Default クラスの MessageSecurityVersion プロパティを使用するように構成されます。

作成されたバインディングでは、IncludeTimestamptrue に設定されています。

LocalClientSecuritySettings から返される LocalClientSettings オブジェクトでは、DetectReplays プロパティが false に設定されています。

LocalServiceSecuritySettings から返される LocalServiceSettings オブジェクトでは、DetectReplays プロパティが false に設定されています。

適用対象

CreateCertificateOverTransportBindingElement(MessageSecurityVersion)

Source:
SecurityBindingElement.cs
Source:
SecurityBindingElement.cs
Source:
SecurityBindingElement.cs

SOAP メッセージ セキュリティを使用する証明書ベースの認証をクライアントが行うものと想定する、セキュリティ バインド要素を作成します。

public:
 static System::ServiceModel::Channels::TransportSecurityBindingElement ^ CreateCertificateOverTransportBindingElement(System::ServiceModel::MessageSecurityVersion ^ version);
public static System.ServiceModel.Channels.TransportSecurityBindingElement CreateCertificateOverTransportBindingElement (System.ServiceModel.MessageSecurityVersion version);
static member CreateCertificateOverTransportBindingElement : System.ServiceModel.MessageSecurityVersion -> System.ServiceModel.Channels.TransportSecurityBindingElement
Public Shared Function CreateCertificateOverTransportBindingElement (version As MessageSecurityVersion) As TransportSecurityBindingElement

パラメーター

version
MessageSecurityVersion

バインディングの MessageSecurityVersion

戻り値

TransportSecurityBindingElement オブジェクト。

例外

versionnullです。

注釈

このバインド要素は、トランスポートがサーバー認証だけでなく、メッセージ保護 (たとえば HTTPS) も提供することを想定します。 バインド要素を、指定した MessageSecurityVersion で構成します。

作成されたバインディングでは、IncludeTimestamptrue に設定されています。

LocalClientSecuritySettings から返される LocalClientSettings オブジェクトでは、DetectReplays プロパティが false に設定されています。

LocalServiceSecuritySettings から返される LocalServiceSettings オブジェクトでは、DetectReplays プロパティが false に設定されています。

適用対象