Class JPakeRound1Payload
- Namespace
- Org.BouncyCastle.Crypto.Agreement.JPake
- Assembly
- BouncyCastle.Cryptography.dll
The payload sent/received during the first round of a J-PAKE exchange.
Each JPAKEParticipant creates and sends an instance of this payload to the other. The payload to send should be created via JPAKEParticipant.CreateRound1PayloadToSend().
Each participant must also validate the payload received from the other. The received payload should be validated via JPAKEParticipant.ValidateRound1PayloadReceived(JPakeRound1Payload).
public class JPakeRound1Payload
- Inheritance
-
JPakeRound1Payload
- Inherited Members
Constructors
JPakeRound1Payload(string, BigInteger, BigInteger, BigInteger[], BigInteger[])
public JPakeRound1Payload(string participantId, BigInteger gx1, BigInteger gx2, BigInteger[] knowledgeProofForX1, BigInteger[] knowledgeProofForX2)
Parameters
participantIdstringgx1BigIntegergx2BigIntegerknowledgeProofForX1BigInteger[]knowledgeProofForX2BigInteger[]
Properties
Gx1
public virtual BigInteger Gx1 { get; }
Property Value
Gx2
public virtual BigInteger Gx2 { get; }
Property Value
KnowledgeProofForX1
public virtual BigInteger[] KnowledgeProofForX1 { get; }
Property Value
KnowledgeProofForX2
public virtual BigInteger[] KnowledgeProofForX2 { get; }
Property Value
ParticipantId
public virtual string ParticipantId { get; }