using System; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms { // Token: 0x02001F3C RID: 7996 [Token(Token = "0x2001F3C")] public class RecipientKeyIdentifier : Asn1Encodable { // Token: 0x0600CA38 RID: 51768 RVA: 0x002E4FA8 File Offset: 0x002E31A8 [Token(Token = "0x600CA38")] [Address(RVA = "0xECF220", Offset = "0xECE020", VA = "0x180ECF220")] public RecipientKeyIdentifier(Asn1OctetString subjectKeyIdentifier, DerGeneralizedTime date, OtherKeyAttribute other) { this.subjectKeyIdentifier = subjectKeyIdentifier; this.date = date; this.other = other; } // Token: 0x0600CA39 RID: 51769 RVA: 0x002E4FD0 File Offset: 0x002E31D0 [Token(Token = "0x600CA39")] [Address(RVA = "0x2AE3710", Offset = "0x2AE2510", VA = "0x182AE3710")] public RecipientKeyIdentifier(byte[] subjectKeyIdentifier) { DerOctetString derOctetString = new DerOctetString(subjectKeyIdentifier); int num = 0; this.subjectKeyIdentifier = derOctetString; this.date = num; this.other = num; } // Token: 0x0600CA3A RID: 51770 RVA: 0x002E5004 File Offset: 0x002E3204 [Token(Token = "0x600CA3A")] [Address(RVA = "0x2AE3790", Offset = "0x2AE2590", VA = "0x182AE3790")] public RecipientKeyIdentifier(byte[] subjectKeyIdentifier, DerGeneralizedTime date, OtherKeyAttribute other) { DerOctetString derOctetString = new DerOctetString(subjectKeyIdentifier); this.subjectKeyIdentifier = derOctetString; this.date = date; this.other = other; } // Token: 0x0600CA3B RID: 51771 RVA: 0x002E5034 File Offset: 0x002E3234 [Token(Token = "0x600CA3B")] [Address(RVA = "0x2AE3820", Offset = "0x2AE2620", VA = "0x182AE3820")] public RecipientKeyIdentifier(Asn1Sequence seq) { /* An exception occurred when decompiling this method (0600CA3B) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.RecipientKeyIdentifier::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_65: stloc:ArgumentException(var_9_6F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Invalid RecipientKeyIdentifier"))) } 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 1660 */; } // Token: 0x0600CA3C RID: 51772 RVA: 0x002E50B4 File Offset: 0x002E32B4 [Token(Token = "0x600CA3C")] [Address(RVA = "0x2AE3520", Offset = "0x2AE2320", VA = "0x182AE3520")] public static RecipientKeyIdentifier GetInstance(Asn1TaggedObject ato, bool explicitly) { return RecipientKeyIdentifier.GetInstance(Asn1Sequence.GetInstance(ato, explicitly)); } // Token: 0x0600CA3D RID: 51773 RVA: 0x002E50D0 File Offset: 0x002E32D0 [Token(Token = "0x600CA3D")] [Address(RVA = "0x2AE3330", Offset = "0x2AE2130", VA = "0x182AE3330")] public static RecipientKeyIdentifier GetInstance(object obj) { /* An exception occurred when decompiling this method (0600CA3D) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.RecipientKeyIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.RecipientKeyIdentifier::GetInstance(System.Object) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_26: stloc:string(var_6_2C, call:string(Platform::GetTypeName, ldloc:object(obj))) stloc:ArgumentException(var_7_3F, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid RecipientKeyIdentifier: "), ldloc:string(var_6_2C)))) } 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 1660 */; } // Token: 0x17001FF6 RID: 8182 // (get) Token: 0x0600CA3E RID: 51774 RVA: 0x002E5120 File Offset: 0x002E3320 [Token(Token = "0x17001FF6")] public Asn1OctetString SubjectKeyIdentifier { [Token(Token = "0x600CA3E")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")] get { return this.subjectKeyIdentifier; } } // Token: 0x17001FF7 RID: 8183 // (get) Token: 0x0600CA3F RID: 51775 RVA: 0x002E5134 File Offset: 0x002E3334 [Token(Token = "0x17001FF7")] public DerGeneralizedTime Date { [Token(Token = "0x600CA3F")] [Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")] get { return this.date; } } // Token: 0x17001FF8 RID: 8184 // (get) Token: 0x0600CA40 RID: 51776 RVA: 0x002E5148 File Offset: 0x002E3348 [Token(Token = "0x17001FF8")] public OtherKeyAttribute OtherKeyAttribute { [Token(Token = "0x600CA40")] [Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")] get { return this.other; } } // Token: 0x0600CA41 RID: 51777 RVA: 0x002E515C File Offset: 0x002E335C [Token(Token = "0x600CA41")] [Address(RVA = "0x2AE3540", Offset = "0x2AE2340", VA = "0x182AE3540", Slot = "5")] public override Asn1Object ToAsn1Object() { Asn1Encodable[] array = new Asn1Encodable[1]; Asn1OctetString asn1OctetString = this.subjectKeyIdentifier; if (asn1OctetString != 0) { } array[0] = asn1OctetString; Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array); Asn1Encodable[] array2 = new Asn1Encodable[2]; DerGeneralizedTime derGeneralizedTime = this.date; if (derGeneralizedTime != 0) { } array2[0] = derGeneralizedTime; OtherKeyAttribute otherKeyAttribute = this.other; if (otherKeyAttribute != 0) { } array2[1] = otherKeyAttribute; asn1EncodableVector.AddOptional(array2); DerSequence derSequence = new DerSequence(asn1EncodableVector); throw new NullReferenceException(); } // Token: 0x040080C4 RID: 32964 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40080C4")] private Asn1OctetString subjectKeyIdentifier; // Token: 0x040080C5 RID: 32965 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40080C5")] private DerGeneralizedTime date; // Token: 0x040080C6 RID: 32966 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40080C6")] private OtherKeyAttribute other; } }