MessageSecurityVersion 类
定义
一个抽象容器类,在由其几个静态属性实现时包含安全组件的版本信息。An abstract container class that, when implemented by several of its static properties, contains version information for security components.
public ref class MessageSecurityVersion abstract
public abstract class MessageSecurityVersion
type MessageSecurityVersion = class
Public MustInherit Class MessageSecurityVersion
- 继承
-
MessageSecurityVersion
注解
此类是自定义令牌序列化的扩展性点。This class is the extensibility point for customizing token serialization.
此类是单一实例类,提供有关安全规范(WS-Security、WS-Trust、WS-Secure Conversation 和 WS-Security Policy)版本的信息,绑定必须支持这些安全规范。This class is a singleton that provides information about the versions of the security specifications, (WS-Security, WS-Trust, WS-Secure Conversation and WS-Security Policy), that must be supported by a binding.
此类包含七个 static 属性,每个属性返回一个此类的实例。The class contains seven static properties, each of which returns an instance of this class. 这些属性中的每一个表示安全规范版本的一个不同组合。Each of these properties represents a different combination of security specification versions. 此类的实例用作 Create…CertificateBindingElement 类上 SecurityBindingElement 方法调用中的参数。The instances of this class are used as parameters in the Create…CertificateBindingElement method calls on the SecurityBindingElement class. 如果传递 Default 属性,将创建绑定元素的标准版本。If you pass the Default property, you create a standard version of the binding element. 若要创建非标准版本,请传递与您的版本相匹配的属性。To create a non-standard version, pass the property that matches your version.
此类也包含由以前的实例实现的 abstract 属性。The class also contains abstract properties that are implemented by the previous instances.
属性
| BasicSecurityProfileVersion |
获取基本安全配置文件的版本信息。Gets the version information for the Basic Security Profile. |
| Default |
获取默认消息安全的版本信息。Gets the version information for default message security. |
| SecureConversationVersion |
获取与消息安全版本相对应的 WS-SecureConversation 版本。Gets the WS-SecureConversation version that corresponds to the message security version. |
| SecurityPolicyVersion |
获取与消息安全版本相对应的 WS-SecurityPolicy 版本。Gets the WS-SecurityPolicy version that corresponds to the message security version. |
| SecurityTokenVersion |
获取与消息安全版本相对应的安全令牌版本。Gets the security token version that corresponds to the message security version. |
| SecurityVersion |
获取与消息安全版本相对应的 WS-Security 版本。Gets the WS-Security version that corresponds to the message security version. |
| TrustVersion |
获取与消息安全版本相对应的 WS-Trust 版本。Gets the WS-Trust version that corresponds to the message security version. |
| WSSecurity10WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10 |
获取要求 Basic Security Profile 1.0 的消息安全版本,Basic Security Profile 1.0 以 WS-Security 1.0、WS-Trust 1.3、WS-SecureConversation 1.3 和 WS-SecurityPolicy 1.2 安全规范为基础。Gets the message security version that requires the Basic Security Profile 1.0 based on WS-Security 1.0, WS-Trust 1.3, WS-SecureConversation 1.3 and WS-SecurityPolicy 1.2 security specifications. |
| WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10 |
获取要求 Basic Security Profile 1.0 的消息安全版本,Basic Security Profile 1.0 以 WS-Security 1.0、WS-Trust 2005 年 2 月版本、WS-SecureConversation 2005 年 2 月版本和 WS-SecurityPolicy 1.1 安全规范为基础。Gets the message security version that requires the Basic Security Profile 1.0 based on WS-Security 1.0, WS-Trust of February 2005, WS-SecureConversation of February 2005 and WS-SecurityPolicy 1.1 security specifications. |
| WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12 |
获取要求 WS-Security 1.1、WS-Trust 1.3、WS-SecureConversation 1.3 和 WS-SecurityPolicy 1.2 安全规范的消息安全版本。Gets the message security version that requires the WS-Security 1.1, WS-Trust 1.3, WS-SecureConversation 1.3 and WS-SecurityPolicy 1.2 security specifications. |
| WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10 |
获取要求 WS-Security1.1、WS-Trust 1.3、WS-SecureConversation 1.3、WS-SecurityPolicy 1.2 和 BasicSecurityProfile 1.0 安全规范的消息安全版本。Gets the message security version that requires the WS-Security1.1, WS-Trust 1.3, WS-SecureConversation 1.3, WS-SecurityPolicy 1.2, and BasicSecurityProfile 1.0 security specifications. |
| WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11 |
获取要求 WS-Security 1.1、WS-Trust 2005 年 2 月版本、WS-SecureConversation 2005 年 2 月版本和 WS-SecurityPolicy 1.1 安全规范的消息安全版本。Gets the message security version that requires the WS-Security 1.1, WS-Trust of February 2005, WS-SecureConversation of February 2005 and WS-SecurityPolicy 1.1 security specifications. |
| WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10 |
获取要求基本安全配置文件的消息安全版本,基本安全配置文件以 WS-Security 1.1、WS-Trust 2005 年 2 月版本、WS-SecureConversation 2005 年 2 月版本和 WS-SecurityPolicy 1.1 安全规范为基础。Gets the message security version that requires the Basic Security Profile based on WS-Security 1.1, WS-Trust of February 2005, WS-SecureConversation of February 2005 and WS-SecurityPolicy 1.1 security specifications. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |