File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes java program to password protect a signed pdf file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "java program to password protect a signed pdf file " Watch "java program to password protect a signed pdf file " New topic
Author

java program to password protect a signed pdf file

pavithra murthy
Ranch Hand

Joined: Feb 06, 2009
Posts: 53
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java program to password protect a signed pdf file
 
Similar Threads
java code for pswd protection+digital sign (for all pgs)
java program to password protect a signed pdf file
java program to password protect a signed pdf file using itext pdfstamper
java program to add digital signature into a pdf file
iText: password protect a signed pdf file