SshSessionImpl.maybeFinishKeyExchange

private void maybeFinishKeyExchange()

Completes the exchange once both NEWKEYS directions happened.