org.bouncycastle.crypto.agreement.ecjpake
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 other ECJPAKEParticipant
.
The payload to send should be created via
ECJPAKEParticipant.createRound2PayloadToSend()
Each ECJPAKEParticipant
must also validate the payload
received from the other ECJPAKEParticipant
.
The received payload should be validated via
ECJPAKEParticipant.validateRound2PayloadReceived(ECJPAKERound2Payload)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ECJPAKERound2Payload
public ECJPAKERound2Payload(java.lang.String participantId,
ECPoint a,
ECSchnorrZKP knowledgeProofForX2s)
getParticipantId
public java.lang.String getParticipantId()
getA
public ECPoint getA()
getKnowledgeProofForX2s
public ECSchnorrZKP getKnowledgeProofForX2s()