JPAKERound3Payload (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.crypto.agreement.jpake

## Class JPAKERound3Payload

- java.lang.Object
- - org.bouncycastle.crypto.agreement.jpake.JPAKERound3Payload

-     public class JPAKERound3Payload
      extends java.lang.Object

  The payload sent/received during the optional third round of a J-PAKE exchange, which is for explicit key confirmation.

  Each `JPAKEParticipant` 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)`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JPAKERound3Payload(java.lang.String participantId, java.math.BigInteger magTag)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

    - #### JPAKERound3Payload

          public JPAKERound3Payload(java.lang.String participantId,
                            java.math.BigInteger magTag)

  - ### Method Detail

    - #### getParticipantId

          public java.lang.String getParticipantId()

    - #### getMacTag

          public java.math.BigInteger getMacTag()