Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Digital signature question

 
pavithra murthy
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello friend ,

i have written a java code to digital sign and password protect pdf file . i have used keystore.ks and exports.cer
exports.cer is my public key certificate which i have created using command in command prompt

both created in cmd prompt using below commands


when i execute the java program the signed pdf when i open the Signature is valid . But when i send the same signed pdf to my collegue's system and when she opens it the signature is invalid .

Do i need to install anything in my collegues system also . Please could anyone help me out !!!

Please could anyone tell me on both client and server side only public key is used.No private key is needed .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic