def process_result_value(self, value, dialect):
masks = list()<EOL>if value:<EOL><INDENT>for e in enums.CryptographicUsageMask:<EOL><INDENT>if e.value & value:<EOL><INDENT>masks.append(e)<EOL><DEDENT><DEDENT><DEDENT>return masks<EOL>
Returns a new list of enums.CryptographicUsageMask Enums. This converts
the integer value into the list of enums.

Args:
    value(int): The integer value stored in the database that is used
        to create the list of enums.CryptographicUsageMask Enums.
    dialect(string): SQL dialect