92 lines
2.6 KiB
C#
92 lines
2.6 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.InteropServices;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
|
|
{
|
|
// Token: 0x0200162D RID: 5677
|
|
[Token(Token = "0x200162D")]
|
|
[StructLayout(3)]
|
|
public class NaccacheSternPrivateKeyParameters : NaccacheSternKeyParameters
|
|
{
|
|
// Token: 0x06009781 RID: 38785 RVA: 0x00219668 File Offset: 0x00217868
|
|
[Token(Token = "0x6009781")]
|
|
[Address(RVA = "0x1DDB0B0", Offset = "0x1DD9AB0", VA = "0x181DDB0B0")]
|
|
[Obsolete]
|
|
public NaccacheSternPrivateKeyParameters(BigInteger g, BigInteger n, int lowerSigmaBound, ArrayList smallPrimes, BigInteger phiN)
|
|
: base(true)
|
|
{
|
|
this.smallPrimes = 0;
|
|
this.g = g;
|
|
this.lowerSigmaBound = lowerSigmaBound;
|
|
this.phiN = 0;
|
|
this.n = n;
|
|
}
|
|
|
|
// Token: 0x06009782 RID: 38786 RVA: 0x002196A0 File Offset: 0x002178A0
|
|
[Token(Token = "0x6009782")]
|
|
[Address(RVA = "0x1DDB0B0", Offset = "0x1DD9AB0", VA = "0x181DDB0B0")]
|
|
public NaccacheSternPrivateKeyParameters(BigInteger g, BigInteger n, int lowerSigmaBound, IList smallPrimes, BigInteger phiN)
|
|
: base(true)
|
|
{
|
|
this.smallPrimes = 0;
|
|
this.g = g;
|
|
this.lowerSigmaBound = lowerSigmaBound;
|
|
this.phiN = 0;
|
|
this.n = n;
|
|
}
|
|
|
|
// Token: 0x17001845 RID: 6213
|
|
// (get) Token: 0x06009783 RID: 38787 RVA: 0x002196D8 File Offset: 0x002178D8
|
|
[Token(Token = "0x17001845")]
|
|
public BigInteger PhiN
|
|
{
|
|
[Token(Token = "0x6009783")]
|
|
[Address(RVA = "0x3C1250", Offset = "0x3BFC50", VA = "0x1803C1250")]
|
|
get
|
|
{
|
|
return this.phiN;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001846 RID: 6214
|
|
// (get) Token: 0x06009784 RID: 38788 RVA: 0x002196EC File Offset: 0x002178EC
|
|
[Token(Token = "0x17001846")]
|
|
[Obsolete]
|
|
public ArrayList SmallPrimes
|
|
{
|
|
[Token(Token = "0x6009784")]
|
|
[Address(RVA = "0x1DDB110", Offset = "0x1DD9B10", VA = "0x181DDB110")]
|
|
get
|
|
{
|
|
return new ArrayList(this.smallPrimes);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001847 RID: 6215
|
|
// (get) Token: 0x06009785 RID: 38789 RVA: 0x00219704 File Offset: 0x00217904
|
|
[Token(Token = "0x17001847")]
|
|
public IList SmallPrimesList
|
|
{
|
|
[Token(Token = "0x6009785")]
|
|
[Address(RVA = "0x3EE8E0", Offset = "0x3ED2E0", VA = "0x1803EE8E0")]
|
|
get
|
|
{
|
|
return this.smallPrimes;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040063BF RID: 25535
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40063BF")]
|
|
private readonly BigInteger phiN;
|
|
|
|
// Token: 0x040063C0 RID: 25536
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40063C0")]
|
|
private readonly IList smallPrimes;
|
|
}
|
|
}
|