Class ECJPAKERound1Payload
- java.lang.Object
-
- org.bouncycastle.crypto.agreement.ecjpake.ECJPAKERound1Payload
-
public class ECJPAKERound1Payload extends java.lang.ObjectThe payload sent/received during the first round of a EC J-PAKE exchange.Each
ECJPAKEParticipantcreates and sends an instance of this payload to the otherECJPAKEParticipant. The payload to send should be created viaECJPAKEParticipant.createRound1PayloadToSend().Each
ECJPAKEParticipantmust also validate the payload received from the otherECJPAKEParticipant. The received payload should be validated viaECJPAKEParticipant.validateRound1PayloadReceived(ECJPAKERound1Payload).
-
-
Constructor Summary
Constructors Constructor Description ECJPAKERound1Payload(java.lang.String participantId, ECPoint gx1, ECPoint gx2, ECSchnorrZKP knowledgeProofForX1, ECSchnorrZKP knowledgeProofForX2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ECPointgetGx1()ECPointgetGx2()ECSchnorrZKPgetKnowledgeProofForX1()ECSchnorrZKPgetKnowledgeProofForX2()java.lang.StringgetParticipantId()
-
-
-
Constructor Detail
-
ECJPAKERound1Payload
public ECJPAKERound1Payload(java.lang.String participantId, ECPoint gx1, ECPoint gx2, ECSchnorrZKP knowledgeProofForX1, ECSchnorrZKP knowledgeProofForX2)
-
-
Method Detail
-
getParticipantId
public java.lang.String getParticipantId()
-
getGx1
public ECPoint getGx1()
-
getGx2
public ECPoint getGx2()
-
getKnowledgeProofForX1
public ECSchnorrZKP getKnowledgeProofForX1()
-
getKnowledgeProofForX2
public ECSchnorrZKP getKnowledgeProofForX2()
-
-