using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509 { // Token: 0x0200184F RID: 6223 [Token(Token = "0x200184F")] [StructLayout(3)] public class X509CertificateStructure : Asn1Encodable { // Token: 0x0600A7D0 RID: 42960 RVA: 0x00270C10 File Offset: 0x0026EE10 [Token(Token = "0x600A7D0")] [Address(RVA = "0x277A890", Offset = "0x2779290", VA = "0x18277A890")] public static X509CertificateStructure GetInstance(Asn1TaggedObject obj, bool explicitly) { return X509CertificateStructure.GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); } // Token: 0x0600A7D1 RID: 42961 RVA: 0x00270C2C File Offset: 0x0026EE2C [Token(Token = "0x600A7D1")] [Address(RVA = "0x277A8B0", Offset = "0x27792B0", VA = "0x18277A8B0")] public static X509CertificateStructure GetInstance(object obj) { /* An exception occurred when decompiling this method (0600A7D1) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure::GetInstance(System.Object) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_54: stloc:ArgumentException(var_12_63, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("sequence wrong size for a certificate"), ldstr:string("seq"))) } 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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846 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: 0x0600A7D2 RID: 42962 RVA: 0x00270CA0 File Offset: 0x0026EEA0 [Token(Token = "0x600A7D2")] [Address(RVA = "0x277AC30", Offset = "0x2779630", VA = "0x18277AC30")] public X509CertificateStructure(TbsCertificateStructure tbsCert, AlgorithmIdentifier sigAlgID, DerBitString sig) { /* An exception occurred when decompiling this method (0600A7D2) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.TbsCertificateStructure,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerBitString) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_33: stloc:ArgumentNullException(var_1_3D, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("sigAlgID"))) } 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: 0x0600A7D3 RID: 42963 RVA: 0x00270CEC File Offset: 0x0026EEEC [Token(Token = "0x600A7D3")] [Address(RVA = "0x277AD40", Offset = "0x2779740", VA = "0x18277AD40")] private X509CertificateStructure(Asn1Sequence seq) { /* An exception occurred when decompiling this method (0600A7D3) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509CertificateStructure::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_40: stloc:ArgumentException(var_7_4F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("sequence wrong size for a certificate"), ldstr:string("seq"))) } 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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846 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: 0x17001A4F RID: 6735 // (get) Token: 0x0600A7D4 RID: 42964 RVA: 0x00270D4C File Offset: 0x0026EF4C [Token(Token = "0x17001A4F")] public TbsCertificateStructure TbsCertificate { [Token(Token = "0x600A7D4")] [Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")] get { return this.tbsCert; } } // Token: 0x17001A50 RID: 6736 // (get) Token: 0x0600A7D5 RID: 42965 RVA: 0x00270D60 File Offset: 0x0026EF60 [Token(Token = "0x17001A50")] public int Version { [Token(Token = "0x600A7D5")] [Address(RVA = "0xC24380", Offset = "0xC22D80", VA = "0x180C24380")] get { int intValue = this.tbsCert.version.Value.IntValue; return intValue + 1; } } // Token: 0x17001A51 RID: 6737 // (get) Token: 0x0600A7D6 RID: 42966 RVA: 0x00270D90 File Offset: 0x0026EF90 [Token(Token = "0x17001A51")] public DerInteger SerialNumber { [Token(Token = "0x600A7D6")] [Address(RVA = "0x725BE0", Offset = "0x7245E0", VA = "0x180725BE0")] get { return this.tbsCert.serialNumber; } } // Token: 0x17001A52 RID: 6738 // (get) Token: 0x0600A7D7 RID: 42967 RVA: 0x00270DB0 File Offset: 0x0026EFB0 [Token(Token = "0x17001A52")] public X509Name Issuer { [Token(Token = "0x600A7D7")] [Address(RVA = "0x720990", Offset = "0x71F390", VA = "0x180720990")] get { return this.tbsCert.issuer; } } // Token: 0x17001A53 RID: 6739 // (get) Token: 0x0600A7D8 RID: 42968 RVA: 0x00270DD0 File Offset: 0x0026EFD0 [Token(Token = "0x17001A53")] public Time StartDate { [Token(Token = "0x600A7D8")] [Address(RVA = "0xA4BA40", Offset = "0xA4A440", VA = "0x180A4BA40")] get { return this.tbsCert.startDate; } } // Token: 0x17001A54 RID: 6740 // (get) Token: 0x0600A7D9 RID: 42969 RVA: 0x00270DF0 File Offset: 0x0026EFF0 [Token(Token = "0x17001A54")] public Time EndDate { [Token(Token = "0x600A7D9")] [Address(RVA = "0x12C1380", Offset = "0x12BFD80", VA = "0x1812C1380")] get { return this.tbsCert.endDate; } } // Token: 0x17001A55 RID: 6741 // (get) Token: 0x0600A7DA RID: 42970 RVA: 0x00270E10 File Offset: 0x0026F010 [Token(Token = "0x17001A55")] public X509Name Subject { [Token(Token = "0x600A7DA")] [Address(RVA = "0xA4B9E0", Offset = "0xA4A3E0", VA = "0x180A4B9E0")] get { return this.tbsCert.subject; } } // Token: 0x17001A56 RID: 6742 // (get) Token: 0x0600A7DB RID: 42971 RVA: 0x00270E30 File Offset: 0x0026F030 [Token(Token = "0x17001A56")] public SubjectPublicKeyInfo SubjectPublicKeyInfo { [Token(Token = "0x600A7DB")] [Address(RVA = "0x8A48E0", Offset = "0x8A32E0", VA = "0x1808A48E0")] get { return this.tbsCert.subjectPublicKeyInfo; } } // Token: 0x17001A57 RID: 6743 // (get) Token: 0x0600A7DC RID: 42972 RVA: 0x00270E50 File Offset: 0x0026F050 [Token(Token = "0x17001A57")] public AlgorithmIdentifier SignatureAlgorithm { [Token(Token = "0x600A7DC")] [Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")] get { return this.sigAlgID; } } // Token: 0x17001A58 RID: 6744 // (get) Token: 0x0600A7DD RID: 42973 RVA: 0x00270E64 File Offset: 0x0026F064 [Token(Token = "0x17001A58")] public DerBitString Signature { [Token(Token = "0x600A7DD")] [Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")] get { return this.sig; } } // Token: 0x0600A7DE RID: 42974 RVA: 0x00270E78 File Offset: 0x0026F078 [Token(Token = "0x600A7DE")] [Address(RVA = "0xE583F0", Offset = "0xE56DF0", VA = "0x180E583F0")] public byte[] GetSignatureOctets() { Asn1Object asn1Object = this.sig.ToAsn1Object(); throw new NullReferenceException(); } // Token: 0x0600A7DF RID: 42975 RVA: 0x00270E98 File Offset: 0x0026F098 [Token(Token = "0x600A7DF")] [Address(RVA = "0x277AAC0", Offset = "0x27794C0", VA = "0x18277AAC0", Slot = "5")] public override Asn1Object ToAsn1Object() { Asn1Encodable[] array = new Asn1Encodable[3]; TbsCertificateStructure tbsCertificateStructure = this.tbsCert; if (tbsCertificateStructure != 0) { } array[0] = tbsCertificateStructure; AlgorithmIdentifier algorithmIdentifier = this.sigAlgID; if (algorithmIdentifier != 0) { } array[1] = algorithmIdentifier; DerBitString derBitString = this.sig; if (derBitString != 0) { } array[2] = derBitString; DerSequence derSequence = new DerSequence(array); throw new NullReferenceException(); } // Token: 0x04006D00 RID: 27904 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4006D00")] private readonly TbsCertificateStructure tbsCert; // Token: 0x04006D01 RID: 27905 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4006D01")] private readonly AlgorithmIdentifier sigAlgID; // Token: 0x04006D02 RID: 27906 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4006D02")] private readonly DerBitString sig; } }