org.bouncycastle.crypto.agreement.ecjpake

## Class ECJPAKERound2Payload

- java.lang.Object
- - org.bouncycastle.crypto.agreement.ecjpake.ECJPAKERound2Payload

-     public class ECJPAKERound2Payload
      extends java.lang.Object

  The payload sent/received during the second round of a EC J-PAKE exchange.

  Each `ECJPAKEParticipant` creates and sends an instance of this payload to the other `ECJPAKEParticipant`. The payload to send should be created via `ECJPAKEParticipant.createRound2PayloadToSend()`

  Each `ECJPAKEParticipant` must also validate the payload received from the other `ECJPAKEParticipant`. The received payload should be validated via `ECJPAKEParticipant.validateRound2PayloadReceived(ECJPAKERound2Payload)`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ECJPAKERound2Payload(java.lang.String participantId, ECPoint a, ECSchnorrZKP knowledgeProofForX2s)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ECPoint` | `getA()`
    `ECSchnorrZKP` | `getKnowledgeProofForX2s()`
    `java.lang.String` | `getParticipantId()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ECJPAKERound2Payload

          public ECJPAKERound2Payload(java.lang.String participantId,
                                      ECPoint a,
                                      ECSchnorrZKP knowledgeProofForX2s)

  - ### Method Detail

    - #### getParticipantId

          public java.lang.String getParticipantId()

    - #### getA

          public ECPoint getA()

    - #### getKnowledgeProofForX2s

          public ECSchnorrZKP getKnowledgeProofForX2s()