This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I must write web app which gets XML from other server then doing something and creates response XML file.
so I want verify and sign this XMLs. I have private and public key pairs and I have public key of other server.
(I generate this in OpenSSL)
I can do this by calling java Runtime exec() method (for execute .bat file and verify - sign ) but it is bad.
Is there any way do this? (Example, import any jar file and write code which uses this key pairs verify - sign)
Is there any library do this?