WSTrust13ResponseSerializer 类
定义
用于序列化和反序列化 WS 信任 1.3 RequestSecurityTokenResponse (RSTR) 消息的类。Class for serializing and deserializing WS-Trust 1.3 RequestSecurityTokenResponse (RSTR) messages.
public ref class WSTrust13ResponseSerializer : System::IdentityModel::Protocols::WSTrust::WSTrustResponseSerializer
public class WSTrust13ResponseSerializer : System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer
type WSTrust13ResponseSerializer = class
inherit WSTrustResponseSerializer
Public Class WSTrust13ResponseSerializer
Inherits WSTrustResponseSerializer
- 继承
构造函数
| WSTrust13ResponseSerializer() |
初始化 WSTrust13ResponseSerializer 类的新实例。Initializes a new instance of the WSTrust13ResponseSerializer class. |
方法
| CanRead(XmlReader) |
检查该指定的 XML 读取器是否通过命名空间“http://docs.oasis-open.org/ws-sx/ws-trust/200512”放置于 RequestSecurityTokenResponse 元素或 RequestSecurityTokenResponseCollection 元素。Checks if the specified XML reader is positioned at a RequestSecurityTokenResponse or a RequestSecurityTokenResponseCollection element with namespace "http://docs.oasis-open.org/ws-sx/ws-trust/200512". |
| CreateInstance() |
创建 RequestSecurityTokenResponse 类的实例,该类能将其序列化或反序列化。Creates an instance of the RequestSecurityTokenResponse class that this class can serialize or deserialize. (继承自 WSTrustResponseSerializer) |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ReadXml(XmlReader, WSTrustSerializationContext) |
从 XmlReader 对象到 RequestSecurityTokenResponse 对象反序列化 RSTR。Deserializes the RSTR from an XmlReader object to a RequestSecurityTokenResponse object. |
| ReadXmlElement(XmlReader, RequestSecurityTokenResponse, WSTrustSerializationContext) |
读取 RSTR 内的特定子元素。Reads a specific child element inside the RSTR. |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |
| Validate(RequestSecurityTokenResponse) |
验证已被反序列化的 RequestSecurityTokenResponse 对象。Validates the RequestSecurityTokenResponse object that has been deserialized. (继承自 WSTrustResponseSerializer) |
| WriteKnownResponseElement(RequestSecurityTokenResponse, XmlWriter, WSTrustSerializationContext) |
在 RequestSecurityTokenResponse 对象上将受支持的元素写入输出流。Writes the supported elements on the RequestSecurityTokenResponse object to the outgoing stream. |
| WriteXml(RequestSecurityTokenResponse, XmlWriter, WSTrustSerializationContext) |
将指定的 RequestSecurityTokenResponse 对象序列化为 XmlWriter 对象。Serializes the specified RequestSecurityTokenResponse object into the XmlWriter object. |
| WriteXmlElement(XmlWriter, String, Object, RequestSecurityTokenResponse, WSTrustSerializationContext) |
将指定的 RSTR 元素写入该输出流。Writes the specified RSTR element to the outgoing stream. 基类方法的重写。Override of the base class method. |