Example usage for org.bouncycastle.crypto.agreement.jpake JPAKEParticipant STATE_ROUND_3_VALIDATED

List of usage examples for org.bouncycastle.crypto.agreement.jpake JPAKEParticipant STATE_ROUND_3_VALIDATED

Introduction

In this page you can find the example usage for org.bouncycastle.crypto.agreement.jpake JPAKEParticipant STATE_ROUND_3_VALIDATED.

Prototype

int STATE_ROUND_3_VALIDATED

To view the source code for org.bouncycastle.crypto.agreement.jpake JPAKEParticipant STATE_ROUND_3_VALIDATED.

Click Source Link

Usage

From source file:com.distrimind.util.crypto.P2PJPAKESecretMessageExchanger.java

License:Open Source License

@Override
protected boolean isAgreementProcessValidImpl() {
    if (this.getActualStepForReceptionIndex() == this.getStepsNumberForReception()
            && this.getActualStepForSendIndex() == this.getStepsNumberForSend()
            && jpake.getState() != JPAKEParticipant.STATE_ROUND_3_VALIDATED)
        return false;
    return valid;
}