m
This commit is contained in:
+380
@@ -0,0 +1,380 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001FA7 RID: 8103
|
||||
[Token(Token = "0x2001FA7")]
|
||||
public class ProfessionInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CAE7 RID: 51943 RVA: 0x002E0D68 File Offset: 0x002DEF68
|
||||
[Token(Token = "0x600CAE7")]
|
||||
[Address(RVA = "0x2EB6BD0", Offset = "0x2EB5BD0", VA = "0x182EB6BD0")]
|
||||
public static ProfessionInfo GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CAE7)
|
||||
|
||||
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: 0x0600CAE8 RID: 51944 RVA: 0x002E0DBC File Offset: 0x002DEFBC
|
||||
[Token(Token = "0x600CAE8")]
|
||||
[Address(RVA = "0x2EB7A40", Offset = "0x2EB6A40", VA = "0x182EB7A40")]
|
||||
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: 0x0600CAE9 RID: 51945 RVA: 0x002E0F0C File Offset: 0x002DF10C
|
||||
[Token(Token = "0x600CAE9")]
|
||||
[Address(RVA = "0x2EB8130", Offset = "0x2EB7130", VA = "0x182EB8130")]
|
||||
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: 0x0600CAEA RID: 51946 RVA: 0x002E0F54 File Offset: 0x002DF154
|
||||
[Token(Token = "0x600CAEA")]
|
||||
[Address(RVA = "0x2EB7050", Offset = "0x2EB6050", VA = "0x182EB7050", 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: 0x17001FBC RID: 8124
|
||||
// (get) Token: 0x0600CAEB RID: 51947 RVA: 0x002E106C File Offset: 0x002DF26C
|
||||
[Token(Token = "0x17001FBC")]
|
||||
public virtual Asn1OctetString AddProfessionInfo
|
||||
{
|
||||
[Token(Token = "0x600CAEB")]
|
||||
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.addProfessionInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FBD RID: 8125
|
||||
// (get) Token: 0x0600CAEC RID: 51948 RVA: 0x002E1080 File Offset: 0x002DF280
|
||||
[Token(Token = "0x17001FBD")]
|
||||
public virtual NamingAuthority NamingAuthority
|
||||
{
|
||||
[Token(Token = "0x600CAEC")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthority;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CAED RID: 51949 RVA: 0x002E1094 File Offset: 0x002DF294
|
||||
[Token(Token = "0x600CAED")]
|
||||
[Address(RVA = "0x2EB6DD0", Offset = "0x2EB5DD0", VA = "0x182EB6DD0", 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: 0x0600CAEE RID: 51950 RVA: 0x002E10EC File Offset: 0x002DF2EC
|
||||
[Token(Token = "0x600CAEE")]
|
||||
[Address(RVA = "0x2EB6F00", Offset = "0x2EB5F00", VA = "0x182EB6F00", 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: 0x17001FBE RID: 8126
|
||||
// (get) Token: 0x0600CAEF RID: 51951 RVA: 0x002E1148 File Offset: 0x002DF348
|
||||
[Token(Token = "0x17001FBE")]
|
||||
public virtual string RegistrationNumber
|
||||
{
|
||||
[Token(Token = "0x600CAEF")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return this.registrationNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400807B RID: 32891
|
||||
[Token(Token = "0x400807B")]
|
||||
public static readonly DerObjectIdentifier Rechtsanwltin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".1");
|
||||
|
||||
// Token: 0x0400807C RID: 32892
|
||||
[Token(Token = "0x400807C")]
|
||||
public static readonly DerObjectIdentifier Rechtsanwalt = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".2");
|
||||
|
||||
// Token: 0x0400807D RID: 32893
|
||||
[Token(Token = "0x400807D")]
|
||||
public static readonly DerObjectIdentifier Rechtsbeistand = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".3");
|
||||
|
||||
// Token: 0x0400807E RID: 32894
|
||||
[Token(Token = "0x400807E")]
|
||||
public static readonly DerObjectIdentifier Steuerberaterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".4");
|
||||
|
||||
// Token: 0x0400807F RID: 32895
|
||||
[Token(Token = "0x400807F")]
|
||||
public static readonly DerObjectIdentifier Steuerberater = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".5");
|
||||
|
||||
// Token: 0x04008080 RID: 32896
|
||||
[Token(Token = "0x4008080")]
|
||||
public static readonly DerObjectIdentifier Steuerbevollmchtigte = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".6");
|
||||
|
||||
// Token: 0x04008081 RID: 32897
|
||||
[Token(Token = "0x4008081")]
|
||||
public static readonly DerObjectIdentifier Steuerbevollmchtigter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".7");
|
||||
|
||||
// Token: 0x04008082 RID: 32898
|
||||
[Token(Token = "0x4008082")]
|
||||
public static readonly DerObjectIdentifier Notarin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".8");
|
||||
|
||||
// Token: 0x04008083 RID: 32899
|
||||
[Token(Token = "0x4008083")]
|
||||
public static readonly DerObjectIdentifier Notar = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".9");
|
||||
|
||||
// Token: 0x04008084 RID: 32900
|
||||
[Token(Token = "0x4008084")]
|
||||
public static readonly DerObjectIdentifier Notarvertreterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".10");
|
||||
|
||||
// Token: 0x04008085 RID: 32901
|
||||
[Token(Token = "0x4008085")]
|
||||
public static readonly DerObjectIdentifier Notarvertreter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".11");
|
||||
|
||||
// Token: 0x04008086 RID: 32902
|
||||
[Token(Token = "0x4008086")]
|
||||
public static readonly DerObjectIdentifier Notariatsverwalterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".12");
|
||||
|
||||
// Token: 0x04008087 RID: 32903
|
||||
[Token(Token = "0x4008087")]
|
||||
public static readonly DerObjectIdentifier Notariatsverwalter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".13");
|
||||
|
||||
// Token: 0x04008088 RID: 32904
|
||||
[Token(Token = "0x4008088")]
|
||||
public static readonly DerObjectIdentifier Wirtschaftsprferin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".14");
|
||||
|
||||
// Token: 0x04008089 RID: 32905
|
||||
[Token(Token = "0x4008089")]
|
||||
public static readonly DerObjectIdentifier Wirtschaftsprfer = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".15");
|
||||
|
||||
// Token: 0x0400808A RID: 32906
|
||||
[Token(Token = "0x400808A")]
|
||||
public static readonly DerObjectIdentifier VereidigteBuchprferin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".16");
|
||||
|
||||
// Token: 0x0400808B RID: 32907
|
||||
[Token(Token = "0x400808B")]
|
||||
public static readonly DerObjectIdentifier VereidigterBuchprfer = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".17");
|
||||
|
||||
// Token: 0x0400808C RID: 32908
|
||||
[Token(Token = "0x400808C")]
|
||||
public static readonly DerObjectIdentifier Patentanwltin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".18");
|
||||
|
||||
// Token: 0x0400808D RID: 32909
|
||||
[Token(Token = "0x400808D")]
|
||||
public static readonly DerObjectIdentifier Patentanwalt = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".19");
|
||||
|
||||
// Token: 0x0400808E RID: 32910
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400808E")]
|
||||
private readonly NamingAuthority namingAuthority;
|
||||
|
||||
// Token: 0x0400808F RID: 32911
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400808F")]
|
||||
private readonly Asn1Sequence professionItems;
|
||||
|
||||
// Token: 0x04008090 RID: 32912
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008090")]
|
||||
private readonly Asn1Sequence professionOids;
|
||||
|
||||
// Token: 0x04008091 RID: 32913
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4008091")]
|
||||
private readonly string registrationNumber;
|
||||
|
||||
// Token: 0x04008092 RID: 32914
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4008092")]
|
||||
private readonly Asn1OctetString addProfessionInfo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user