using System; using System.Runtime.InteropServices; using BestHTTP.SecureProtocol.Org.BouncyCastle.Math; using BestHTTP.SecureProtocol.Org.BouncyCastle.Security; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters { // Token: 0x02001636 RID: 5686 [Token(Token = "0x2001636")] [StructLayout(3)] public class RsaKeyGenerationParameters : KeyGenerationParameters { // Token: 0x060097A4 RID: 38820 RVA: 0x00219B20 File Offset: 0x00217D20 [Token(Token = "0x60097A4")] [Address(RVA = "0x1DDE420", Offset = "0x1DDCE20", VA = "0x181DDE420")] public RsaKeyGenerationParameters(BigInteger publicExponent, SecureRandom random, int strength, int certainty) : base(random, strength) { this.publicExponent = publicExponent; this.certainty = 0; } // Token: 0x17001852 RID: 6226 // (get) Token: 0x060097A5 RID: 38821 RVA: 0x00219B44 File Offset: 0x00217D44 [Token(Token = "0x17001852")] public BigInteger PublicExponent { [Token(Token = "0x60097A5")] [Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")] get { return this.publicExponent; } } // Token: 0x17001853 RID: 6227 // (get) Token: 0x060097A6 RID: 38822 RVA: 0x00219B58 File Offset: 0x00217D58 [Token(Token = "0x17001853")] public int Certainty { [Token(Token = "0x60097A6")] [Address(RVA = "0x4D24F0", Offset = "0x4D0EF0", VA = "0x1804D24F0")] get { return this.certainty; } } // Token: 0x060097A7 RID: 38823 RVA: 0x00219B6C File Offset: 0x00217D6C [Token(Token = "0x60097A7")] [Address(RVA = "0x1DDE320", Offset = "0x1DDCD20", VA = "0x181DDE320", 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: 0x060097A8 RID: 38824 RVA: 0x00219B9C File Offset: 0x00217D9C [Token(Token = "0x60097A8")] [Address(RVA = "0x1DDE3D0", Offset = "0x1DDCDD0", VA = "0x181DDE3D0", Slot = "2")] public override int GetHashCode() { int num = this.certainty; this.publicExponent.Finalize(); return num; } // Token: 0x040063CF RID: 25551 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x40063CF")] private readonly BigInteger publicExponent; // Token: 0x040063D0 RID: 25552 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x40063D0")] private readonly int certainty; } }