programmatically creating a .pfx file

落花浮王杯 提交于 2019-12-11 23:51:51

问题


Is there a way to programmatically creating .pfx file certificate? I would like to use it to sign PDF. I would get the data of client from database then construct the file so when they click sign pdf, it would go out and get the pfx file that has been constructed and stored in database and then sign pdf with that file. so my goal is how to create the file? I am using C# 4.0.


回答1:


You can use the ChilKat library. You will need the PEM file though, here is the link: http://www.example-code.com/csharp/pfx_fromPem.asp



来源:https://stackoverflow.com/questions/4802311/programmatically-creating-a-pfx-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!