I am developing an asp net mvc 4 application that enables users to sign PDF using a smartcard.
Smartcard private key is store in the hardware and there is no way to export a file with the private key (e.g .pfx files).
To perform the signing operation the application needs to send commands to the card in order to manipulate the private key, criptographic algortithm and so on, and wait for the response with the data digitally signed. For the last I get this signed block of code and add properly in the PDF document.
The problem is that it is not defined in the ISO Standard what File ID manufactures should use to identifies the files with the private key or the cryptography algorithm as it is specified for Master File (e.g 0x3F).
At the moment I have created an interface using PC/SC and I am able to perform action as read data and select a file as long as I have the file ID. People are difficulting so much to point me to the techinical documentation of those manufactures so I could get commands to perform such a task as sign a block of data.
Does capicom has those functionality as long as I have the card driver? Or it needs to read the .pfx files that has the private key to sign a block of data?
Thanks for your attention!