• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

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

 
Ranch Hand
Posts: 56
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
bacon. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic