- Initial commit
This commit is contained in:
31
Runtime/3rdParty/BouncyCastle/crypto/parameters/Srp6GroupParameters.cs
vendored
Normal file
31
Runtime/3rdParty/BouncyCastle/crypto/parameters/Srp6GroupParameters.cs
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
#pragma warning disable
|
||||
using System;
|
||||
|
||||
using Best.HTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
|
||||
namespace Best.HTTP.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
|
||||
Reference in New Issue
Block a user