EnvelopedSignatureReader 成员

Wraps a reader pointing to a enveloped signed XML and provides a reader that can be used to read the content without having to process the signature. The Signature is automatically validated when the last element of the envelope is read.

下表列出了 EnvelopedSignatureReader 类型公开的成员。

Public 构造函数

  名称 说明
  EnvelopedSignatureReader 已重载。  

页首

Public 属性

(另请参阅 Protected 属性)

  名称 说明
public property AttributeCount  Get the number of Attributes at the current reader position. (从 DelegatingXmlDictionaryReader 继承)
public property BaseURI  Get the base Uri of the current node. (从 DelegatingXmlDictionaryReader 继承)
public property CanCanonicalize  (从 XmlDictionaryReader 继承)
public property CanReadBinaryContent  (从 XmlReader 继承)
public property CanReadValueChunk  (从 XmlReader 继承)
public property CanResolveEntity  (从 XmlReader 继承)
public property Depth  Get the Depth of the current node. (从 DelegatingXmlDictionaryReader 继承)
public property EOF  Gets a value indicating if reader is positioned at the end of the stream. (从 DelegatingXmlDictionaryReader 继承)
public property HasAttributes  (从 XmlReader 继承)
public property HasValue  Gets a value indicating if the current node can have a Value. (从 DelegatingXmlDictionaryReader 继承)
public property IsDefault  Gets a value indicating if the current node is an attribute that was generated from the default value defined in the DTD or Schema. (从 DelegatingXmlDictionaryReader 继承)
public property IsEmptyElement  Gets a value indicating if the current node is an empty element. (从 DelegatingXmlDictionaryReader 继承)
public property Item  已重载。 (从 DelegatingXmlDictionaryReader 继承)
public property LocalName  Gets the local name of the current node. (从 DelegatingXmlDictionaryReader 继承)
public property Name  Gets the qualified name of the current node. (从 DelegatingXmlDictionaryReader 继承)
public property NamespaceURI  Get the namespace URI of the current node. (从 DelegatingXmlDictionaryReader 继承)
public property NameTable  Gets the XmlNameTable associated with this instance. (从 DelegatingXmlDictionaryReader 继承)
public property NodeType  Gets the type of the current node. (从 DelegatingXmlDictionaryReader 继承)
public property Prefix  Gets the prefix of the current node. (从 DelegatingXmlDictionaryReader 继承)
public property Quotas  (从 XmlDictionaryReader 继承)
public property QuoteChar  Get the quotation mark character used to enclose the attribute node. (" or '). (从 DelegatingXmlDictionaryReader 继承)
public property ReadState  Gets the ReadState of the reader. (从 DelegatingXmlDictionaryReader 继承)
public property SchemaInfo  (从 XmlReader 继承)
public property Settings  (从 XmlReader 继承)
public property SigningCredentials Returns the SigningCredentials used in the signature after the envelope is consumed and when the signature is validated.
public property Value  Gets the text value of the current node. (从 DelegatingXmlDictionaryReader 继承)
public property ValueType  Gets the Common Language Runtime (CLR) type of the current node. (从 DelegatingXmlDictionaryReader 继承)
public property XmlLang  Gets the xml:lang scope. (从 DelegatingXmlDictionaryReader 继承)
public property XmlSpace  Gets the current xml:space scope. If no xml:space scope exists, this property defaults to XmlSpace.None. (从 DelegatingXmlDictionaryReader 继承)

页首

Protected 属性

  名称 说明
protected property InnerReader  Get the wrapped inner reader. (从 DelegatingXmlDictionaryReader 继承)

页首

Public 方法

(另请参阅 Protected 方法)

  名称 说明
public method Close  Closes the reader and changes the System.Xml.XmlReader.ReadState to Closed. (从 DelegatingXmlDictionaryReader 继承)
public methodstatic Create  已重载。 (从 XmlReader 继承)
public methodstatic CreateBinaryReader  已重载。 (从 XmlDictionaryReader 继承)
public methodstatic CreateDictionaryReader  (从 XmlDictionaryReader 继承)
public methodstatic CreateMtomReader  已重载。 (从 XmlDictionaryReader 继承)
public methodstatic CreateTextReader  已重载。 (从 XmlDictionaryReader 继承)
public method EndCanonicalization  (从 XmlDictionaryReader 继承)
public method Equals  已重载。 (从 Object 继承)
public method GetAttribute  已重载。 (从 DelegatingXmlDictionaryReader 继承)
public method GetHashCode  (从 Object 继承)
public method GetType  (从 Object 继承)
public method IndexOfLocalName  已重载。 (从 XmlDictionaryReader 继承)
public method IsLocalName  已重载。 (从 XmlDictionaryReader 继承)
public methodstatic IsName  (从 XmlReader 继承)
public method IsNamespaceUri  已重载。 (从 XmlDictionaryReader 继承)
public methodstatic IsNameToken  (从 XmlReader 继承)
public method IsStartArray  (从 XmlDictionaryReader 继承)
public method IsStartElement  已重载。 (从 XmlDictionaryReader 继承)
public method LookupNamespace  (从 DelegatingXmlDictionaryReader 继承)
public method MoveToAttribute  已重载。 (从 DelegatingXmlDictionaryReader 继承)
public method MoveToContent  (从 XmlReader 继承)
public method MoveToElement  Moves to a node of type Element. (从 DelegatingXmlDictionaryReader 继承)
public method MoveToFirstAttribute  Moves to the first attribute. (从 DelegatingXmlDictionaryReader 继承)
public method MoveToNextAttribute  Moves the reader to the next attribute. (从 DelegatingXmlDictionaryReader 继承)
public method MoveToStartElement  已重载。 (从 XmlDictionaryReader 继承)
public method Read 重写。 Overrides the base Read method. Checks if the end of the envelope is reached and validates the signature if requireSignature is enabled. If the reader gets positioned on a Signature element the whole signature is read in if automaticallyReadSignature is enabled.
public method ReadArray  已重载。 (从 XmlDictionaryReader 继承)
public method ReadAttributeValue  Parses the attribute value into one or more Text, EntityReference, or EndEntity nodes. (从 DelegatingXmlDictionaryReader 继承)
public method ReadBooleanArray  已重载。 (从 XmlDictionaryReader 继承)
public method ReadContentAs  (从 XmlDictionaryReader 继承)
public method ReadContentAsBase64  已重载。 (从 DelegatingXmlDictionaryReader 继承)
public method ReadContentAsBinHex  已重载。 (从 DelegatingXmlDictionaryReader 继承)
public method ReadContentAsBoolean  (从 XmlReader 继承)
public method ReadContentAsChars  (从 XmlDictionaryReader 继承)
public method ReadContentAsDateTime  (从 XmlReader 继承)
public method ReadContentAsDecimal  (从 XmlDictionaryReader 继承)
public method ReadContentAsDouble  (从 XmlReader 继承)
public method ReadContentAsFloat  (从 XmlDictionaryReader 继承)
public method ReadContentAsGuid  (从 XmlDictionaryReader 继承)
public method ReadContentAsInt  (从 XmlReader 继承)
public method ReadContentAsLong  (从 XmlReader 继承)
public method ReadContentAsObject  (从 XmlReader 继承)
public method ReadContentAsQualifiedName  (从 XmlDictionaryReader 继承)
public method ReadContentAsString  已重载。 (从 XmlDictionaryReader 继承)
public method ReadContentAsTimeSpan  (从 XmlDictionaryReader 继承)
public method ReadContentAsUniqueId  (从 DelegatingXmlDictionaryReader 继承)
public method ReadDateTimeArray  已重载。 (从 XmlDictionaryReader 继承)
public method ReadDecimalArray  已重载。 (从 XmlDictionaryReader 继承)
public method ReadDoubleArray  已重载。 (从 XmlDictionaryReader 继承)
public method ReadElementContentAs  已重载。 (从 XmlReader 继承)
public method ReadElementContentAsBase64  已重载。 (从 XmlDictionaryReader 继承)
public method ReadElementContentAsBinHex  已重载。 (从 XmlDictionaryReader 继承)
public method ReadElementContentAsBoolean  已重载。 (从 XmlDictionaryReader 继承)
public method ReadElementContentAsDateTime  已重载。 (从 XmlDictionaryReader 继承)
public method ReadElementContentAsDecimal  已重载。 (从 XmlDictionaryReader 继承)
public method ReadElementContentAsDouble  已重载。 (从 XmlDictionaryReader 继承)
public method ReadElementContentAsFloat  已重载。 (从 XmlDictionaryReader 继承)
public method ReadElementContentAsGuid  (从 XmlDictionaryReader 继承)
public method ReadElementContentAsInt  已重载。 (从 XmlDictionaryReader 继承)
public method ReadElementContentAsLong  已重载。 (从 XmlDictionaryReader 继承)
public method ReadElementContentAsObject  已重载。 (从 XmlReader 继承)
public method ReadElementContentAsString  已重载。 (从 XmlDictionaryReader 继承)
public method ReadElementContentAsTimeSpan  (从 XmlDictionaryReader 继承)
public method ReadElementContentAsUniqueId  (从 XmlDictionaryReader 继承)
public method ReadElementString  已重载。 (从 XmlReader 继承)
public method ReadEndElement  (从 XmlReader 继承)
public method ReadFullStartElement  已重载。 (从 XmlDictionaryReader 继承)
public method ReadGuidArray  已重载。 (从 XmlDictionaryReader 继承)
public method ReadInnerXml  (从 XmlReader 继承)
public method ReadInt16Array  已重载。 (从 XmlDictionaryReader 继承)
public method ReadInt32Array  已重载。 (从 XmlDictionaryReader 继承)
public method ReadInt64Array  已重载。 (从 XmlDictionaryReader 继承)
public method ReadOuterXml  (从 XmlReader 继承)
public method ReadSingleArray  已重载。 (从 XmlDictionaryReader 继承)
public method ReadStartElement  已重载。 (从 XmlDictionaryReader 继承)
public method ReadString  已重载。 (从 XmlDictionaryReader 继承)
public method ReadSubtree  (从 XmlReader 继承)
public method ReadTimeSpanArray  已重载。 (从 XmlDictionaryReader 继承)
public method ReadToDescendant  已重载。 (从 XmlReader 继承)
public method ReadToFollowing  已重载。 (从 XmlReader 继承)
public method ReadToNextSibling  已重载。 (从 XmlReader 继承)
public method ReadValueAsBase64  (从 XmlDictionaryReader 继承)
public method ReadValueChunk  (从 DelegatingXmlDictionaryReader 继承)
public methodstatic ReferenceEquals  (从 Object 继承)
public method ResolveEntity  Resolves the entity reference for EntityReference nodes. (从 DelegatingXmlDictionaryReader 继承)
public method Skip  (从 XmlReader 继承)
public method StartCanonicalization  (从 XmlDictionaryReader 继承)
public method ToString  (从 Object 继承)
public method TryGetArrayLength  (从 XmlDictionaryReader 继承)
public method TryGetBase64ContentLength  (从 XmlDictionaryReader 继承)
public method TryGetLocalNameAsDictionaryString  (从 XmlDictionaryReader 继承)
public method TryGetNamespaceUriAsDictionaryString  (从 XmlDictionaryReader 继承)
public method TryGetValueAsDictionaryString  (从 XmlDictionaryReader 继承)
public method TryReadSignature Reads the signature if the reader is currently positioned at a Signature element.

页首

Protected 方法

  名称 说明
protected method Dispose  (从 XmlReader 继承)
protected method Finalize  (从 Object 继承)
protected method InitializeInnerReader  (从 DelegatingXmlDictionaryReader 继承)
protected method IsTextNode  (从 XmlDictionaryReader 继承)
protected method MemberwiseClone  (从 Object 继承)
protected method ReadContentAsBinHex  已重载。 (从 XmlDictionaryReader 继承)
protected method ReadContentAsString  已重载。 (从 XmlDictionaryReader 继承)
protected method ReadString  已重载。 (从 XmlDictionaryReader 继承)

页首

显式接口实现

  名称 说明
  System.IDisposable.Dispose  (从 XmlReader 继承)

页首

请参见

参考

EnvelopedSignatureReader 类
Microsoft.IdentityModel.Protocols.XmlSignature 命名空间

版权所有 (C) 2008 Microsoft Corporation。保留所有权利。