enable to decide to digest method shuld be used to sign metadata