About multiparty decryption

I would like to ask how many key pairs kp1, kp2, kp3, and kp4 have been generated. If the kp4 key pair is placed on the server side (including public and private keys) and the client has kp1, kp2, and kp3 key pairs, the client encrypts them using the server side public key. Then, the client sends the ciphertext to the server for calculation. The server completes the calculation and sends the ciphertext back to the client. The client uses its own private key to partially decrypt it, and the client sends the partial decryption to the server. The server decrypts this section using its own private key. At the same time, the server receives the ciphertext partially decrypted by the client and aggregates them with the ciphertext partially decrypted by the server to obtain plaintext,right? this is a kind of idea?

Hi @kenan,

I am not sure I understand the question. Why are there 4 key pairs in this case if there is only a server and a client, i.e., two parties? Also, are you asking about threshold FHE or multi-key setup? In the threshold FHE case, each party holds a secret share and then they compute a joint public key based on it. Please clarify the use case.