Name

DataObject

Synopsis

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.

Passed To

Signature.AddObject( ), SignedXml.AddObject( )

Get Programming .NET Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.