Class ECJPAKERound1Payload
java.lang.Object
org.bouncycastle.crypto.agreement.ecjpake.ECJPAKERound1Payload
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 Summary
ConstructorsConstructorDescriptionECJPAKERound1Payload
(String participantId, ECPoint gx1, ECPoint gx2, ECSchnorrZKP knowledgeProofForX1, ECSchnorrZKP knowledgeProofForX2) -
Method Summary
-
Constructor Details
-
ECJPAKERound1Payload
public ECJPAKERound1Payload(String participantId, ECPoint gx1, ECPoint gx2, ECSchnorrZKP knowledgeProofForX1, ECSchnorrZKP knowledgeProofForX2)
-
-
Method Details
-
getParticipantId
-
getGx1
-
getGx2
-
getKnowledgeProofForX1
-
getKnowledgeProofForX2
-