org.bouncycastle.crypto.agreement.ecjpake
Class ECJPAKERound3Payload
java.lang.Object
org.bouncycastle.crypto.agreement.ecjpake.ECJPAKERound3Payload
- public class ECJPAKERound3Payload
- extends java.lang.Object
The payload sent/received during the optional third round of a EC J-PAKE exchange,
which is for explicit key confirmation.
Each ECJPAKEParticipant creates and sends an instance
of this payload to the other ECJPAKEParticipant.
The payload to send should be created via
ECJPAKEParticipant.createRound3PayloadToSend(BigInteger)
Each ECJPAKEParticipant must also validate the payload
received from the other ECJPAKEParticipant.
The received payload should be validated via
ECJPAKEParticipant.validateRound3PayloadReceived(ECJPAKERound3Payload, BigInteger)
|
Constructor Summary |
ECJPAKERound3Payload(java.lang.String participantId,
java.math.BigInteger magTag)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ECJPAKERound3Payload
public ECJPAKERound3Payload(java.lang.String participantId,
java.math.BigInteger magTag)
getParticipantId
public java.lang.String getParticipantId()
getMacTag
public java.math.BigInteger getMacTag()