public class ECJPAKERound1Payload
extends java.lang.Object
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 and Description |
---|
ECJPAKERound1Payload(java.lang.String participantId,
ECPoint gx1,
ECPoint gx2,
ECSchnorrZKP knowledgeProofForX1,
ECSchnorrZKP knowledgeProofForX2) |
Modifier and Type | Method and Description |
---|---|
ECPoint |
getGx1() |
ECPoint |
getGx2() |
ECSchnorrZKP |
getKnowledgeProofForX1() |
ECSchnorrZKP |
getKnowledgeProofForX2() |
java.lang.String |
getParticipantId() |
public ECJPAKERound1Payload(java.lang.String participantId, ECPoint gx1, ECPoint gx2, ECSchnorrZKP knowledgeProofForX1, ECSchnorrZKP knowledgeProofForX2)
public java.lang.String getParticipantId()
public ECPoint getGx1()
public ECPoint getGx2()
public ECSchnorrZKP getKnowledgeProofForX1()
public ECSchnorrZKP getKnowledgeProofForX2()