I have a ASP.NET project that generate a pdf file on the server and I need to sign this pdf file throughout the internet with the client usb token certificate, it would be great with this file could be signed on the server without download sign and upload back to the server.
I've already have a ASP.NET project using iTextSharp that sign the pdf exactly the way I need but it's only works on the dev machine, because the ASP.NET can't sign the pdf on the server with the client smart card certificate.
What I need is a signed java applet and a servlet that fulfill all this requirements.
From the asp.net I'll generate the pdf file and redirect to a java applet that reads the certificate from the client usb token, the user will fill the usb token PIN and the java applet will sign this pdf file on the server.
if the file cannot be signed on the server it's transfer need to be with SSL with a servlet to download and upload.