Files
SuperVPN/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Parameters/NaccacheSternKeyParameters.cs
2025-10-09 09:57:24 +09:00

27 lines
561 B
C#

using Org.BouncyCastle.Math;
namespace Org.BouncyCastle.Crypto.Parameters;
public class NaccacheSternKeyParameters : AsymmetricKeyParameter
{
private readonly BigInteger g;
private readonly BigInteger n;
private readonly int lowerSigmaBound;
public BigInteger G => g;
public int LowerSigmaBound => lowerSigmaBound;
public BigInteger Modulus => n;
public NaccacheSternKeyParameters(bool privateKey, BigInteger g, BigInteger n, int lowerSigmaBound)
: base(privateKey)
{
this.g = g;
this.n = n;
this.lowerSigmaBound = lowerSigmaBound;
}
}