Function lbcrypto::convertToMultipartyMode(const std::string&)

Function Documentation

MultipartyMode lbcrypto::convertToMultipartyMode(const std::string &str)

Converts the name of a MultipartyMode enumerator (as spelled in constants-defs.h) to its value.

Parameters

str – the enumerator name

Returns

the corresponding enumerator; throws an exception if the name is unknown