Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Sustainsys.​Saml2.​Saml2P.​EnvelopedSignatureWriterWithReferenceIdFix

Assembly: Sustainsys.Saml2

Inheritance: object → System.​Xml.​XmlWriterSystem.​Xml.​XmlDictionaryWriterMicrosoft.​IdentityModel.​Xml.​DelegatingXmlDictionaryWriter → EnvelopedSignatureWriterWithReferenceIdFix

Implemented Interfaces

Wraps a <see cref="T:System.Xml.XmlWriter" /> and generates a signature automatically when the envelope is written completely. By default the generated signature is inserted as the last element in the envelope. This can be modified by explicitly calling WriteSignature to indicate the location inside the envelope where the signature should be inserted.

Properties

Gets or sets the <see cref="P:Sustainsys.Saml2.Saml2P.EnvelopedSignatureWriterWithReferenceIdFix.DSigSerializer" /> to use.
TracingWriter
InnerWriter
WriteState
UseInnerWriter
public bool
CanCanonicalize
public string
XmlLang
XmlSpace

Methods

public void
WriteSignature​()
Sets the position of the signature within the envelope. Call this method while writing the envelope to indicate at which point the signature should be inserted.
public void
WriteEndElement​()
Overrides the base class implementation. When the last element of the envelope is written the signature is automatically computed over the envelope and the signature is inserted at the appropriate position, if WriteSignature was explicitly called or is inserted at the end of the envelope.
public void
WriteFullEndElement​()
Overrides the base class implementation. When the last element of the envelope is written the signature is automatically computed over the envelope and the signature is inserted at the appropriate position, if WriteSignature was explicitly called or is inserted at the end of the envelope.
public void
WriteStartElement​(string prefix, string localName, string namespace)
Overrides the base class. Writes the specified start tag and associates it with the given namespace.
prefix The namespace prefix of the element.
localName The local name of the element.
namespace The namespace URI to associate with the element.
protected void
Dispose​(bool disposing)
Releases the unmanaged resources used by the System.IdentityModel.Protocols.XmlSignature.EnvelopedSignatureWriter and optionally releases the managed resources.
disposing True to release both managed and unmanaged resources; false to release only unmanaged resources.
public void
WriteBase64​(byte[] buffer, int index, int count)
public void
WriteCData​(string text)
public void
WriteCharEntity​(char ch)
public void
WriteChars​(char[] buffer, int index, int count)
public void
WriteComment​(string text)
public void
WriteDocType​(string name, string pubid, string sysid, string subset)
public void
WriteEndAttribute​()
public void
WriteEndDocument​()
public void
WriteEntityRef​(string name)
public void
WriteProcessingInstruction​(string name, string text)
public void
WriteRaw​(char[] buffer, int index, int count)
public void
WriteRaw​(string data)
public void
WriteStartAttribute​(string prefix, string localName, string namespace)
public void
WriteStartDocument​()
public void
WriteStartDocument​(bool standalone)
public void
WriteString​(string text)
public void
WriteSurrogateCharEntity​(char lowChar, char highChar)
public void
WriteWhitespace​(string ws)
public void
WriteXmlAttribute​(string localName, string value)
public void
WriteXmlnsAttribute​(string prefix, string namespace)
public string
LookupPrefix​(string namespace)
public void
Close​()
public void
EndCanonicalization​()
public void
StartCanonicalization​(System.​IO.​Stream stream, bool includeComments, string[] inclusivePrefixes)
public void
WriteArray​(string prefix, string localName, string namespaceUri, bool[] array, int offset, int count)
public void
WriteArray​(string prefix, string localName, string namespaceUri, System.​DateTime[] array, int offset, int count)
public void
WriteArray​(string prefix, string localName, string namespaceUri, decimal[] array, int offset, int count)
public void
WriteArray​(string prefix, string localName, string namespaceUri, double[] array, int offset, int count)
public void
WriteArray​(string prefix, string localName, string namespaceUri, System.​Guid[] array, int offset, int count)
public void
WriteArray​(string prefix, string localName, string namespaceUri, short[] array, int offset, int count)
public void
WriteArray​(string prefix, string localName, string namespaceUri, int[] array, int offset, int count)
public void
WriteArray​(string prefix, string localName, string namespaceUri, long[] array, int offset, int count)
public void
WriteArray​(string prefix, string localName, string namespaceUri, System.​Single[] array, int offset, int count)
public void
WriteArray​(string prefix, string localName, string namespaceUri, System.​TimeSpan[] array, int offset, int count)
public void
WriteArray​(string prefix, System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString? namespaceUri, bool[] array, int offset, int count)
public void
WriteArray​(string prefix, System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString? namespaceUri, System.​DateTime[] array, int offset, int count)
public void
WriteArray​(string prefix, System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString? namespaceUri, decimal[] array, int offset, int count)
public void
WriteArray​(string prefix, System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString? namespaceUri, double[] array, int offset, int count)
public void
WriteArray​(string prefix, System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString? namespaceUri, System.​Guid[] array, int offset, int count)
public void
WriteArray​(string prefix, System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString? namespaceUri, short[] array, int offset, int count)
public void
WriteArray​(string prefix, System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString? namespaceUri, int[] array, int offset, int count)
public void
WriteArray​(string prefix, System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString? namespaceUri, long[] array, int offset, int count)
public void
WriteArray​(string prefix, System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString? namespaceUri, System.​Single[] array, int offset, int count)
public void
WriteArray​(string prefix, System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString? namespaceUri, System.​TimeSpan[] array, int offset, int count)
public void
WriteAttributeString​(string prefix, System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString namespaceUri, string value)
public void
WriteAttributeString​(System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString namespaceUri, string value)
WriteBase64Async​(byte[] buffer, int index, int count)
public void
WriteElementString​(string prefix, System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString namespaceUri, string value)
public void
WriteElementString​(System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString namespaceUri, string value)
public void
WriteNode​(System.​Xml.​XmlDictionaryReader reader, bool defattr)
public void
WriteNode​(System.​Xml.​XmlReader reader, bool defattr)
public void
WriteQualifiedName​(System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString? namespaceUri)
public void
WriteStartAttribute​(string prefix, System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString namespaceUri)
public void
WriteStartAttribute​(System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString? namespaceUri)
public void
WriteStartElement​(string prefix, System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString namespaceUri)
public void
WriteStartElement​(System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString? namespaceUri)
public void
WriteString​(System.​Xml.​XmlDictionaryString value)
protected void
WriteTextNode​(System.​Xml.​XmlDictionaryReader reader, bool isAttribute)
public void
WriteValue​(System.​Guid value)
public void
WriteValue​(System.​TimeSpan value)
public void
WriteValue​(System.​Xml.​IStreamProvider value)
public void
WriteValue​(System.​Xml.​UniqueId value)
public void
WriteValue​(System.​Xml.​XmlDictionaryString value)
public void
WriteXmlAttribute​(System.​Xml.​XmlDictionaryString localName, System.​Xml.​XmlDictionaryString? value)
public void
WriteXmlnsAttribute​(string prefix, System.​Xml.​XmlDictionaryString namespaceUri)
public void
Dispose​()
public void
WriteAttributes​(System.​Xml.​XmlReader reader, bool defattr)
WriteAttributesAsync​(System.​Xml.​XmlReader reader, bool defattr)
public void
WriteAttributeString​(string localName, string value)
public void
WriteAttributeString​(string localName, string ns, string value)
public void
WriteAttributeString​(string prefix, string localName, string ns, string value)
WriteAttributeStringAsync​(string prefix, string localName, string ns, string value)
public void
WriteBinHex​(byte[] buffer, int index, int count)
WriteBinHexAsync​(byte[] buffer, int index, int count)
WriteCDataAsync​(string text)
WriteCharEntityAsync​(char ch)
WriteCharsAsync​(char[] buffer, int index, int count)
WriteCommentAsync​(string text)
WriteDocTypeAsync​(string name, string pubid, string sysid, string subset)
public void
WriteElementString​(string localName, string value)
public void
WriteElementString​(string localName, string ns, string value)
public void
WriteElementString​(string prefix, string localName, string ns, string value)
WriteElementStringAsync​(string prefix, string localName, string ns, string value)
WriteEndDocumentAsync​()
WriteEndElementAsync​()
WriteEntityRefAsync​(string name)
WriteFullEndElementAsync​()
public void
WriteName​(string name)
WriteNameAsync​(string name)
public void
WriteNmToken​(string name)
WriteNmTokenAsync​(string name)
public void
WriteNode​(System.​Xml.​XPath.​XPathNavigator navigator, bool defattr)
WriteNodeAsync​(System.​Xml.​XmlReader reader, bool defattr)
WriteNodeAsync​(System.​Xml.​XPath.​XPathNavigator navigator, bool defattr)
WriteProcessingInstructionAsync​(string name, string text)
public void
WriteQualifiedName​(string localName, string ns)
WriteQualifiedNameAsync​(string localName, string ns)
WriteRawAsync​(char[] buffer, int index, int count)
WriteRawAsync​(string data)
public void
WriteStartAttribute​(string localName)
public void
WriteStartAttribute​(string localName, string ns)
WriteStartDocumentAsync​()
WriteStartDocumentAsync​(bool standalone)
public void
WriteStartElement​(string localName)
public void
WriteStartElement​(string localName, string ns)
WriteStartElementAsync​(string prefix, string localName, string ns)
WriteStringAsync​(string text)
WriteSurrogateCharEntityAsync​(char lowChar, char highChar)
public void
WriteValue​(bool value)
public void
WriteValue​(System.​DateTime value)
public void
WriteValue​(System.​DateTimeOffset value)
public void
WriteValue​(decimal value)
public void
WriteValue​(double value)
public void
WriteValue​(int value)
public void
WriteValue​(long value)
public void
WriteValue​(object value)
public void
WriteValue​(System.​Single value)
public void
WriteValue​(string value)
WriteWhitespaceAsync​(string ws)
DisposeAsyncCore​()
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object