A validator for iat and exp.