Class ECJPAKERound2Payload
- java.lang.Object
-
- org.bouncycastle.crypto.agreement.ecjpake.ECJPAKERound2Payload
-
public class ECJPAKERound2Payload extends java.lang.ObjectThe payload sent/received during the second 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.createRound2PayloadToSend()Each
ECJPAKEParticipantmust 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 ECPointgetA()ECSchnorrZKPgetKnowledgeProofForX2s()java.lang.StringgetParticipantId()
-
-
-
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()
-
-