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.
Top

Public Properties (see also Protected Properties)

  Name Description
public property CanCanonicalize  Returns a value indicating if the reader is capable of Canonicalization. (Inherited from DelegatingXmlDictionaryWriter)
public property Settings  (Inherited from XmlWriter)
public property WriteState  When overridden in a derived class, gets the state of the writer. (Inherited from DelegatingXmlDictionaryWriter)
public property XmlLang  (Inherited from XmlWriter)
public property XmlSpace  (Inherited from XmlWriter)
Top

Protected Properties

  Name Description
protected property InnerWriter  Get the wrapped writer. (Inherited from DelegatingXmlDictionaryWriter)
Top

Public Methods (see also Protected Methods)

  Name Description
public method Close  Closes the underlying stream. (Inherited from DelegatingXmlDictionaryWriter)
public methodstatic Create  Overloaded. (Inherited from XmlWriter)
public methodstatic CreateBinaryWriter  Overloaded. (Inherited from XmlDictionaryWriter)
public methodstatic CreateDictionaryWriter  (Inherited from XmlDictionaryWriter)
public methodstatic CreateMtomWriter  Overloaded. (Inherited from XmlDictionaryWriter)
public methodstatic CreateTextWriter  Overloaded. (Inherited from XmlDictionaryWriter)
public method 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)
public method Equals  Overloaded. (Inherited from Object)
public method Flush  Fluses the underlying stream. (Inherited from DelegatingXmlDictionaryWriter)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method LookupPrefix  (Inherited from DelegatingXmlDictionaryWriter)
public methodstatic ReferenceEquals  (Inherited from Object)
public method StartCanonicalization  (Inherited from DelegatingXmlDictionaryWriter)
public method ToString  (Inherited from Object)
public method WriteArray  Overloaded. (Inherited from XmlDictionaryWriter)
public method WriteAttributes  (Inherited from XmlWriter)
public method WriteAttributeString  Overloaded. (Inherited from XmlDictionaryWriter)
public method WriteBase64  (Inherited from DelegatingXmlDictionaryWriter)
public method WriteBinHex  (Inherited from XmlWriter)
public method WriteCData  (Inherited from DelegatingXmlDictionaryWriter)
public method WriteCharEntity  (Inherited from DelegatingXmlDictionaryWriter)
public method WriteChars  (Inherited from DelegatingXmlDictionaryWriter)
public method WriteComment  (Inherited from DelegatingXmlDictionaryWriter)
public method WriteDocType  (Inherited from DelegatingXmlDictionaryWriter)
public method WriteElementString  Overloaded. (Inherited from XmlDictionaryWriter)
public method WriteEndAttribute  Closes the previous System.Xml.XmlWriter.WriteStartAttribute(System.String,System.String) call. (Inherited from DelegatingXmlDictionaryWriter)
public method WriteEndDocument  Closes any open elements or attributes and puts the writer back in the Start state. (Inherited from DelegatingXmlDictionaryWriter)
public method 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.
public method WriteEntityRef  (Inherited from DelegatingXmlDictionaryWriter)
public method 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.
public method WriteName  (Inherited from XmlWriter)
public method WriteNmToken  (Inherited from XmlWriter)
public method WriteNode  Overloaded. (Inherited from XmlDictionaryWriter)
public method WriteProcessingInstruction  (Inherited from DelegatingXmlDictionaryWriter)
public method WriteQualifiedName  Overloaded. (Inherited from XmlDictionaryWriter)
public method WriteRaw  Overloaded. (Inherited from DelegatingXmlDictionaryWriter)
public method 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 method WriteStartAttribute  Overloaded. (Inherited from DelegatingXmlDictionaryWriter)
public method WriteStartDocument  Overloaded. (Inherited from DelegatingXmlDictionaryWriter)
public method WriteStartElement Overloaded.  
public method WriteString  Overloaded. (Inherited from DelegatingXmlDictionaryWriter)
public method WriteSurrogateCharEntity  (Inherited from DelegatingXmlDictionaryWriter)
public method WriteValue  Overloaded. (Inherited from XmlDictionaryWriter)
public method WriteWhitespace  (Inherited from DelegatingXmlDictionaryWriter)
public method WriteXmlAttribute  Overloaded. (Inherited from DelegatingXmlDictionaryWriter)
public method WriteXmlnsAttribute  Overloaded. (Inherited from DelegatingXmlDictionaryWriter)
Top

Protected Methods

  Name Description
protected method Dispose  (Inherited from XmlWriter)
protected method Finalize  (Inherited from Object)
protected method InitializeInnerWriter  (Inherited from DelegatingXmlDictionaryWriter)
protected method InitializeTracingWriter  (Inherited from DelegatingXmlDictionaryWriter)
protected method MemberwiseClone  (Inherited from Object)
protected method WriteTextNode  (Inherited from XmlDictionaryWriter)
Top

Explicit Interface Implementations

  Name Description
System.IDisposable.Dispose  (Inherited from XmlWriter)
Top

See Also




Copyright © 2008 by Microsoft Corporation. All rights reserved.