Exchanging Session Keys

To send another user an encrypted message, you must send that user the session key that was used to perform the encryption. There are two ways to approach this:

Note  The procedure described in the following section assumes that the users (or CryptoAPI clients) already possess their own set of public/private key pairs and have also obtained each other's public keys.