• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

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
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic