private ExchangeAfterRound2Creation runExchangeUntilRound2Creation(JPAKEParticipant alice, JPAKEParticipant bob) throws CryptoException { JPAKERound1Payload aliceRound1Payload = alice.createRound1PayloadToSend(); JPAKERound1Payload bobRound1Payload = bob.createRound1PayloadToSend(); alice.validateRound1PayloadReceived(bobRound1Payload); bob.validateRound1PayloadReceived(aliceRound1Payload); JPAKERound2Payload aliceRound2Payload = alice.createRound2PayloadToSend(); JPAKERound2Payload bobRound2Payload = bob.createRound2PayloadToSend(); return new ExchangeAfterRound2Creation( alice, aliceRound2Payload, bobRound2Payload); }