Factor out the RSA verification in payload verifier am: 6cf830b891
am: 3fdffe38ce

Change-Id: I992eb4bf32d1c5638e9b98b402429f1961fc35e4