@staticmethod<EOL><INDENT>def _create_config_signature(config):<DEDENT>
m = hashlib.sha1()<EOL>m.update(config.working_directory.encode("<STR_LIT:utf-8>"))<EOL>for p in config.include_paths:<EOL><INDENT>m.update(p.encode("<STR_LIT:utf-8>"))<EOL><DEDENT>for p in config.define_symbols:<EOL><INDENT>m.update(p.encode("<STR_LIT:utf-8>"))<EOL><DEDENT>for p in config.undefine_symbols:<EOL><INDENT>m.update(p.encode("<STR_LIT:utf-8>"))<EOL><DEDENT>for p in config.cflags:<EOL><INDENT>m.update(p.encode("<STR_LIT:utf-8>"))<EOL><DEDENT>return m.digest()<EOL>
return the signature for a config object.

The signature is computed as sha1 digest of the contents of
working_directory, include_paths, define_symbols and
undefine_symbols.

:param config: Configuration object
:type config: :class:`parser.xml_generator_configuration_t`
:rtype: str