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).
| Modifier and Type | Field and Description |
|---|---|
| private final BigInteger | gx1
The value of g^x1 |
| private final BigInteger | gx2
The value of g^x2 |
| private final BigInteger[] | knowledgeProofForX1
The zero knowledge proof for x1. |
| private final BigInteger[] | knowledgeProofForX2
The zero knowledge proof for x2. |
| private final String | participantId
The id of the |
| Access | Constructor and Description |
|---|---|
| public | JPAKERound1Payload(String participantId, BigInteger gx1, BigInteger gx2, BigInteger[] knowledgeProofForX1, BigInteger[] knowledgeProofForX2)
|
| Modifier and Type | Method and Description |
|---|---|
| public BigInteger | |
| public BigInteger | |
| public BigInteger[] | |
| public BigInteger[] | |
| public String |
| gx1 | back to summary |
|---|---|
| private final BigInteger gx1 The value of g^x1 | |
| gx2 | back to summary |
|---|---|
| private final BigInteger gx2 The value of g^x2 | |
| knowledgeProofForX1 | back to summary |
|---|---|
| private final BigInteger[] knowledgeProofForX1 The zero knowledge proof for x1. This is a two element array, containing {g^v, r} for x1. | |
| knowledgeProofForX2 | back to summary |
|---|---|
| private final BigInteger[] knowledgeProofForX2 The zero knowledge proof for x2. This is a two element array, containing {g^v, r} for x2. | |
| participantId | back to summary |
|---|---|
| private final String participantId The id of the | |
| JPAKERound1Payload | back to summary |
|---|---|
| public JPAKERound1Payload(String participantId, BigInteger gx1, BigInteger gx2, BigInteger[] knowledgeProofForX1, BigInteger[] knowledgeProofForX2) | |
| getGx1 | back to summary |
|---|---|
| public BigInteger getGx1() | |
| getGx2 | back to summary |
|---|---|
| public BigInteger getGx2() | |
| getKnowledgeProofForX1 | back to summary |
|---|---|
| public BigInteger[] getKnowledgeProofForX1() | |
| getKnowledgeProofForX2 | back to summary |
|---|---|
| public BigInteger[] getKnowledgeProofForX2() | |
| getParticipantId | back to summary |
|---|---|
| public String getParticipantId() | |