开发者

Signing PDF with a certificate in a certificate store

开发者 https://www.devze.com 2023-04-03 08:28 出处:网络
I want to sign a PDF with a certificate in a certificate store. I am using iText开发者_开发百科Sharp and iSafePDF for singing PDFs, it works OK when I sign using a certificate stored as .p12 file. B

I want to sign a PDF with a certificate in a certificate store.

I am using iText开发者_开发百科Sharp and iSafePDF for singing PDFs, it works OK when I sign using a certificate stored as .p12 file. But I don't know how to use the library for signing with certificates obtained from a certificate store. I have an instance of System.Security.Cryptography.X509Certificate2, but the library uses a different object representation and I was not able to make it work. Can someone help?


OK, here is exactly what I was trying to find, the accompanying text is in Czech, but there is not much of it and the code that works is what matters.

Signing PDF using a certificate in the certification store

0

精彩评论

暂无评论...
验证码 换一张
取 消