Java has an API for supporting XML Digital signatures. http://docs.oracle.com/javase/8/docs/technotes/guides/security/xmldsig/XMLDigitalSignature.html Apache has a library as well - http://santuario.apache.org