public void addTimestampManifest(String timestampManifestXml) throws Exception {
  Element object=getFirstElementByTagName(document,dsElement(Constants._TAG_OBJECT));
  Document timestampManifestDoc=parseDocument(timestampManifestXml,false);
  Element timestampManifestElement=timestampManifestDoc.getDocumentElement();
  object.appendChild(document.importNode(timestampManifestElement,true));
}

public void addTimestampManifest ( String timestampManifestXml ) throws Exception { Element object = getFirstElementByTagName ( document , dsElement ( Constants . _TAG_OBJECT ) ) ; Document timestampManifestDoc = parseDocument ( timestampManifestXml , false ) ; Element timestampManifestElement = timestampManifestDoc . getDocumentElement ( ) ; object . appendChild ( document . importNode ( timestampManifestElement , true ) ) ; }
adds a timestamp manifest to this signature .
