Org.BouncyCastle.Crypto.Agreement.JPake.JPakePrimeOrderGroup
A pre-computed prime order group for use during a J-PAKE exchange.
Typically a Schnorr group is used. In general, J-PAKE can use any prime order group
that is suitable for public key cryptography, including elliptic curve cryptography.
See JPakePrimeOrderGroups for convenient standard groups.
NIST publishes
many groups that can be used for the desired level of security.
namespace Org.BouncyCastle.Crypto.Agreement.JPake
{
public class JPakePrimeOrderGroup
{
public virtual BigInteger P { get; }
public virtual BigInteger Q { get; }
public virtual BigInteger G { get; }
public JPakePrimeOrderGroup(BigInteger p, BigInteger q, BigInteger g);
public JPakePrimeOrderGroup(BigInteger p, BigInteger q, BigInteger g, bool skipChecks);
}
}