Reputation: 1259
I was using pkcs 12 (.pfx)for signing pdf document but how to achieve using pkcs 7 in C#.is there any sample or documentation for signing pdf using pkcs 7? I have p7b and cer file.
Upvotes: 0
Views: 1699
Reputation: 46080
You can't sign the data using a file in PKCS#7 format. This is because PKCS#7 contains only certificates without private keys, and to sign something you need to have a private key.
Upvotes: 1