The encryption process of Internet A B communication.
The two hosts An and B communicate accordingly. First of all, obtain the trusted public key of the other party through the CA mechanism
Then A uses the algorithm to generate signature with the data to be transmitted to complete the data integrity authentication.
Then encrypt the signature with your own private key. Complete × × ×.
Then use B's public key to encrypt the entire data and signature. Complete data confidentiality.