public String signDocument(String xml)
public String[] signDocument(String xml)
    public String signDocument(String xml)        throws SignatureManagerException {        try {            StringReader reader = new StringReader(xml);            Document doc = db.parse(new InputSource(reader));            Document signedDoc = signDocument(doc);            ByteArrayOutputStream out = new ByteArrayOutputStream();            XMLUtils.outputDOM(signedDoc,out);            return out.toString();        } catch (Exception e) {            throw new SignatureManagerException(e);        }    }