public class JPAKERound1Payload
extends java.lang.Object
Each JPAKEParticipant
creates and sends an instance
of this payload to the other JPAKEParticipant
.
The payload to send should be created via
JPAKEParticipant.createRound1PayloadToSend()
.
Each JPAKEParticipant
must also validate the payload
received from the other JPAKEParticipant
.
The received payload should be validated via
JPAKEParticipant.validateRound1PayloadReceived(JPAKERound1Payload)
.
Constructor and Description |
---|
JPAKERound1Payload(java.lang.String participantId,
java.math.BigInteger gx1,
java.math.BigInteger gx2,
java.math.BigInteger[] knowledgeProofForX1,
java.math.BigInteger[] knowledgeProofForX2) |
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
getGx1() |
java.math.BigInteger |
getGx2() |
java.math.BigInteger[] |
getKnowledgeProofForX1() |
java.math.BigInteger[] |
getKnowledgeProofForX2() |
java.lang.String |
getParticipantId() |
public JPAKERound1Payload(java.lang.String participantId, java.math.BigInteger gx1, java.math.BigInteger gx2, java.math.BigInteger[] knowledgeProofForX1, java.math.BigInteger[] knowledgeProofForX2)
public java.lang.String getParticipantId()
public java.math.BigInteger getGx1()
public java.math.BigInteger getGx2()
public java.math.BigInteger[] getKnowledgeProofForX1()
public java.math.BigInteger[] getKnowledgeProofForX2()