|
Bouncy Castle Cryptography Library 1.48 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.crypto.agreement.jpake.JPAKERound3Payload
public class JPAKERound3Payload
The payload sent/received during the optional third round of a J-PAKE exchange, which is for explicit key confirmation.
EachJPAKEParticipant
creates and sends an instance
of this payload to the other JPAKEParticipant
.
The payload to send should be created via
JPAKEParticipant.createRound3PayloadToSend(BigInteger)
Each JPAKEParticipant
must also validate the payload
received from the other JPAKEParticipant
.
The received payload should be validated via
JPAKEParticipant.validateRound3PayloadReceived(JPAKERound3Payload, BigInteger)
This class is Serializable
, so you can send it via Java serialization.
However, no specific mechanism for sending this payload to the other participant
is required. It is perfectly safe to decompose the fields of this payload,
send those fields to the other participant in any format,
and reconstruct the payload on the other side using
JPAKERound3Payload(String, BigInteger)
Constructor Summary | |
---|---|
JPAKERound3Payload(java.lang.String participantId,
java.math.BigInteger magTag)
|
Method Summary | |
---|---|
java.math.BigInteger |
getMacTag()
|
java.lang.String |
getParticipantId()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JPAKERound3Payload(java.lang.String participantId, java.math.BigInteger magTag)
Method Detail |
---|
public java.lang.String getParticipantId()
public java.math.BigInteger getMacTag()
|
Bouncy Castle Cryptography Library 1.48 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |