Sorry for the newby question but would this work: Alice encrypts a message X with John's public key to form Y. Alice then encrypts Y with Bob's public key to form Z. Alice then sends Z to Bob and John.
Would I be correct in assuming that to decrypt Z, Bob would have to use his private key on Z to get Y. After this John would have to decrypt Y with his private key to get X?
Thanks