Protecting the confidentiality of a message is accomplished by encrypting the message with the following:
Sender’s private key
Recipient’s public key
Sender’s public key
Recipient’s private key
To achieve both authentication and confidentiality, the sender should include the recipient’s name in the
message, sign it using his private key, and then encrypt both the message and the signature using the
recipient’s public key.