Freigeben über


EnvelopedSignatureReader Class

Definition

Wraps a XmlReader pointing to a root element of XML that may contain a signature. If a Signature element is found, a Signature will be populated and References will have Microsoft.IdentityModel.Xml.EnvelopedSignatureReader.XmlTokenStream set for future validation.

public class EnvelopedSignatureReader : Microsoft.IdentityModel.Xml.DelegatingXmlDictionaryReader
type EnvelopedSignatureReader = class
    inherit DelegatingXmlDictionaryReader
Public Class EnvelopedSignatureReader
Inherits DelegatingXmlDictionaryReader
Inheritance

Constructors

EnvelopedSignatureReader(XmlReader, IXmlElementReader)

Initializes an instance of EnvelopedSignatureReader

EnvelopedSignatureReader(XmlReader)

Initializes an instance of EnvelopedSignatureReader

Properties

AttributeCount

Gets the number of InnerReaders's attributes at the current reader position.

(Inherited from DelegatingXmlDictionaryReader)
BaseURI

Gets the InnerReaders's base Uri of the current node.

(Inherited from DelegatingXmlDictionaryReader)
CanReadBinaryContent

Gets a value indicating if the InnerReader can read binary content

(Inherited from DelegatingXmlDictionaryReader)
CanReadValueChunk

Gets a value indicating if the InnerReader can read value chunk.

(Inherited from DelegatingXmlDictionaryReader)
Depth

Gets the InnerReaders's current depth.

(Inherited from DelegatingXmlDictionaryReader)
EOF

Gets a value indicating if the InnerReader is positioned at the end of the stream.

(Inherited from DelegatingXmlDictionaryReader)
HasValue

Gets a value indicating if the InnerReader current node has a Value.

(Inherited from DelegatingXmlDictionaryReader)
InnerReader

Gets or sets the Inner XmlDictionaryReader.

(Inherited from DelegatingXmlDictionaryReader)
IsDefault

Gets a value indicating if the InnerReader's current node is an attribute that was generated from the default value defined in the DTD or Schema.

(Inherited from DelegatingXmlDictionaryReader)
IsEmptyElement

Gets a value indicating if the InnerReader's current node is empty.

(Inherited from DelegatingXmlDictionaryReader)
Item[Int32]

Gets the value of the InnerReaders's attribute with the specified index.

(Inherited from DelegatingXmlDictionaryReader)
Item[String, String]

Gets the value of the InnerReaders's attribute with the specified LocalName and NamespaceURI.

(Inherited from DelegatingXmlDictionaryReader)
Item[String]

Gets the value of the InnerReaders's attribute with the specified Name.

(Inherited from DelegatingXmlDictionaryReader)
LineNumber

Gets the InnerReader's LineNumber

(Inherited from DelegatingXmlDictionaryReader)
LinePosition

Gets the InnerReader's LinePosition.

(Inherited from DelegatingXmlDictionaryReader)
LocalName

Gets the InnerReader's LocalName of the current node.

(Inherited from DelegatingXmlDictionaryReader)
Name

Gets the InnerReader's Name of the current node.

(Inherited from DelegatingXmlDictionaryReader)
NamespaceURI

Gets the InnerReader's NamespaceURI of the current node.

(Inherited from DelegatingXmlDictionaryReader)
NameTable

Gets the InnerReader's XmlNameTable at the current node.

(Inherited from DelegatingXmlDictionaryReader)
NodeType

Gets the type of the InnerReader's current node type.

(Inherited from DelegatingXmlDictionaryReader)
Prefix

Gets the prefix of the InnerReader's current node.

(Inherited from DelegatingXmlDictionaryReader)
ReadState

Gets the InnerReader's ReadState.

(Inherited from DelegatingXmlDictionaryReader)
Serializer

Gets or sets the DSigSerializer to use when reading XmlDSig elements.

Signature

Gets the Signature that was found inside the XML.

UseInnerReader

Gets the UseInnerReader

(Inherited from DelegatingXmlDictionaryReader)
Value

Gets the Value of the InnerReader's current node.

(Inherited from DelegatingXmlDictionaryReader)
ValueType

Gets the ValueType of InnerReader's current node.

(Inherited from DelegatingXmlDictionaryReader)
XmlLang

Gets the InnerReader's XmlLang.

(Inherited from DelegatingXmlDictionaryReader)
XmlSpace

Gets the InnerReader's XmlSpace.

(Inherited from DelegatingXmlDictionaryReader)

Methods

Close()

Closes the reader and changes the System.Xml.XmlReader.ReadState to Closed.

(Inherited from DelegatingXmlDictionaryReader)
GetAttribute(Int32)

Gets the value of the InnerReader's attribute at the given index.

(Inherited from DelegatingXmlDictionaryReader)
GetAttribute(String, String)

Gets the value of the InnerReader's attribute with the given name and namespace Uri.

(Inherited from DelegatingXmlDictionaryReader)
GetAttribute(String)

Gets the value of the InnerReader's attribute with the given name.

(Inherited from DelegatingXmlDictionaryReader)
HasLineInfo()

Gets a value indicating if the InnerReader HasLineInfo

(Inherited from DelegatingXmlDictionaryReader)
LookupNamespace(String)

Resolves the InnerReader's namespace prefix in the current element scope.

(Inherited from DelegatingXmlDictionaryReader)
MoveToAttribute(Int32)

Moves to the InnerReader's attribute with the specified index.

(Inherited from DelegatingXmlDictionaryReader)
MoveToAttribute(String, String)

Moves to the InnerReader's attribute with the specified LocalName and NamespaceURI.

(Inherited from DelegatingXmlDictionaryReader)
MoveToAttribute(String)

Moves to the InnerReader's attribute with the given local name.

(Inherited from DelegatingXmlDictionaryReader)
MoveToElement()

Moves the InnerReader to a node of type Element.

(Inherited from DelegatingXmlDictionaryReader)
MoveToFirstAttribute()

Moves the InnerReader to the first attribute.

(Inherited from DelegatingXmlDictionaryReader)
MoveToNextAttribute()

Moves the InnerReader to the next attribute.

(Inherited from DelegatingXmlDictionaryReader)
OnEndOfRootElement()

Called after the root element has been completely read. Attaches a Microsoft.IdentityModel.Xml.EnvelopedSignatureReader.XmlTokenStream to the first Reference for future processing if a signature was found.

Read()

Keeps track of the XML Element count. If a signature is detected it is read.

ReadAttributeValue()

Parses the InnerReader's attribute value into one or more Text, EntityReference, or EndEntity nodes.

(Inherited from DelegatingXmlDictionaryReader)
ReadContentAsBase64(Byte[], Int32, Int32)

Reads the InnerReader's content and returns the Base64 decoded binary bytes.

(Inherited from DelegatingXmlDictionaryReader)
ReadContentAsBinHex(Byte[], Int32, Int32)

Reads the InnerReader's content and returns the BinHex decoded binary bytes.

(Inherited from DelegatingXmlDictionaryReader)
ReadContentAsUniqueId()

Reads the content and returns the contained string.

(Inherited from DelegatingXmlDictionaryReader)
ReadValueChunk(Char[], Int32, Int32)

Reads large streams of text embedded in an XML document from the InnerReader.

(Inherited from DelegatingXmlDictionaryReader)
ResolveEntity()

Resolves the InnerReader's EntityReference nodes.

(Inherited from DelegatingXmlDictionaryReader)

Applies to