C# .NET - How Extract private key - TechRepublic
General discussion
April 30, 2009 at 04:00 AM
meetuchoudhary

C# .NET – How Extract private key

by meetuchoudhary . Updated 17 years, 2 months ago

Hi

I have a string which i want to sing using a private key and verify it using public key from the certificate.I already have a .pfx file which contains both private key and public key.I am able to extract public key from the certificate store file but not the private key.Please tell me how do i extract the private key from .pfx file or certificate store using c#. Also please let me know how to send my original string along with digital signature and certificate to the receiving end.This is very urgent.

Thanks in advance
Meetu Choudhary

This discussion is locked

All Comments