0

I have a plain text file with some contents, i need to sign this text file with a certificate (pfx file with password) and pass the document. On the receiver end thy will verify the file with the public key of this certificate. Please help with samples or procedures to sign the file.

tshepang
  • 12,111
  • 21
  • 91
  • 136
deepu
  • 1,993
  • 6
  • 42
  • 64
  • Have you seen this question? http://stackoverflow.com/questions/4802311/programmatically-creating-a-pfx-file – Aaron Palmer Jan 20 '14 at 05:42
  • i have the .pfx file and password. just want to sign the document using it.. – deepu Jan 20 '14 at 05:44
  • something like [this](https://www.simple-talk.com/dotnet/.net-framework/beginning-with-digital-signatures-in-.net-framework/), see this [question](http://stackoverflow.com/questions/14997118/how-do-i-sign-a-pdf-document-using-a-certificate-from-the-windows-cert-store) for more details maybe – user1416420 Jan 20 '14 at 05:57
  • May be this helps: https://blogs.msdn.microsoft.com/alejacma/2008/06/25/how-to-sign-and-verify-the-signature-with-net-and-a-certificate-c/ – neo Mar 23 '17 at 15:54

0 Answers0