Function lbcrypto::convertToMultipartyMode(uint32_t)

Function Documentation

MultipartyMode lbcrypto::convertToMultipartyMode(uint32_t num)

Converts an integer to a MultipartyMode enumerator, checking that it is a defined enumerator value.

Parameters

num – the integer value of the enumerator

Returns

the corresponding enumerator; throws an exception if the value is not a defined enumerator