Top Description Fields Constructors Methods
org.bouncycastle.crypto.agreement.jpake

public Class JPAKERound3Payload

extends Object
Class Inheritance
Imports
java.math.BigInteger

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)

Field Summary

Modifier and TypeField and Description
private final BigInteger
macTag

The value of MacTag, as computed by round 3.

private final String
participantId

The id of the JPAKEParticipant who created/sent this payload.

Constructor Summary

AccessConstructor and Description
public
JPAKERound3Payload(String participantId, BigInteger magTag)

Method Summary

Modifier and TypeMethod and Description
public BigInteger
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

macTagback to summary
private final BigInteger macTag

The value of MacTag, as computed by round 3.

See Also
JPAKEUtil#calculateMacTag(String, String, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, org.bouncycastle.crypto.Digest)
participantIdback to summary
private final String participantId

The id of the JPAKEParticipant who created/sent this payload.

Constructor Detail

JPAKERound3Payloadback to summary
public JPAKERound3Payload(String participantId, BigInteger magTag)

Method Detail

getMacTagback to summary
public BigInteger getMacTag()
getParticipantIdback to summary
public String getParticipantId()