Client parameters.
ClientParameters are public parameters used for key generation.
It's a compilation artifact that describes which and how public and private keys should be generated, and used to encrypt arguments of the compiled function.
__init__(client_parameters: ClientParameters)
Wrap the native Cpp object.
Args:
client_parameters
(_ClientParameters): object to wrap
Raises:
TypeError
: if client_parameters is not of type _ClientParameters
deserialize(serialized_params: bytes) → ClientParameters
Unserialize ClientParameters from bytes of serialized_params.
Args:
serialized_params
(bytes): previously serialized ClientParameters
Raises:
TypeError
: if serialized_params is not of type bytes
Returns:
ClientParameters
: deserialized object
input_signs() → List[bool]
Return the sign information of inputs.
Returns:
List[bool]
: list of booleans to indicate whether the inputs are signed or not
output_signs() → List[bool]
Return the sign information of outputs.
Returns:
List[bool]
: list of booleans to indicate whether the outputs are signed or not
serialize() → bytes
Serialize the ClientParameters.
Returns:
bytes
: serialized object