Click here to Skip to main content
15,901,426 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
how to start coding in c# for generating signature for a message please anyone suggest me....


Digital Signature verifies if the user is who they claim to be.
First of all you will need to check your requirement on what you want to authenticate.

Whether you are trying to authenticate a user like in Email or machine login or is it for a server/client machine as both require different strategy.

Share this answer
Member 9654958 6-Feb-13 7:26am    
thanks for giving me responce soon.
actually i am trying to authenticate a user in Email application and my problem is that how to apply key on a message to encrypt or decrypt.
If my understanding is correct you are trying to apply the digital signature and encrypt the email message before sending to the recipient. If so, you will have to access the Dig Signature and Encryption certificates issued by the Certificate Authority.

These certificates are user specific and will be stored in the mmc certificate snap-in if installed, if you cannot find your email digital certificate and encryption certifictaes you will have to request it from a CA like Verisign or your organization network admin.

You will have to use the System.Security.Cryptography.X509Certificates class library to code.

Hope this helps

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900