You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
655 B
32 lines
655 B
1 year ago
|
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||
|
#pragma warning disable
|
||
|
using System;
|
||
|
|
||
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||
|
|
||
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
|
||
|
{
|
||
|
public sealed class Srp6GroupParameters
|
||
|
{
|
||
|
private readonly BigInteger n, g;
|
||
|
|
||
|
public Srp6GroupParameters(BigInteger N, BigInteger g)
|
||
|
{
|
||
|
this.n = N;
|
||
|
this.g = g;
|
||
|
}
|
||
|
|
||
|
public BigInteger G
|
||
|
{
|
||
|
get { return g; }
|
||
|
}
|
||
|
|
||
|
public BigInteger N
|
||
|
{
|
||
|
get { return n; }
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
#pragma warning restore
|
||
|
#endif
|