public class DataObject { // Public Constructors public DataObject( ); public DataObject(string id, string mimeType, string encoding, System.Xml.XmlElement data); // Public Instance Properties public XmlNodeList Data{set; get; } public string Encoding{set; get; } public string Id{set; get; } public string MimeType{set; get; } // Public Instance Methods public XmlElement GetXml( ); public void LoadXml(System.Xml.XmlElement value); }
The DataObject class specifies data embedded within the XML signature document; the data is signed by creating an instance of Reference that specifies local data (where the value of the Reference.Id property begins with "#"). Instances of this class are associated with a signature using the SignedXml.AddObject( ) method.