• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use private and public keys in java which I create in OpenSSL

 
Vasif Mustafayev
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
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.

Question:
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?

please help me
 
Mike Peters
Ranch Hand
Posts: 67
Debian Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you can get some help from this link: http://java.sun.com/developer/technicalArticles/xml/dig_signatures/
 
Vasif Mustafayev
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I've solved this problem. If somebody needs help please contact with me ...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic