Bouncy Castle Cryptography Library 1.81

org.bouncycastle.crypto.agreement.ecjpake
Class ECJPAKERound3Payload

java.lang.Object
  extended byorg.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)
           
 
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

ECJPAKERound3Payload

public ECJPAKERound3Payload(java.lang.String participantId,
                            java.math.BigInteger magTag)
Method Detail

getParticipantId

public java.lang.String getParticipantId()

getMacTag

public java.math.BigInteger getMacTag()

Bouncy Castle Cryptography Library 1.81