using System; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms { // Token: 0x0200201B RID: 8219 [Token(Token = "0x200201B")] public class RecipientInfo : Asn1Encodable, IAsn1Choice { // Token: 0x0600CDFA RID: 52730 RVA: 0x002ED4A0 File Offset: 0x002EB6A0 [Token(Token = "0x600CDFA")] [Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")] public RecipientInfo(KeyTransRecipientInfo info) { this.info = info; } // Token: 0x0600CDFB RID: 52731 RVA: 0x002ED4BC File Offset: 0x002EB6BC [Token(Token = "0x600CDFB")] [Address(RVA = "0x2FF15E0", Offset = "0x2FF05E0", VA = "0x182FF15E0")] public RecipientInfo(KeyAgreeRecipientInfo info) { int num; DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, 1, info); num = 0; this.info = derTaggedObject; } // Token: 0x0600CDFC RID: 52732 RVA: 0x002ED4E4 File Offset: 0x002EB6E4 [Token(Token = "0x600CDFC")] [Address(RVA = "0x2FF1560", Offset = "0x2FF0560", VA = "0x182FF1560")] public RecipientInfo(KekRecipientInfo info) { int num; DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, 2, info); num = 0; this.info = derTaggedObject; } // Token: 0x0600CDFD RID: 52733 RVA: 0x002ED50C File Offset: 0x002EB70C [Token(Token = "0x600CDFD")] [Address(RVA = "0x2FF1460", Offset = "0x2FF0460", VA = "0x182FF1460")] public RecipientInfo(PasswordRecipientInfo info) { int num; DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, 3, info); num = 0; this.info = derTaggedObject; } // Token: 0x0600CDFE RID: 52734 RVA: 0x002ED534 File Offset: 0x002EB734 [Token(Token = "0x600CDFE")] [Address(RVA = "0x2FF14E0", Offset = "0x2FF04E0", VA = "0x182FF14E0")] public RecipientInfo(OtherRecipientInfo info) { int num; DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, 4, info); num = 0; this.info = derTaggedObject; } // Token: 0x0600CDFF RID: 52735 RVA: 0x002ED55C File Offset: 0x002EB75C [Token(Token = "0x600CDFF")] [Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")] public RecipientInfo(Asn1Object info) { this.info = info; } // Token: 0x0600CE00 RID: 52736 RVA: 0x002ED578 File Offset: 0x002EB778 [Token(Token = "0x600CE00")] [Address(RVA = "0x2FF11F0", Offset = "0x2FF01F0", VA = "0x182FF11F0")] public static RecipientInfo GetInstance(object o) { /* An exception occurred when decompiling this method (0600CE00) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.RecipientInfo BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.RecipientInfo::GetInstance(System.Object) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_23: stloc:ArgumentException(var_7_34, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_6)))) } at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663 */; } // Token: 0x17002090 RID: 8336 // (get) Token: 0x0600CE01 RID: 52737 RVA: 0x002ED5BC File Offset: 0x002EB7BC [Token(Token = "0x17002090")] public DerInteger Version { [Token(Token = "0x600CE01")] [Address(RVA = "0x2FF19B0", Offset = "0x2FF09B0", VA = "0x182FF19B0")] get { Asn1Encodable asn1Encodable; for (;;) { asn1Encodable = this.info; if (asn1Encodable == 0 || asn1Encodable == 0) { goto IL_55; } if (asn1Encodable != 0) { if (asn1Encodable == 0) { goto IL_4C; } if (asn1Encodable == 0) { goto IL_43; } if (asn1Encodable == 0) { goto IL_36; } if (asn1Encodable == (ulong)1L) { break; } } } int num; DerInteger derInteger = new DerInteger(num); num = 0; return derInteger; IL_36: Asn1Sequence asn1Sequence; return PasswordRecipientInfo.GetInstance(asn1Sequence).version; IL_43: Asn1Sequence asn1Sequence2; KekRecipientInfo instance = KekRecipientInfo.GetInstance(asn1Sequence2); IL_4C: Asn1Sequence asn1Sequence3; KeyAgreeRecipientInfo instance2 = KeyAgreeRecipientInfo.GetInstance(asn1Sequence3); IL_55: KeyTransRecipientInfo instance3 = KeyTransRecipientInfo.GetInstance(asn1Encodable); throw new NullReferenceException(); } } // Token: 0x17002091 RID: 8337 // (get) Token: 0x0600CE02 RID: 52738 RVA: 0x002ED62C File Offset: 0x002EB82C [Token(Token = "0x17002091")] public bool IsTagged { [Token(Token = "0x600CE02")] [Address(RVA = "0x2FF1930", Offset = "0x2FF0930", VA = "0x182FF1930")] get { Asn1Encodable asn1Encodable = this.info; if (asn1Encodable == 0) { return 0 != 0; } return asn1Encodable != 0; } } // Token: 0x17002092 RID: 8338 // (get) Token: 0x0600CE03 RID: 52739 RVA: 0x002ED658 File Offset: 0x002EB858 [Token(Token = "0x17002092")] public Asn1Encodable Info { [Token(Token = "0x600CE03")] [Address(RVA = "0x2FF1660", Offset = "0x2FF0660", VA = "0x182FF1660")] get { /* An exception occurred when decompiling this method (0600CE03) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Encodable BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.RecipientInfo::get_Info() ---> System.Exception: Basic block has to end with unconditional control flow. { IL_8E: stloc:InvalidOperationException(var_18_98, newobj:InvalidOperationException(InvalidOperationException::.ctor, ldstr:string("unknown tag"))) } at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663 */; } } // Token: 0x0600CE04 RID: 52740 RVA: 0x002ED700 File Offset: 0x002EB900 [Token(Token = "0x600CE04")] [Address(RVA = "0x2FF1430", Offset = "0x2FF0430", VA = "0x182FF1430")] private KekRecipientInfo GetKekInfo(Asn1TaggedObject o) { bool explicitly = o.explicitly; return KekRecipientInfo.GetInstance(Asn1Sequence.GetInstance(o, explicitly)); } // Token: 0x0600CE05 RID: 52741 RVA: 0x002ED728 File Offset: 0x002EB928 [Token(Token = "0x600CE05")] [Address(RVA = "0x415960", Offset = "0x414960", VA = "0x180415960", Slot = "5")] public override Asn1Object ToAsn1Object() { return this.info.ToAsn1Object(); } // Token: 0x0400827C RID: 33404 [FieldOffset(Offset = "0x10")] [Token(Token = "0x400827C")] internal Asn1Encodable info; } }