Is there an easier way to sign an XML document in Java?
问题 I'm trying to digitally sign an XML document using Java. I've got an implementation working with some references I've found that use various implementations in the javax.xml.crypto.dsig package. However, my current implementation is like many of the examples I've looked at - it's rather verbose and involves using no less than 23 different API classes from the java.xml.crypto.dsig , javax.xml.transform , and java.security packages, among others. It feels like I've entered factory factory