.getInstance("http://www.w3.org/TR/2001/REC-xml-c14n-20010315");
Element nscontext = XMLUtils.createDSctx(doc, "ds", Constants.SignatureSpecNS);
Node signedInfo = XPathAPI.selectSingleNode(doc, "//ds:SignedInfo",
nscontext);
byte outputBytes[] = c14n.canonicalizeSubtree(signedInfo);
if (outputBytes != null) {
System.out.println(new String(outputBytes));
}
}