Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to digitally sign PDF files with smartcards in .NET?

I have a smartcard that stores my digital certificate. When I plug it into my PC, the certificate shows up at the Windows certificate store, under IE > Tools > Internet Options > Content > Certificates.

So... How can I use such certificate to sign a PDF file in .NET?

like image 960
Daniel Silveira Avatar asked Jan 26 '10 20:01

Daniel Silveira


1 Answers

Check http://itextpdf.sourceforge.net/howtosign.html. Maybe you need to change the key store to the "Windows-MY" keystore.

like image 51
Sheng Jiang 蒋晟 Avatar answered Oct 08 '22 02:10

Sheng Jiang 蒋晟