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

Function Documentation

ProxyReEncryptionMode lbcrypto::convertToProxyReEncryptionMode(const std::string &str)

Converts the name of a ProxyReEncryptionMode 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