I have never very clear understanding of the mechanism of asymmetric encryption, I finally found someone to answer in the 9CBS forum, although it is very short, it is very clear.
The public key and private key are commonly known as an asymmetric encryption mode, which is an increase in the previous symmetric encryption (using the username and password). I explain the principle by email. The purpose of using the public key and the private key is to implement a secure email, must be implemented as follows: 1. I will send it to you must encrypt, and I can't be seen by others during the transmission of the message. 2. It must be guaranteed to be emails I sent, not someone pretending to me. To achieve such a goal must send the two people with public key and private key. Public key, it is for everyone, you can release it through an email, you can let others download through the website. And the private key is your own, you must save very carefully, it is best to add a password. The role of the public key and the private key is: the content encrypted with the public key can only be decrypted with a private key, and the content encrypted with private key can only be decrypted with a public key. For example, I want to send you an encrypted email. First, I have to have your public key, you must also have my public key. First of all, I use your public key to encrypt this message, so that this message is not seen by others, and it is guaranteed that this message is not modified during the transfer. After you receive the email, you can decrypt your private key and you can see the content.
Second, I use my private key to encrypt this email. After sending it to your hand, you can decrypt my public key. Because the private key is only in my hand, this is guaranteed that this email is I sent.
In .NET, asymmetric encryption is the most complicated and functionality in the security system. It can call the servers and clients in the code and match, thus obtaining the user's identity.