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

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)
prefix The namespace prefix of the element.
localName The local name of the element.
namespace The namespace URI to associate with the element.
Overrides the base class. Writes the specified start tag and associates it with the given namespace.
protected void
Dispose​(bool disposing)
disposing True to release both managed and unmanaged resources; false to release only unmanaged resources.
Releases the unmanaged resources used by the System.IdentityModel.Protocols.XmlSignature.EnvelopedSignatureWriter and optionally releases the managed resources.
public void
Flush​()
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​()
Inherited from XmlDictionaryWriter
public void
EndCanonicalization​()
Inherited from XmlDictionaryWriter
public void
StartCanonicalization​(System.IO.Stream stream, bool includeComments, string[] inclusivePrefixes)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, string localName, string namespaceUri, bool[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, string localName, string namespaceUri, System.DateTime[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, string localName, string namespaceUri, decimal[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, string localName, string namespaceUri, double[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, string localName, string namespaceUri, System.Guid[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, string localName, string namespaceUri, short[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, string localName, string namespaceUri, int[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, string localName, string namespaceUri, long[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, string localName, string namespaceUri, System.Single[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, string localName, string namespaceUri, System.TimeSpan[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, bool[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, System.DateTime[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, decimal[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, double[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, System.Guid[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, short[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, int[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, long[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, System.Single[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteArray​(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, System.TimeSpan[] array, int offset, int count)
Inherited from XmlDictionaryWriter
public void
WriteAttributeString​(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, string value)
Inherited from XmlDictionaryWriter
public void
WriteAttributeString​(System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, string value)
Inherited from XmlDictionaryWriter
WriteBase64Async​(byte[] buffer, int index, int count)
Inherited from XmlDictionaryWriter
public void
WriteElementString​(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, string value)
Inherited from XmlDictionaryWriter
public void
WriteElementString​(System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri, string value)
Inherited from XmlDictionaryWriter
public void
WriteNode​(System.Xml.XmlDictionaryReader reader, bool defattr)
Inherited from XmlDictionaryWriter
public void
WriteNode​(System.Xml.XmlReader reader, bool defattr)
Inherited from XmlDictionaryWriter
public void
WriteQualifiedName​(System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri)
Inherited from XmlDictionaryWriter
public void
WriteStartAttribute​(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri)
Inherited from XmlDictionaryWriter
public void
WriteStartAttribute​(System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri)
Inherited from XmlDictionaryWriter
public void
WriteStartElement​(string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri)
Inherited from XmlDictionaryWriter
public void
WriteStartElement​(System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri)
Inherited from XmlDictionaryWriter
public void
WriteString​(System.Xml.XmlDictionaryString value)
Inherited from XmlDictionaryWriter
protected void
WriteTextNode​(System.Xml.XmlDictionaryReader reader, bool isAttribute)
Inherited from XmlDictionaryWriter
public void
WriteValue​(System.Guid value)
Inherited from XmlDictionaryWriter
public void
WriteValue​(System.TimeSpan value)
Inherited from XmlDictionaryWriter
public void
WriteValue​(System.Xml.IStreamProvider value)
Inherited from XmlDictionaryWriter
public void
WriteValue​(System.Xml.UniqueId value)
Inherited from XmlDictionaryWriter
public void
WriteValue​(System.Xml.XmlDictionaryString value)
Inherited from XmlDictionaryWriter
public void
WriteXmlAttribute​(System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString value)
Inherited from XmlDictionaryWriter
public void
WriteXmlnsAttribute​(string prefix, System.Xml.XmlDictionaryString namespaceUri)
Inherited from XmlDictionaryWriter
public void
Dispose​()
Inherited from XmlWriter
FlushAsync​()
Inherited from XmlWriter
public void
WriteAttributes​(System.Xml.XmlReader reader, bool defattr)
Inherited from XmlWriter
WriteAttributesAsync​(System.Xml.XmlReader reader, bool defattr)
Inherited from XmlWriter
public void
WriteAttributeString​(string localName, string value)
Inherited from XmlWriter
public void
WriteAttributeString​(string localName, string ns, string value)
Inherited from XmlWriter
public void
WriteAttributeString​(string prefix, string localName, string ns, string value)
Inherited from XmlWriter
WriteAttributeStringAsync​(string prefix, string localName, string ns, string value)
Inherited from XmlWriter
public void
WriteBinHex​(byte[] buffer, int index, int count)
Inherited from XmlWriter
WriteBinHexAsync​(byte[] buffer, int index, int count)
Inherited from XmlWriter
WriteCDataAsync​(string text)
Inherited from XmlWriter
WriteCharEntityAsync​(char ch)
Inherited from XmlWriter
WriteCharsAsync​(char[] buffer, int index, int count)
Inherited from XmlWriter
WriteCommentAsync​(string text)
Inherited from XmlWriter
WriteDocTypeAsync​(string name, string pubid, string sysid, string subset)
Inherited from XmlWriter
public void
WriteElementString​(string localName, string value)
Inherited from XmlWriter
public void
WriteElementString​(string localName, string ns, string value)
Inherited from XmlWriter
public void
WriteElementString​(string prefix, string localName, string ns, string value)
Inherited from XmlWriter
WriteElementStringAsync​(string prefix, string localName, string ns, string value)
Inherited from XmlWriter
WriteEndDocumentAsync​()
Inherited from XmlWriter
WriteEndElementAsync​()
Inherited from XmlWriter
WriteEntityRefAsync​(string name)
Inherited from XmlWriter
WriteFullEndElementAsync​()
Inherited from XmlWriter
public void
WriteName​(string name)
Inherited from XmlWriter
WriteNameAsync​(string name)
Inherited from XmlWriter
public void
WriteNmToken​(string name)
Inherited from XmlWriter
WriteNmTokenAsync​(string name)
Inherited from XmlWriter
public void
WriteNode​(System.Xml.XPath.XPathNavigator navigator, bool defattr)
Inherited from XmlWriter
WriteNodeAsync​(System.Xml.XmlReader reader, bool defattr)
Inherited from XmlWriter
WriteNodeAsync​(System.Xml.XPath.XPathNavigator navigator, bool defattr)
Inherited from XmlWriter
WriteProcessingInstructionAsync​(string name, string text)
Inherited from XmlWriter
public void
WriteQualifiedName​(string localName, string ns)
Inherited from XmlWriter
WriteQualifiedNameAsync​(string localName, string ns)
Inherited from XmlWriter
WriteRawAsync​(char[] buffer, int index, int count)
Inherited from XmlWriter
WriteRawAsync​(string data)
Inherited from XmlWriter
public void
WriteStartAttribute​(string localName)
Inherited from XmlWriter
public void
WriteStartAttribute​(string localName, string ns)
Inherited from XmlWriter
WriteStartDocumentAsync​()
Inherited from XmlWriter
WriteStartDocumentAsync​(bool standalone)
Inherited from XmlWriter
public void
WriteStartElement​(string localName)
Inherited from XmlWriter
public void
WriteStartElement​(string localName, string ns)
Inherited from XmlWriter
WriteStartElementAsync​(string prefix, string localName, string ns)
Inherited from XmlWriter
WriteStringAsync​(string text)
Inherited from XmlWriter
WriteSurrogateCharEntityAsync​(char lowChar, char highChar)
Inherited from XmlWriter
public void
WriteValue​(bool value)
Inherited from XmlWriter
public void
WriteValue​(System.DateTime value)
Inherited from XmlWriter
public void
WriteValue​(System.DateTimeOffset value)
Inherited from XmlWriter
public void
WriteValue​(decimal value)
Inherited from XmlWriter
public void
WriteValue​(double value)
Inherited from XmlWriter
public void
WriteValue​(int value)
Inherited from XmlWriter
public void
WriteValue​(long value)
Inherited from XmlWriter
public void
WriteValue​(object value)
Inherited from XmlWriter
public void
WriteValue​(System.Single value)
Inherited from XmlWriter
public void
WriteValue​(string value)
Inherited from XmlWriter
WriteWhitespaceAsync​(string ws)
Inherited from XmlWriter
DisposeAsync​()
Inherited from XmlWriter
DisposeAsyncCore​()
Inherited from XmlWriter
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