using System; using System.Collections; using System.Runtime.InteropServices; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509 { // Token: 0x020018EA RID: 6378 [Token(Token = "0x20018EA")] [StructLayout(3)] public class ProfessionInfo : Asn1Encodable { // Token: 0x0600AB3F RID: 43839 RVA: 0x0027FFF0 File Offset: 0x0027E1F0 [Token(Token = "0x600AB3F")] [Address(RVA = "0x27D9EE0", Offset = "0x27D88E0", VA = "0x1827D9EE0")] public static ProfessionInfo GetInstance(object obj) { /* An exception occurred when decompiling this method (0600AB3F) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo::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_44, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_6_2C)), 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: 0x0600AB40 RID: 43840 RVA: 0x00280044 File Offset: 0x0027E244 [Token(Token = "0x600AB40")] [Address(RVA = "0x27DAD50", Offset = "0x27D9750", VA = "0x1827DAD50")] private ProfessionInfo(Asn1Sequence seq) { string string2; do { base..ctor(); IEnumerator enumerator = seq.GetEnumerator(); if (enumerator == 0) { Asn1Sequence instance = Asn1Sequence.GetInstance(0); this.professionItems = instance; if (instance == 0) { goto IL_78; } if (instance == 0) { goto IL_55; } } if (enumerator == 0) { continue; } while (enumerator == 0) { } if (enumerator == 0) { continue; } NamingAuthority namingAuthority; this.namingAuthority = namingAuthority; Asn1Sequence asn1Sequence; if (enumerator != 0) { this.professionOids = asn1Sequence; } IL_55: if (asn1Sequence == 0) { if (asn1Sequence == 0) { continue; } Asn1OctetString asn1OctetString; this.addProfessionInfo = asn1OctetString; } DerPrintableString derPrintableString; string @string = derPrintableString.GetString(); this.registrationNumber = @string; IL_78: if (@string != 0) { if (@string != 0 && @string != 0) { string2 = DerPrintableString.GetInstance(@string).GetString(); this.registrationNumber = string2; } if (string2 == 0) { continue; } this.addProfessionInfo = string2; } if (string2 == 0) { return; } } while (string2 == 0 || string2 == 0 || string2 == 0); this.addProfessionInfo = string2; } // Token: 0x0600AB41 RID: 43841 RVA: 0x00280194 File Offset: 0x0027E394 [Token(Token = "0x600AB41")] [Address(RVA = "0x27DB440", Offset = "0x27D9E40", VA = "0x1827DB440")] public ProfessionInfo(NamingAuthority namingAuthority, DirectoryString[] professionItems, DerObjectIdentifier[] professionOids, string registrationNumber, Asn1OctetString addProfessionInfo) { this.namingAuthority = namingAuthority; DerSequence derSequence = new DerSequence(professionItems); this.professionItems = derSequence; if (professionOids != 0) { DerSequence derSequence2 = new DerSequence(professionOids); this.professionOids = derSequence2; } this.registrationNumber = 0; this.addProfessionInfo = 0; } // Token: 0x0600AB42 RID: 43842 RVA: 0x002801DC File Offset: 0x0027E3DC [Token(Token = "0x600AB42")] [Address(RVA = "0x27DA360", Offset = "0x27D8D60", VA = "0x1827DA360", Slot = "5")] public override Asn1Object ToAsn1Object() { Asn1EncodableVector asn1EncodableVector; if (this.Rechtsbeistand != (ulong)0L) { Asn1Encodable[] array = new Asn1Encodable[1]; NamingAuthority namingAuthority = this.namingAuthority; int num; DerTaggedObject derTaggedObject = new DerTaggedObject(true, num, namingAuthority); num = 0; if (derTaggedObject != 0) { } array[0] = derTaggedObject; asn1EncodableVector.Add(array); } Asn1Encodable[] array2 = new Asn1Encodable[1]; Asn1Sequence asn1Sequence = this.professionItems; if (asn1Sequence != 0) { } array2[0] = asn1Sequence; asn1EncodableVector.Add(array2); if (this.Steuerberater != (ulong)0L) { Asn1Encodable[] array3 = new Asn1Encodable[1]; Asn1Sequence asn1Sequence2 = this.professionOids; if (asn1Sequence2 != 0) { } array3[0] = asn1Sequence2; asn1EncodableVector.Add(array3); } if (this.Steuerbevollmchtigte != (ulong)0L) { Asn1Encodable[] array4 = new Asn1Encodable[1]; DerPrintableString derPrintableString = new DerPrintableString(this.registrationNumber, true); if (derPrintableString != 0) { } array4[0] = derPrintableString; asn1EncodableVector.Add(array4); } if (this.addProfessionInfo != (ulong)0L) { Asn1Encodable[] array5 = new Asn1Encodable[1]; Asn1OctetString asn1OctetString = this.addProfessionInfo; if (asn1OctetString != 0) { } array5[0] = asn1OctetString; asn1EncodableVector.Add(array5); } DerSequence derSequence = new DerSequence(asn1EncodableVector); throw new NullReferenceException(); } // Token: 0x17001B1E RID: 6942 // (get) Token: 0x0600AB43 RID: 43843 RVA: 0x002802F4 File Offset: 0x0027E4F4 [Token(Token = "0x17001B1E")] public virtual Asn1OctetString AddProfessionInfo { [Token(Token = "0x600AB43")] [Address(RVA = "0x3C1250", Offset = "0x3BFC50", VA = "0x1803C1250", Slot = "6")] get { return this.addProfessionInfo; } } // Token: 0x17001B1F RID: 6943 // (get) Token: 0x0600AB44 RID: 43844 RVA: 0x00280308 File Offset: 0x0027E508 [Token(Token = "0x17001B1F")] public virtual NamingAuthority NamingAuthority { [Token(Token = "0x600AB44")] [Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "7")] get { return this.namingAuthority; } } // Token: 0x0600AB45 RID: 43845 RVA: 0x0028031C File Offset: 0x0027E51C [Token(Token = "0x600AB45")] [Address(RVA = "0x27DA0E0", Offset = "0x27D8AE0", VA = "0x1827DA0E0", Slot = "8")] public virtual DirectoryString[] GetProfessionItems() { Asn1Sequence asn1Sequence = this.professionItems; Asn1Encodable asn1Encodable; DirectoryString[] array = new DirectoryString[asn1Encodable]; int num = 0; Asn1Sequence asn1Sequence2 = this.professionItems; Asn1Encodable asn1Encodable2; if (num < asn1Encodable2) { Asn1SequenceParser parser = this.professionItems.Parser; DirectoryString directoryString; if (directoryString != 0) { } num++; array[0] = directoryString; Asn1Sequence asn1Sequence3 = this.professionItems; } return array; } // Token: 0x0600AB46 RID: 43846 RVA: 0x00280374 File Offset: 0x0027E574 [Token(Token = "0x600AB46")] [Address(RVA = "0x27DA210", Offset = "0x27D8C10", VA = "0x1827DA210", Slot = "9")] public virtual DerObjectIdentifier[] GetProfessionOids() { if (this.professionOids == 0) { throw new NullReferenceException(); } Asn1Encodable asn1Encodable; DerObjectIdentifier[] array = new DerObjectIdentifier[asn1Encodable]; int num = 0; Asn1Sequence asn1Sequence = this.professionOids; Asn1Encodable asn1Encodable2; if (num < asn1Encodable2) { Asn1SequenceParser parser = this.professionOids.Parser; throw new ArrayTypeMismatchException(); } return array; } // Token: 0x17001B20 RID: 6944 // (get) Token: 0x0600AB47 RID: 43847 RVA: 0x002803D0 File Offset: 0x0027E5D0 [Token(Token = "0x17001B20")] public virtual string RegistrationNumber { [Token(Token = "0x600AB47")] [Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230", Slot = "10")] get { return this.registrationNumber; } } // Token: 0x0400707F RID: 28799 [Token(Token = "0x400707F")] public static readonly DerObjectIdentifier Rechtsanwltin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".1"); // Token: 0x04007080 RID: 28800 [Token(Token = "0x4007080")] public static readonly DerObjectIdentifier Rechtsanwalt = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".2"); // Token: 0x04007081 RID: 28801 [Token(Token = "0x4007081")] public static readonly DerObjectIdentifier Rechtsbeistand = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".3"); // Token: 0x04007082 RID: 28802 [Token(Token = "0x4007082")] public static readonly DerObjectIdentifier Steuerberaterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".4"); // Token: 0x04007083 RID: 28803 [Token(Token = "0x4007083")] public static readonly DerObjectIdentifier Steuerberater = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".5"); // Token: 0x04007084 RID: 28804 [Token(Token = "0x4007084")] public static readonly DerObjectIdentifier Steuerbevollmchtigte = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".6"); // Token: 0x04007085 RID: 28805 [Token(Token = "0x4007085")] public static readonly DerObjectIdentifier Steuerbevollmchtigter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".7"); // Token: 0x04007086 RID: 28806 [Token(Token = "0x4007086")] public static readonly DerObjectIdentifier Notarin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".8"); // Token: 0x04007087 RID: 28807 [Token(Token = "0x4007087")] public static readonly DerObjectIdentifier Notar = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".9"); // Token: 0x04007088 RID: 28808 [Token(Token = "0x4007088")] public static readonly DerObjectIdentifier Notarvertreterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".10"); // Token: 0x04007089 RID: 28809 [Token(Token = "0x4007089")] public static readonly DerObjectIdentifier Notarvertreter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".11"); // Token: 0x0400708A RID: 28810 [Token(Token = "0x400708A")] public static readonly DerObjectIdentifier Notariatsverwalterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".12"); // Token: 0x0400708B RID: 28811 [Token(Token = "0x400708B")] public static readonly DerObjectIdentifier Notariatsverwalter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".13"); // Token: 0x0400708C RID: 28812 [Token(Token = "0x400708C")] public static readonly DerObjectIdentifier Wirtschaftsprferin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".14"); // Token: 0x0400708D RID: 28813 [Token(Token = "0x400708D")] public static readonly DerObjectIdentifier Wirtschaftsprfer = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".15"); // Token: 0x0400708E RID: 28814 [Token(Token = "0x400708E")] public static readonly DerObjectIdentifier VereidigteBuchprferin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".16"); // Token: 0x0400708F RID: 28815 [Token(Token = "0x400708F")] public static readonly DerObjectIdentifier VereidigterBuchprfer = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".17"); // Token: 0x04007090 RID: 28816 [Token(Token = "0x4007090")] public static readonly DerObjectIdentifier Patentanwltin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".18"); // Token: 0x04007091 RID: 28817 [Token(Token = "0x4007091")] public static readonly DerObjectIdentifier Patentanwalt = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".19"); // Token: 0x04007092 RID: 28818 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4007092")] private readonly NamingAuthority namingAuthority; // Token: 0x04007093 RID: 28819 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4007093")] private readonly Asn1Sequence professionItems; // Token: 0x04007094 RID: 28820 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4007094")] private readonly Asn1Sequence professionOids; // Token: 0x04007095 RID: 28821 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x4007095")] private readonly string registrationNumber; // Token: 0x04007096 RID: 28822 [global::Cpp2IlInjected.FieldOffset(Offset = "0x30")] [Token(Token = "0x4007096")] private readonly Asn1OctetString addProfessionInfo; } }