แก้ไข

แชร์ผ่าน


MessageSecurityVersion Class

Definition

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
Inheritance
MessageSecurityVersion

Remarks

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.

Properties

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.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(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)

Applies to