The candidates to be New York’s top lawyer say integrity and public corruption are among the key issues but disagree sharply over who has the moral high ground.