Class ECJPAKERound2Payload

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

public class ECJPAKERound2Payload extends 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 Details

  • Method Details

    • getParticipantId

      public String getParticipantId()
    • getA

      public ECPoint getA()
    • getKnowledgeProofForX2s

      public ECSchnorrZKP getKnowledgeProofForX2s()