Skip to contents

Part of the frozen Paillier-era legacy surface, used by round_robin_chain(). The supported setup seam is set_public_params(), which carries the whole public bundle and which a RemoteSite can implement.

Usage

set_public_key(obj, ...)

Arguments

obj

a Site (or legacy NCParty) to receive the key.

...

method-specific arguments. The methods take a single public key pubkey of the master's backend type.

Value

the object obj, invisibly. Called for its side effect: the master's public key is stored in the receiving actor's state environment, and in the NCParty method is forwarded on to every Site that party manages, so each site can encrypt under it.