32 lines
655 B
C#
32 lines
655 B
C#
#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
|