How can i sign hash of xml file and integrate signature in original file
问题 Is there a way to sign the hash of an xml file and then integrate this signed hash into the original file. For the PDF signature I use iText and it works very well. UPDATE 1 : Sign Original XML FILE public class SignXML { static String fileToSign = "B:/tmp/client/032936.xml"; static String signedFile = "B:/tmp/client/Signed-032936.xml"; static String certificate = "C:/lp7command/tools/certificate.p12"; static String password = "123456"; public static void main(String[] args) throws Exception{