Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WSTrustMessage Class

WSTrustMessage Class

.NET Framework 4.6 and 4.5

The Base class for RST and RSTR.

Namespace:  System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public abstract class WSTrustMessage : OpenObject

The WSTrustMessage type exposes the following members.

  NameDescription
Protected methodWSTrustMessageInitializes a new instance of the WSTrustMessage class.
Top

  NameDescription
Public propertyAllowPostdatingGets or sets the contents of the wst:AllowPostdating element.
Public propertyAppliesToGets or sets the contents of the wsp:AppliesTo element.
Public propertyAuthenticationTypeGets or sets the contents of the wst:AuthenticationType element.
Public propertyBinaryExchangeGets or sets the contents of the wst:BinaryExchange element.
Public propertyCanonicalizationAlgorithmGets or sets the contents of the wst:CanonicalizationAlgorithm element.
Public propertyContextGets or sets the contents of the Context attribute on the RST or RSTR.
Public propertyEncryptionAlgorithmGets or sets the contents of the wst:EncryptionAlgorithm element.
Public propertyEncryptWithGets or sets the contents of the wst:EncryptWith element.
Public propertyEntropyGets or sets the contents of the wst:Entropy element.
Public propertyKeySizeInBitsGets or sets the contents of the wst:KeySize element inside a RequestSecurityToken (RST) message.
Public propertyKeyTypeGets or sets the contents of the wst:KeyType element inside a RequestSecurityToken (RST) message.
Public propertyKeyWrapAlgorithmGets or sets the contents of the wst:KeyWrapAlgorithm element.
Public propertyLifetimeGets or sets the contents of the wst:Lifetime element inside a RequestSecurityToken (RST) message.
Public propertyPropertiesGet the properties bag to extend the object. (Inherited from OpenObject.)
Public propertyReplyToGets or sets the address to be used for replying to the Relying Party.
Public propertyRequestTypeGets or sets the wst:RequestType element.
Public propertySignatureAlgorithmGets or sets the contents of the wst:SignatureAlgorithm element.
Public propertySignWithGets or sets the contents of the wst:SignWith element.
Public propertyTokenTypeGets or sets the contents of the wst:TokenType element.
Public propertyUseKeyGets or sets the contents of the wst:UseKey element.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

For more information about the message and elements that this class represents, see the version of the WS-Trust specification that applies to your scenario.

.NET Framework

Supported in: 4.6, 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft