MessageSecurityVersion Class
An abstract container class that, when implemented by several of its static properties, contains version information for security components.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The MessageSecurityVersion type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | BasicSecurityProfileVersion | Gets the version information for the Basic Security Profile. |
![]() ![]() | Default | Gets the version information for default message security. |
![]() | SecureConversationVersion | Gets the WS-SecureConversation version that corresponds to the message security version. |
![]() | SecurityPolicyVersion | 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 | Gets the WS-Security version that corresponds to the message security version. |
![]() | TrustVersion | Gets the WS-Trust version that corresponds to the message security version. |
![]() ![]() | WSSecurity10WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10 | 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 | 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 | 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 | 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 | 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 | 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. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
This class is the extensibility point for customizing token serialization.
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.
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. The instances of this class are used as parameters in the Create…CertificateBindingElement method calls on the SecurityBindingElement class. 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.
The class also contains abstract properties that are implemented by the previous instances.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
