Class JPakeRound2Payload
- Namespace
- Org.BouncyCastle.Crypto.Agreement.JPake
- Assembly
- BouncyCastle.Cryptography.dll
The payload sent/received during the second round of a J-PAKE exchange.
Each JPAKEParticipant creates and sends an instance of this payload to the other JPAKEParticipant. The payload to send should be created via JPAKEParticipant#createRound2PayloadToSend()
Each JPAKEParticipant must also validate the payload received from the other JPAKEParticipant. The received payload should be validated via JPAKEParticipant#validateRound2PayloadReceived(JPakeRound2Payload)
public class JPakeRound2Payload
- Inheritance
-
JPakeRound2Payload
- Inherited Members
Constructors
JPakeRound2Payload(string, BigInteger, BigInteger[])
public JPakeRound2Payload(string participantId, BigInteger a, BigInteger[] knowledgeProofForX2s)
Parameters
participantIdstringaBigIntegerknowledgeProofForX2sBigInteger[]
Properties
A
public virtual BigInteger A { get; }
Property Value
KnowledgeProofForX2s
public virtual BigInteger[] KnowledgeProofForX2s { get; }
Property Value
ParticipantId
public virtual string ParticipantId { get; }