[英]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. 当我将其插入我的PC时,证书将显示在Windows证书存储区的IE>工具> Internet选项>内容>证书下。
So... How can I use such certificate to sign a PDF file in .NET? 那么......我如何使用这样的证书在.NET中签署PDF文件?
Check http://itextpdf.sourceforge.net/howtosign.html . 查看http://itextpdf.sourceforge.net/howtosign.html 。 Maybe you need to change the key store to the "Windows-MY" keystore. 也许您需要将密钥库更改为“Windows-MY”密钥库。
See our PDFBlackbox components that let you sign PDF files using certificates on smartcards and USB tokens. 请参阅我们的PDFBlackbox组件,它们允许您使用智能卡和USB令牌上的证书对PDF文件进行签名。 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). 据我所知,PDFBlackbox是唯一支持存储在硬件上的私钥(因此无法导出到系统)的PDF签名组件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.