Wraps a writer and generates a signature automatically when the envelope is written completely. By default the generated signature is inserted as the last element in the enveloped. This can be modified by explicitily calling WriteSignature to indicate the location inside the envelope where the signature should be inserted.
The following tables list the members exposed by the EnvelopedSignatureWriter type.
Public Constructors
Name | Description | |
---|---|---|
EnvelopedSignatureWriter | Initializes an instance of T:Microsoft.IdentityModel.Protocols.XmlSignature.EnvelopedSignatureWriter. The returned writer can be directly used to write the envelope. The signature will be automatically generated when the envelope is completed. |
Public Properties (see also Protected Properties)
Name | Description | |
---|---|---|
CanCanonicalize | Returns a value indicating if the reader is capable of Canonicalization. (Inherited from DelegatingXmlDictionaryWriter) | |
Settings | (Inherited from XmlWriter) | |
WriteState | When overridden in a derived class, gets the state of the writer. (Inherited from DelegatingXmlDictionaryWriter) | |
XmlLang | (Inherited from XmlWriter) | |
XmlSpace | (Inherited from XmlWriter) |
Protected Properties
Name | Description | |
---|---|---|
InnerWriter | Get the wrapped writer. (Inherited from DelegatingXmlDictionaryWriter) |
Public Methods (see also Protected Methods)
Name | Description | |
---|---|---|
Close | Closes the underlying stream. (Inherited from DelegatingXmlDictionaryWriter) | |
Create | Overloaded. (Inherited from XmlWriter) | |
CreateBinaryWriter | Overloaded. (Inherited from XmlDictionaryWriter) | |
CreateDictionaryWriter | (Inherited from XmlDictionaryWriter) | |
CreateMtomWriter | Overloaded. (Inherited from XmlDictionaryWriter) | |
CreateTextWriter | Overloaded. (Inherited from XmlDictionaryWriter) | |
EndCanonicalization | Closes a previous Start canonicalization operation. The stream given to the StartCanonicalization is flushed and any data written after this call will not be written to the canonical stream. (Inherited from DelegatingXmlDictionaryWriter) | |
Equals | Overloaded. (Inherited from Object) | |
Flush | Fluses the underlying stream. (Inherited from DelegatingXmlDictionaryWriter) | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
LookupPrefix | (Inherited from DelegatingXmlDictionaryWriter) | |
ReferenceEquals | (Inherited from Object) | |
StartCanonicalization | (Inherited from DelegatingXmlDictionaryWriter) | |
ToString | (Inherited from Object) | |
WriteArray | Overloaded. (Inherited from XmlDictionaryWriter) | |
WriteAttributes | (Inherited from XmlWriter) | |
WriteAttributeString | Overloaded. (Inherited from XmlDictionaryWriter) | |
WriteBase64 | (Inherited from DelegatingXmlDictionaryWriter) | |
WriteBinHex | (Inherited from XmlWriter) | |
WriteCData | (Inherited from DelegatingXmlDictionaryWriter) | |
WriteCharEntity | (Inherited from DelegatingXmlDictionaryWriter) | |
WriteChars | (Inherited from DelegatingXmlDictionaryWriter) | |
WriteComment | (Inherited from DelegatingXmlDictionaryWriter) | |
WriteDocType | (Inherited from DelegatingXmlDictionaryWriter) | |
WriteElementString | Overloaded. (Inherited from XmlDictionaryWriter) | |
WriteEndAttribute | Closes the previous System.Xml.XmlWriter.WriteStartAttribute(System.String,System.String) call. (Inherited from DelegatingXmlDictionaryWriter) | |
WriteEndDocument | Closes any open elements or attributes and puts the writer back in the Start state. (Inherited from DelegatingXmlDictionaryWriter) | |
WriteEndElement | Overridden. 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. | |
WriteEntityRef | (Inherited from DelegatingXmlDictionaryWriter) | |
WriteFullEndElement | Overridden. 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. | |
WriteName | (Inherited from XmlWriter) | |
WriteNmToken | (Inherited from XmlWriter) | |
WriteNode | Overloaded. (Inherited from XmlDictionaryWriter) | |
WriteProcessingInstruction | (Inherited from DelegatingXmlDictionaryWriter) | |
WriteQualifiedName | Overloaded. (Inherited from XmlDictionaryWriter) | |
WriteRaw | Overloaded. (Inherited from DelegatingXmlDictionaryWriter) | |
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. | |
WriteStartAttribute | Overloaded. (Inherited from DelegatingXmlDictionaryWriter) | |
WriteStartDocument | Overloaded. (Inherited from DelegatingXmlDictionaryWriter) | |
WriteStartElement | Overloaded. | |
WriteString | Overloaded. (Inherited from DelegatingXmlDictionaryWriter) | |
WriteSurrogateCharEntity | (Inherited from DelegatingXmlDictionaryWriter) | |
WriteValue | Overloaded. (Inherited from XmlDictionaryWriter) | |
WriteWhitespace | (Inherited from DelegatingXmlDictionaryWriter) | |
WriteXmlAttribute | Overloaded. (Inherited from DelegatingXmlDictionaryWriter) | |
WriteXmlnsAttribute | Overloaded. (Inherited from DelegatingXmlDictionaryWriter) |
Protected Methods
Name | Description | |
---|---|---|
Dispose | (Inherited from XmlWriter) | |
Finalize | (Inherited from Object) | |
InitializeInnerWriter | (Inherited from DelegatingXmlDictionaryWriter) | |
InitializeTracingWriter | (Inherited from DelegatingXmlDictionaryWriter) | |
MemberwiseClone | (Inherited from Object) | |
WriteTextNode | (Inherited from XmlDictionaryWriter) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
System.IDisposable.Dispose | (Inherited from XmlWriter) |
See Also
Copyright © 2008 by Microsoft Corporation. All rights reserved.