Class ECJPAKERound2Payload
- java.lang.Object
-
- org.bouncycastle.crypto.agreement.ecjpake.ECJPAKERound2Payload
-
public class ECJPAKERound2Payload extends java.lang.Object
The payload sent/received during the second round of a EC J-PAKE exchange.Each
ECJPAKEParticipant
creates and sends an instance of this payload to the otherECJPAKEParticipant
. The payload to send should be created viaECJPAKEParticipant.createRound2PayloadToSend()
Each
ECJPAKEParticipant
must also validate the payload received from the otherECJPAKEParticipant
. The received payload should be validated viaECJPAKEParticipant.validateRound2PayloadReceived(ECJPAKERound2Payload)
-
-
Constructor Summary
Constructors Constructor Description ECJPAKERound2Payload(java.lang.String participantId, ECPoint a, ECSchnorrZKP knowledgeProofForX2s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ECPoint
getA()
ECSchnorrZKP
getKnowledgeProofForX2s()
java.lang.String
getParticipantId()
-
-
-
Constructor Detail
-
ECJPAKERound2Payload
public ECJPAKERound2Payload(java.lang.String participantId, ECPoint a, ECSchnorrZKP knowledgeProofForX2s)
-
-
Method Detail
-
getParticipantId
public java.lang.String getParticipantId()
-
getA
public ECPoint getA()
-
getKnowledgeProofForX2s
public ECSchnorrZKP getKnowledgeProofForX2s()
-
-