using System; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Esf { // Token: 0x02001EF7 RID: 7927 [Token(Token = "0x2001EF7")] public class SignerAttribute : Asn1Encodable { // Token: 0x0600C83E RID: 51262 RVA: 0x002DD624 File Offset: 0x002DB824 [Token(Token = "0x600C83E")] [Address(RVA = "0x284A2F0", Offset = "0x28490F0", VA = "0x18284A2F0")] public static SignerAttribute GetInstance(object obj) { /* An exception occurred when decompiling this method (0600C83E) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Esf.SignerAttribute BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Esf.SignerAttribute::GetInstance(System.Object) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_29: stloc:string(var_6_2F, call:string(Platform::GetTypeName, ldloc:object(obj))) stloc:ArgumentException(var_7_47, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in 'SignerAttribute' factory: "), ldloc:string(var_6_2F)), ldstr:string("obj"))) } 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: 0x0600C83F RID: 51263 RVA: 0x002DD67C File Offset: 0x002DB87C [Token(Token = "0x600C83F")] [Address(RVA = "0x284A650", Offset = "0x2849450", VA = "0x18284A650")] private SignerAttribute(object obj) { do { base..ctor(); } while (obj == 0 || obj == 0); AttributeCertificate attributeCertificate; this.certifiedAttributes = attributeCertificate; } // Token: 0x0600C840 RID: 51264 RVA: 0x002DD6C0 File Offset: 0x002DB8C0 [Token(Token = "0x600C840")] [Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")] public SignerAttribute(Asn1Sequence claimedAttributes) { this.claimedAttributes = claimedAttributes; } // Token: 0x0600C841 RID: 51265 RVA: 0x002DD6DC File Offset: 0x002DB8DC [Token(Token = "0x600C841")] [Address(RVA = "0x4F28D0", Offset = "0x4F16D0", VA = "0x1804F28D0")] public SignerAttribute(AttributeCertificate certifiedAttributes) { this.certifiedAttributes = certifiedAttributes; } // Token: 0x17001F53 RID: 8019 // (get) Token: 0x0600C842 RID: 51266 RVA: 0x002DD6F8 File Offset: 0x002DB8F8 [Token(Token = "0x17001F53")] public virtual Asn1Sequence ClaimedAttributes { [Token(Token = "0x600C842")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")] get { return this.claimedAttributes; } } // Token: 0x17001F54 RID: 8020 // (get) Token: 0x0600C843 RID: 51267 RVA: 0x002DD70C File Offset: 0x002DB90C [Token(Token = "0x17001F54")] public virtual AttributeCertificate CertifiedAttributes { [Token(Token = "0x600C843")] [Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")] get { return this.certifiedAttributes; } } // Token: 0x0600C844 RID: 51268 RVA: 0x002DD720 File Offset: 0x002DB920 [Token(Token = "0x600C844")] [Address(RVA = "0x284A490", Offset = "0x2849290", VA = "0x18284A490", Slot = "5")] public override Asn1Object ToAsn1Object() { if (this.claimedAttributes == (ulong)0L) { Asn1Encodable[] array = new Asn1Encodable[1]; AttributeCertificate attributeCertificate = this.certifiedAttributes; if (new DerTaggedObject(1, attributeCertificate) != 0) { } } Asn1Encodable[] array2 = new Asn1Encodable[1]; Asn1Sequence asn1Sequence = this.claimedAttributes; int num; DerTaggedObject derTaggedObject = new DerTaggedObject(num, asn1Sequence); num = 0; if (derTaggedObject != 0) { } array2[0] = derTaggedObject; Asn1EncodableVector asn1EncodableVector; asn1EncodableVector.Add(array2); DerSequence derSequence = new DerSequence(asn1EncodableVector); throw new NullReferenceException(); } // Token: 0x04007FAC RID: 32684 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4007FAC")] private Asn1Sequence claimedAttributes; // Token: 0x04007FAD RID: 32685 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4007FAD")] private AttributeCertificate certifiedAttributes; } }