I am developing a web service for which I am using RSA encryption to encrypt request-response. I have shared the public key with the client and I am able to decrypt the incoming request using my private key. Now my question is how can I encrypt the response which is to be returned to the client. I have two options for this:
(1) Use my private key to encrypt the response and client will decrypt it using already shared public key.
(2) Ask clients to provide their public key and encrypt the response with that public key.
Kindly suggest which strategy to use for encrypting response?