Modeling Adversaries in a Logic for Security Protocol Analysis (Logical Methods in Computer Science, 2012)