Daniel Silveira
Daniel Silveira

Reputation: 42543

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?

Upvotes: 6

Views: 1860

Answers (2)

See our PDFBlackbox components that let you sign PDF files using certificates on smartcards and USB tokens. As far as I know, PDFBlackbox is the only PDF signing component to support private keys stored on hardware (and thus not exportable to the system).

Upvotes: 0

Sheng Jiang 蒋晟
Sheng Jiang 蒋晟

Reputation: 15261

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

Upvotes: 2

Related Questions