aspose file tools*
The moose likes Java in General and the fly likes java code for pswd protection+digital sign (for all pgs) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java code for pswd protection+digital sign (for all pgs)" Watch "java code for pswd protection+digital sign (for all pgs)" New topic
Author

java code for pswd protection+digital sign (for all pgs)

pavithra murthy
Ranch Hand

Joined: Feb 06, 2009
Posts: 56
hello friend ,

i have written a java code for digitally signing and password protect a pdf document using itext.jar...
now what is happening is i am using export.cer and keystore.ks which i created using a keytool command in command prompt. so when i open the pdf the signature is invalid ...only when i manually click on the signature and verify it then it will get validated...also when i send the pdf to my friends computer the same thing is happening .Could anyone please help me out in solving this issue..
is this because i am using some non trusted certificate and keystore

Also if i have to get a trusted certificate from Versign or so...how actually do they give me the private key similar to keystore.ks
the code is given below . please could anyone help me out !!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java code for pswd protection+digital sign (for all pgs)
 
Similar Threads
java program to password protect a signed pdf file using itext pdfstamper
iText: password protect a signed pdf file
java program to password protect a signed pdf file
java program to password protect a signed pdf file
How to revoke permission to save or copy a PDF file in java