Class ECJPAKERound3Payload

java.lang.Object
org.bouncycastle.crypto.agreement.ecjpake.ECJPAKERound3Payload

public class ECJPAKERound3Payload extends 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 Details

    • ECJPAKERound3Payload

      public ECJPAKERound3Payload(String participantId, BigInteger magTag)
  • Method Details

    • getParticipantId

      public String getParticipantId()
    • getMacTag

      public BigInteger getMacTag()