CKKS bootstrapping key serialization in 2 system setup

Hi,

I am running a client-server-based protocol where I am using openFHE for outsourcing the calculations of the client to the server. As discussed Here, using EvalBootstrap() requires first running EvalBootstrapSetup() and this works for the system where you are using a single code for client and server.

But in case of 2-system setup where client and server codes are running in two different systems, this is not sufficient, as you can see in the error below that we also require EvalBootstrapKeyGen along with EvalBootstrapSetup before EvalBootstrap() to run it properly.

/openfhe-development/src/pke/lib/scheme/ckksrns/ckksrns-fhe.cpp:l.454:
EvalBootstrap(): Precomputations for 1 slots were not generated
 Need to call EvalBootstrapSetup
 and then EvalBootstrapKeyGen to proceed

Now the issue is: evaluating EvalBootstrapKeyGen requires secret key of the client, and I cannot send the client’s secret key to the server. I can take the result of EvalBootstrapKeyGen from client side.
auto result = EvalBootstrapKeyGen(Client.secretKey, ..)
And send serialized result to the server, but after that I cannot link it back to the cryptoContext->. Please help me regarding this.