Edit

Share via


WSTrustSerializationContext Class

Definition

Defines the serialization context for WS-Trust messages.

public ref class WSTrustSerializationContext
public class WSTrustSerializationContext
type WSTrustSerializationContext = class
Public Class WSTrustSerializationContext
Inheritance
WSTrustSerializationContext

Remarks

A container for objects used to serialize WS-Trust requests (RST) and responses (RSTR).

Constructors

WSTrustSerializationContext()

Initializes a new instance of the WSTrustSerializationContext class.

WSTrustSerializationContext(SecurityTokenHandlerCollectionManager)

Initializes a new instance of the WSTrustSerializationContext class with the specified SecurityTokenHandlerCollectionManager object.

WSTrustSerializationContext(SecurityTokenHandlerCollectionManager, SecurityTokenResolver, SecurityTokenResolver)

Initializes a new instance of the WSTrustSerializationContext class with the specified SecurityTokenHandlerCollectionManager, SecurityTokenResolver, and SecurityTokenResolver objects.

Properties

SecurityTokenHandlerCollectionManager

Gets the SecurityTokenHandlerCollectionManager that contains the set of SecurityTokenHandler objects used for serializing and validating tokens found in WS-Trust messages.

SecurityTokenHandlers

Gets or sets the collection of SecurityTokenHandler objects used to serialize and validate security tokens found in WS-Trust messages.

TokenResolver

Gets or sets the SecurityTokenResolver object used to resolve security token references found in most elements of WS-Trust messages.

UseKeyTokenResolver

Gets or sets the SecurityTokenResolver object used to resolve security token references found in the wst:UseKey element of RST messages as well as the wst:RenewTarget element found in RST messages.

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