MessageSecurityOverHttp 类

定义

用于设置 wsDualHttpBinding 绑定上的消息级安全属性。Enables setting message-level security properties on the wsDualHttpBinding binding.

public ref class MessageSecurityOverHttp
public class MessageSecurityOverHttp
type MessageSecurityOverHttp = class
Public Class MessageSecurityOverHttp
继承
MessageSecurityOverHttp
派生

注解

通过 Security 属性(它返回 WSDualHttpSecurity 对象)从绑定访问此对象。This object is accessed from the binding by means of the Security property, which returns a WSDualHttpSecurity object. Message 属性提供对 MessageSecurityOverHttp 对象的引用。The Message property provides a reference to the MessageSecurityOverHttp object.

构造函数

MessageSecurityOverHttp()

初始化 MessageSecurityOverHttp 类的新实例。Initializes a new instance of the MessageSecurityOverHttp class.

属性

AlgorithmSuite

指定用于 SOAP 级安全消息的算法套件。Specifies the algorithm suite used for security messages at the SOAP level.

ClientCredentialType

指定在 wsHttpBinding 或 wsDualHttpBinding 绑定中用于客户端身份验证的客户端凭据的类型。Specifies the type of client credential used for client authentication in the wsHttpBinding or wsDualHttpBinding bindings.

NegotiateServiceCredential

获取或设置一个值,该值指示是在带外客户端提供服务凭据,还是通过协商过程从服务向客户端获取服务凭据。Gets or sets a value that indicates whether the service credential is provisioned at the client out of band or is obtained from the service through a process of negotiation.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
IsSecureConversationEnabled()

仅用于扩展性方案,指出从 MessageSecurityOverHttp 派生的类的实例是否可以如 WS-SecurityConversation 所述,配置为执行安全对话。Only used in extensibility scenarios to indicate whether an instance of a class derived from MessageSecurityOverHttp is configured to perform secure conversation as described in WS-SecurityConversation.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ShouldSerializeAlgorithmSuite()

返回一个值,该值指示 AlgorithmSuite 属性是否已更改,不再是默认值且应对其进行序列化。Returns a value that indicates whether the AlgorithmSuite property has changed from its default value and should be serialized.

ShouldSerializeClientCredentialType()

返回一个值,该值指示 ClientCredentialType 属性是否已更改,不再是默认值且应对其进行序列化。Returns a value that indicates whether the ClientCredentialType property has changed from its default value and should be serialized.

ShouldSerializeNegotiateServiceCredential()

返回一个值,该值指示 NegotiateServiceCredential 属性是否已更改,不再是默认值且应对其进行序列化。Returns a value that indicates whether the NegotiateServiceCredential property has changed from its default value and should be serialized.

ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于