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.XmlWriter → System.Xml.XmlDictionaryWriter → Microsoft.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
DSigSerializer
Gets or sets the <see cref="P:Sustainsys.Saml2.Saml2P.EnvelopedSignatureWriterWithReferenceIdFix.DSigSerializer" /> to use.
TracingWriter
InnerWriter
WriteState
UseInnerWriter
public
bool
CanCanonicalize
Settings
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
WriteBase64​(byte[] buffer,
int index,
int count)
Inherited from DelegatingXmlDictionaryWriter
public
void
WriteChars​(char[] buffer,
int index,
int count)
Inherited from DelegatingXmlDictionaryWriter
public
void
WriteDocType​(string name,
string pubid,
string sysid,
string subset)
Inherited from DelegatingXmlDictionaryWriter
public
void
WriteEntityRef​(string name)
Inherited from DelegatingXmlDictionaryWriter
public
void
WriteProcessingInstruction​(string name,
string text)
Inherited from DelegatingXmlDictionaryWriter
public
void
WriteRaw​(char[] buffer,
int index,
int count)
Inherited from DelegatingXmlDictionaryWriter
public
void
WriteStartAttribute​(string prefix,
string localName,
string namespace)
Inherited from DelegatingXmlDictionaryWriter
public
void
WriteStartDocument​(bool standalone)
Inherited from DelegatingXmlDictionaryWriter
public
void
WriteSurrogateCharEntity​(char lowChar,
char highChar)
Inherited from DelegatingXmlDictionaryWriter
public
void
WriteXmlAttribute​(string localName,
string value)
Inherited from DelegatingXmlDictionaryWriter
public
void
WriteXmlnsAttribute​(string prefix,
string namespace)
Inherited from DelegatingXmlDictionaryWriter
public
string
LookupPrefix​(string namespace)
Inherited from DelegatingXmlDictionaryWriter
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.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
WriteValueAsync​(System.Xml.IStreamProvider 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
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
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
public
void
WriteNode​(System.Xml.XPath.XPathNavigator navigator,
bool defattr)
Inherited from XmlWriter
WriteNodeAsync​(System.Xml.XPath.XPathNavigator navigator,
bool defattr)
Inherited from XmlWriter
public
void
WriteQualifiedName​(string localName,
string ns)
Inherited from XmlWriter
public
void
WriteStartAttribute​(string localName,
string ns)
Inherited from XmlWriter
WriteStartElementAsync​(string prefix,
string localName,
string ns)
Inherited from XmlWriter
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object