• 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
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

java program to password protect a signed pdf file

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello friend ,

i have written a java code for protecting and digitally signing . but i am giving one pdf file as input and the protected pdf as output using jpdfsecure.jar in first try catch block ....in the second try catch block digital signing of pdf using itext.jar .

but after protecting the pdf and that pretected pdf is input for digitally signing code

PdfReader reader = new PdfReader("ch01out.pdf");
int nomPage = reader.getNumberOfPages();
System.out.println("nomPage: "+nomPage);

at this time if the pdf contains 30 pages ,,,the number of pages coming is 10 pages .please could anyone help me out

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic