public Element signXML(Document doc,String certAlias,String algorithm,String idAttrName,String id,boolean includeCert,String xpath) throws XMLSignatureException {
  return signXMLUsingKeyPass(doc,certAlias,null,algorithm,idAttrName,id,includeCert,xpath);
}

public Element signXML ( Document doc , String certAlias , String algorithm , String idAttrName , String id , boolean includeCert , String xpath ) throws XMLSignatureException { return signXMLUsingKeyPass ( doc , certAlias , null , algorithm , idAttrName , id , includeCert , xpath ) ; }
sign part of the xml document referred by the supplied id attribute using enveloped signatures and use exclusive xml canonicalization .
