Class ECJPAKERound1Payload

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

public class ECJPAKERound1Payload extends Object
The payload sent/received during the first 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.createRound1PayloadToSend().

Each ECJPAKEParticipant must also validate the payload received from the other ECJPAKEParticipant. The received payload should be validated via ECJPAKEParticipant.validateRound1PayloadReceived(ECJPAKERound1Payload).

  • Constructor Details

  • Method Details

    • getParticipantId

      public String getParticipantId()
    • getGx1

      public ECPoint getGx1()
    • getGx2

      public ECPoint getGx2()
    • getKnowledgeProofForX1

      public ECSchnorrZKP getKnowledgeProofForX1()
    • getKnowledgeProofForX2

      public ECSchnorrZKP getKnowledgeProofForX2()