aspose file tools*
The moose likes Java in General and the fly likes java program to password protect a signed pdf file and validation of the password 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 program to password protect a signed pdf file and validation of the password " Watch "java program to password protect a signed pdf file and validation of the password " New topic
Author

java program to password protect a signed pdf file and validation of the password

pavithra murthy
Ranch Hand

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

i have to write a java program or application such that for example
1. form16.pdf will be digitally signed , i have written the code for digitally signing a pdf.its working
2. i have also written java program to protect the above signed pdf ....giving input as the output of previous program (that is digitally signed pdf) .But problem here is signature is becoming invalid (and its saying document is being tampered.)

But the password is different for different employee / pdf in organisation(for that username corresponding password) . the password protected signed pdf should be sent as attachment over mail and that when the user clicks to open this pdf , It should prompt him with a password and this password should be validated against the table or storage place..and if wrong it should prompt a error message "password entered is wrong "

but i am not supposed to use any Database as such. Please could you provide me some inputs on this requirement
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java program to password protect a signed pdf file and validation of the password
 
Similar Threads
java code for pswd protection+digital sign (for all pgs)
what is openssl
Digital signature question
java program to password protect a signed pdf file using itext pdfstamper
java program to password protect a signed pdf file