Class JPAKERound1Payload
- java.lang.Object
-
- org.bouncycastle.crypto.agreement.jpake.JPAKERound1Payload
-
public class JPAKERound1Payload extends java.lang.ObjectThe payload sent/received during the first round of a J-PAKE exchange.Each
JPAKEParticipantcreates and sends an instance of this payload to the otherJPAKEParticipant. The payload to send should be created viaJPAKEParticipant.createRound1PayloadToSend().Each
JPAKEParticipantmust also validate the payload received from the otherJPAKEParticipant. The received payload should be validated viaJPAKEParticipant.validateRound1PayloadReceived(JPAKERound1Payload).
-
-
Constructor Summary
Constructors Constructor Description JPAKERound1Payload(java.lang.String participantId, java.math.BigInteger gx1, java.math.BigInteger gx2, java.math.BigInteger[] knowledgeProofForX1, java.math.BigInteger[] knowledgeProofForX2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigIntegergetGx1()java.math.BigIntegergetGx2()java.math.BigInteger[]getKnowledgeProofForX1()java.math.BigInteger[]getKnowledgeProofForX2()java.lang.StringgetParticipantId()
-
-
-
Method Detail
-
getParticipantId
public java.lang.String getParticipantId()
-
getGx1
public java.math.BigInteger getGx1()
-
getGx2
public java.math.BigInteger getGx2()
-
getKnowledgeProofForX1
public java.math.BigInteger[] getKnowledgeProofForX1()
-
getKnowledgeProofForX2
public java.math.BigInteger[] getKnowledgeProofForX2()
-
-