This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
java program to password protect a signed pdf file and validation of the password
posted 7 years ago
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