Bewerken

Delen via


WSTrust13RequestSerializer Class

Definition

Class for serializing and deserializing WS-Trust 1.3 RequestSecurityToken (RST) messages.

public ref class WSTrust13RequestSerializer : System::IdentityModel::Protocols::WSTrust::WSTrustRequestSerializer
public class WSTrust13RequestSerializer : System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer
type WSTrust13RequestSerializer = class
    inherit WSTrustRequestSerializer
Public Class WSTrust13RequestSerializer
Inherits WSTrustRequestSerializer
Inheritance
WSTrust13RequestSerializer

Constructors

WSTrust13RequestSerializer()

Initializes a new instance of the WSTrust13RequestSerializer class.

Methods

CanRead(XmlReader)

Checks if the given reader is positioned at a RequestSecurityToken element with the namespace "http://docs.oasis-open.org/ws-sx/ws-trust/200512".

CreateRequestSecurityToken()

Creates an instance of the RequestSecurityToken class that this class can serialize or deserialize.

(Inherited from WSTrustRequestSerializer)
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)
ReadCustomElement(XmlReader, WSTrustSerializationContext)

When overridden in a derived class, reads a custom element.

(Inherited from WSTrustRequestSerializer)
ReadSecondaryParameters(XmlReader, WSTrustSerializationContext)

Special case for reading SecondaryParameters inside a WS-Trust 1.3 RST.

ReadXml(XmlReader, WSTrustSerializationContext)

Deserializes the RST from an XmlReader object to a RequestSecurityToken object.

ReadXmlElement(XmlReader, RequestSecurityToken, WSTrustSerializationContext)

Reads a child element inside the RST. Override of the base class method.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
Validate(RequestSecurityToken)

Validates the RequestSecurityToken object that has been deserialized.

(Inherited from WSTrustRequestSerializer)
WriteKnownRequestElement(RequestSecurityToken, XmlWriter, WSTrustSerializationContext)

Writes the supported elements on the RequestSecurityToken object to the stream.

WriteXml(RequestSecurityToken, XmlWriter, WSTrustSerializationContext)

Serializes the specified RequestSecurityToken object into the XmlWriter object.

WriteXmlElement(XmlWriter, String, Object, RequestSecurityToken, WSTrustSerializationContext)

Writes the specified RST parameter to the outgoing stream. Override of the base class method.

Applies to