Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Crypto/Parameters/RsaKeyGenerationParameters.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

85 lines
2.4 KiB
C#

using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
{
// Token: 0x02001CF3 RID: 7411
[Token(Token = "0x2001CF3")]
public class RsaKeyGenerationParameters : KeyGenerationParameters
{
// Token: 0x0600B74C RID: 46924 RVA: 0x0027A2FC File Offset: 0x002784FC
[Token(Token = "0x600B74C")]
[Address(RVA = "0x22E3A50", Offset = "0x22E2A50", VA = "0x1822E3A50")]
public RsaKeyGenerationParameters(BigInteger publicExponent, SecureRandom random, int strength, int certainty)
: base(random, strength)
{
this.publicExponent = publicExponent;
this.certainty = 0;
}
// Token: 0x17001CF0 RID: 7408
// (get) Token: 0x0600B74D RID: 46925 RVA: 0x0027A320 File Offset: 0x00278520
[Token(Token = "0x17001CF0")]
public BigInteger PublicExponent
{
[Token(Token = "0x600B74D")]
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
get
{
return this.publicExponent;
}
}
// Token: 0x17001CF1 RID: 7409
// (get) Token: 0x0600B74E RID: 46926 RVA: 0x0027A334 File Offset: 0x00278534
[Token(Token = "0x17001CF1")]
public int Certainty
{
[Token(Token = "0x600B74E")]
[Address(RVA = "0x471180", Offset = "0x470180", VA = "0x180471180")]
get
{
return this.certainty;
}
}
// Token: 0x0600B74F RID: 46927 RVA: 0x0027A348 File Offset: 0x00278548
[Token(Token = "0x600B74F")]
[Address(RVA = "0x22E3950", Offset = "0x22E2950", VA = "0x1822E3950", Slot = "0")]
public override bool Equals(object obj)
{
if (obj != 0)
{
int num = 0;
if (obj != 0 && this.certainty == num)
{
BigInteger bigInteger = this.publicExponent;
}
}
throw new NullReferenceException();
}
// Token: 0x0600B750 RID: 46928 RVA: 0x0027A378 File Offset: 0x00278578
[Token(Token = "0x600B750")]
[Address(RVA = "0x22E3A00", Offset = "0x22E2A00", VA = "0x1822E3A00", Slot = "2")]
public override int GetHashCode()
{
int num = this.certainty;
this.publicExponent.Finalize();
return num;
}
// Token: 0x040073CB RID: 29643
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40073CB")]
private readonly BigInteger publicExponent;
// Token: 0x040073CC RID: 29644
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x40073CC")]
private readonly int certainty;
}
}