aspose file tools*
The moose likes Servlets and the fly likes importing keystore and password Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "importing keystore and password" Watch "importing keystore and password" New topic
Author

importing keystore and password

rakhi sinha
Ranch Hand

Joined: Mar 26, 2012
Posts: 147
In my project i am creating a digitally signed pdfs so i want to upload signture and password enterd by user for digital signature ,i dont know how to use it ???
i am using following code for creating digitally signed pdfs ....how to send the uploaded file to another servlet to use ......i have uploaded keystore and password using text box but how to use it in following code dynamically to generate pdfs....at the time of submittion of form keystore(.keystore) and password (abcdef) are inserted by the users....one thing i also want to know that in this program i am using keystore but if i want to use only digital certificate (imported in this keystore) then what changes i have to make in my code???


rakhi sinha
Ranch Hand

Joined: Mar 26, 2012
Posts: 147
rakhi sinha wrote:In my project i am creating a digitally signed pdfs so i want to upload signture and password enterd by user for digital signature ,i dont know how to use it ???
i am using following code for creating digitally signed pdfs ....how to send the uploaded file to another servlet to use ......i have uploaded keystore and password using text box but how to use it in following code dynamically to generate pdfs....at the time of submittion of form keystore(.keystore) and password (abcdef) are inserted by the users....one thing i also want to know that in this program i am using keystore but if i want to use only digital certificate (imported in this keystore) then what changes i have to make in my code???



here i am using keystore but i want to use .pfx(instead of keystore) file so that uploaded .pfx file can be used to digitally sign the pdfs in browser
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: importing keystore and password