public boolean verifyPIN(int p2, String text) throws IOException, UserCancelExcption{
		Map<String, Object> m = JSONProtocol.cmd("verify");
		m.put("p2", p2);
		m.put("text", text);
		pipe.send(m);
		return JSONProtocol.check(m, pipe.recv());
	}
public boolean verifyPIN ( int p2 , String text ) throws IOException , UserCancelExcption { Map < String , Object > m = JSONProtocol . cmd ( "verify" ) ; m . put ( "p2" , p2 ) ; m . put ( "text" , text ) ; pipe . send ( m ) ; return JSONProtocol . check ( m , pipe . recv ( ) ) ; }
Issues a ISO VERIFY on the remote terminal.

@param p2 P2 parameter in the VERIFY APDU
@param text to be displayed to the user
@return true if VERIFY returned 0x9000, false otherwise
@throws IOException when communication fails