public org.w3c.dom.Element signXML(org.w3c.dom.Document doc,java.lang.String certAlias,java.lang.String algorithm,java.lang.String id) throws XMLSignatureException {
  return signXML(doc,certAlias,algorithm,DEF_ID_ATTRIBUTE,id,false,null);
}

public org . w3c . dom . Element signXML ( org . w3c . dom . Document doc , java . lang . String certAlias , java . lang . String algorithm , java . lang . String id ) throws XMLSignatureException { return signXML ( doc , certAlias , algorithm , DEF_ID_ATTRIBUTE , id , false , null ) ; }
sign part of the xml document referered by the supplied id attribute using enveloped signatures and use exclusive xml canonicalization .
