I am new to digital signature. I have a web application developed in asp.net 4.0. In one of the module of this application I am generating pdf file and storing it on the server. The users must be able to choose a pdf file(Available on the server) and digitally sign it with a certificate stored locally (either on their machine or in a smartcard). I do not know whether I should pass pdf file to client place to sign it or I should send Certificate object to the server.
Any help on this will be greatly appreciated