Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.crypto.agreement.jpake;
 
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(java.math.BigInteger)

Each JPAKEParticipant must also validate the payload received from the other JPAKEParticipant. The received payload should be validated via JPAKEParticipant.validateRound3PayloadReceived(org.bouncycastle.crypto.agreement.jpake.JPAKERound3Payload,java.math.BigInteger)

public class JPAKERound3Payload
{
    
The id of the JPAKEParticipant who created/sent this payload.
    private final String participantId;

    
    private final BigInteger macTag;
    public JPAKERound3Payload(String participantIdBigInteger magTag)
    {
        this. = participantId;
        this. = magTag;
    }
    public String getParticipantId()
    {
        return ;
    }
    public BigInteger getMacTag()
    {
        return ;
    }
New to GrepCode? Check out our FAQ X