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