a
This commit is contained in:
+97
@@ -0,0 +1,97 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt
|
||||
{
|
||||
// Token: 0x02001EBE RID: 7870
|
||||
[Token(Token = "0x2001EBE")]
|
||||
public abstract class IsisMttObjectIdentifiers
|
||||
{
|
||||
// Token: 0x0600C6E2 RID: 50914 RVA: 0x002D74B0 File Offset: 0x002D56B0
|
||||
[Token(Token = "0x600C6E2")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected IsisMttObjectIdentifiers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04007E98 RID: 32408
|
||||
[Token(Token = "0x4007E98")]
|
||||
public static readonly DerObjectIdentifier IdIsisMtt = new DerObjectIdentifier("1.3.36.8");
|
||||
|
||||
// Token: 0x04007E99 RID: 32409
|
||||
[Token(Token = "0x4007E99")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttCP = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMtt + ".1");
|
||||
|
||||
// Token: 0x04007E9A RID: 32410
|
||||
[Token(Token = "0x4007E9A")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttCPAccredited = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttCP + ".1");
|
||||
|
||||
// Token: 0x04007E9B RID: 32411
|
||||
[Token(Token = "0x4007E9B")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttAT = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMtt + ".3");
|
||||
|
||||
// Token: 0x04007E9C RID: 32412
|
||||
[Token(Token = "0x4007E9C")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATDateOfCertGen = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".1");
|
||||
|
||||
// Token: 0x04007E9D RID: 32413
|
||||
[Token(Token = "0x4007E9D")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATProcuration = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".2");
|
||||
|
||||
// Token: 0x04007E9E RID: 32414
|
||||
[Token(Token = "0x4007E9E")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATAdmission = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".3");
|
||||
|
||||
// Token: 0x04007E9F RID: 32415
|
||||
[Token(Token = "0x4007E9F")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATMonetaryLimit = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".4");
|
||||
|
||||
// Token: 0x04007EA0 RID: 32416
|
||||
[Token(Token = "0x4007EA0")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATDeclarationOfMajority = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".5");
|
||||
|
||||
// Token: 0x04007EA1 RID: 32417
|
||||
[Token(Token = "0x4007EA1")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATIccsn = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".6");
|
||||
|
||||
// Token: 0x04007EA2 RID: 32418
|
||||
[Token(Token = "0x4007EA2")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATPKReference = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".7");
|
||||
|
||||
// Token: 0x04007EA3 RID: 32419
|
||||
[Token(Token = "0x4007EA3")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATRestriction = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".8");
|
||||
|
||||
// Token: 0x04007EA4 RID: 32420
|
||||
[Token(Token = "0x4007EA4")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATRetrieveIfAllowed = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".9");
|
||||
|
||||
// Token: 0x04007EA5 RID: 32421
|
||||
[Token(Token = "0x4007EA5")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATRequestedCertificate = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".10");
|
||||
|
||||
// Token: 0x04007EA6 RID: 32422
|
||||
[Token(Token = "0x4007EA6")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATNamingAuthorities = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".11");
|
||||
|
||||
// Token: 0x04007EA7 RID: 32423
|
||||
[Token(Token = "0x4007EA7")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATCertInDirSince = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".12");
|
||||
|
||||
// Token: 0x04007EA8 RID: 32424
|
||||
[Token(Token = "0x4007EA8")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATCertHash = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".13");
|
||||
|
||||
// Token: 0x04007EA9 RID: 32425
|
||||
[Token(Token = "0x4007EA9")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATNameAtBirth = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".14");
|
||||
|
||||
// Token: 0x04007EAA RID: 32426
|
||||
[Token(Token = "0x4007EAA")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATAdditionalInformation = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".15");
|
||||
|
||||
// Token: 0x04007EAB RID: 32427
|
||||
[Token(Token = "0x4007EAB")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATLiabilityLimitationFlag = new DerObjectIdentifier("0.2.262.1.10.12.0");
|
||||
}
|
||||
}
|
||||
+136
@@ -0,0 +1,136 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp
|
||||
{
|
||||
// Token: 0x02001EC9 RID: 7881
|
||||
[Token(Token = "0x2001EC9")]
|
||||
public class CertHash : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C728 RID: 50984 RVA: 0x002D8B90 File Offset: 0x002D6D90
|
||||
[Token(Token = "0x600C728")]
|
||||
[Address(RVA = "0x2834710", Offset = "0x2833510", VA = "0x182834710")]
|
||||
public static CertHash GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C728)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.CertHash BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.CertHash::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_3F:
|
||||
stloc:string(var_9_45, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_10_5D, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_9_45)), 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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C729 RID: 50985 RVA: 0x002D8BFC File Offset: 0x002D6DFC
|
||||
[Token(Token = "0x600C729")]
|
||||
[Address(RVA = "0x2834C50", Offset = "0x2833A50", VA = "0x182834C50")]
|
||||
private CertHash(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
AlgorithmIdentifier algorithmIdentifier;
|
||||
this.hashAlgorithm = algorithmIdentifier;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
Asn1OctetString asn1OctetString;
|
||||
Stream octetStream = asn1OctetString.GetOctetStream();
|
||||
this.certificateHash = octetStream;
|
||||
}
|
||||
|
||||
// Token: 0x0600C72A RID: 50986 RVA: 0x002D8C3C File Offset: 0x002D6E3C
|
||||
[Token(Token = "0x600C72A")]
|
||||
[Address(RVA = "0x2834B50", Offset = "0x2833950", VA = "0x182834B50")]
|
||||
public CertHash(AlgorithmIdentifier hashAlgorithm, byte[] certificateHash)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C72A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.CertHash::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier,System.Byte[])
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_21:
|
||||
stloc:ArgumentNullException(var_1_2B, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("certificateHash")))
|
||||
}
|
||||
|
||||
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: 0x17001F23 RID: 7971
|
||||
// (get) Token: 0x0600C72B RID: 50987 RVA: 0x002D8C74 File Offset: 0x002D6E74
|
||||
[Token(Token = "0x17001F23")]
|
||||
public AlgorithmIdentifier HashAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600C72B")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.hashAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F24 RID: 7972
|
||||
// (get) Token: 0x0600C72C RID: 50988 RVA: 0x002D8C88 File Offset: 0x002D6E88
|
||||
[Token(Token = "0x17001F24")]
|
||||
public byte[] CertificateHash
|
||||
{
|
||||
[Token(Token = "0x600C72C")]
|
||||
[Address(RVA = "0x2834D90", Offset = "0x2833B90", VA = "0x182834D90")]
|
||||
get
|
||||
{
|
||||
byte[] array = this.certificateHash;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C72D RID: 50989 RVA: 0x002D8CA4 File Offset: 0x002D6EA4
|
||||
[Token(Token = "0x600C72D")]
|
||||
[Address(RVA = "0x2834A10", Offset = "0x2833810", VA = "0x182834A10", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
AlgorithmIdentifier algorithmIdentifier = this.hashAlgorithm;
|
||||
if (algorithmIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = algorithmIdentifier;
|
||||
DerOctetString derOctetString = new DerOctetString(this.certificateHash);
|
||||
if (derOctetString != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derOctetString;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007EDB RID: 32475
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007EDB")]
|
||||
private readonly AlgorithmIdentifier hashAlgorithm;
|
||||
|
||||
// Token: 0x04007EDC RID: 32476
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007EDC")]
|
||||
private readonly byte[] certificateHash;
|
||||
}
|
||||
}
|
||||
+189
@@ -0,0 +1,189 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp
|
||||
{
|
||||
// Token: 0x02001ECA RID: 7882
|
||||
[Token(Token = "0x2001ECA")]
|
||||
public class RequestedCertificate : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600C72E RID: 50990 RVA: 0x002D8CF0 File Offset: 0x002D6EF0
|
||||
[Token(Token = "0x600C72E")]
|
||||
[Address(RVA = "0x28477C0", Offset = "0x28465C0", VA = "0x1828477C0")]
|
||||
public static RequestedCertificate GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C72E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.RequestedCertificate BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.RequestedCertificate::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_39:
|
||||
stloc:string(var_7_3F, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_8_57, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_7_3F)), 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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C72F RID: 50991 RVA: 0x002D8D58 File Offset: 0x002D6F58
|
||||
[Token(Token = "0x600C72F")]
|
||||
[Address(RVA = "0x28479C0", Offset = "0x28467C0", VA = "0x1828479C0")]
|
||||
public static RequestedCertificate GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C72F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.RequestedCertificate BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.RequestedCertificate::GetInstance(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_10:
|
||||
stloc:ArgumentException(var_0_1A, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("choice item must be explicitly tagged")))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C730 RID: 50992 RVA: 0x002D8D80 File Offset: 0x002D6F80
|
||||
[Token(Token = "0x600C730")]
|
||||
[Address(RVA = "0x2847BF0", Offset = "0x28469F0", VA = "0x182847BF0")]
|
||||
private RequestedCertificate(Asn1TaggedObject tagged)
|
||||
{
|
||||
int tagNo = tagged.tagNo;
|
||||
if (tagNo == 0)
|
||||
{
|
||||
Stream octetStream = Asn1OctetString.GetInstance(tagged, true).GetOctetStream();
|
||||
this.publicKeyCert = octetStream;
|
||||
return;
|
||||
}
|
||||
Stream octetStream2 = Asn1OctetString.GetInstance(tagged, tagNo != 0).GetOctetStream();
|
||||
this.attributeCert = octetStream2;
|
||||
}
|
||||
|
||||
// Token: 0x0600C731 RID: 50993 RVA: 0x002D8DD0 File Offset: 0x002D6FD0
|
||||
[Token(Token = "0x600C731")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
public RequestedCertificate(X509CertificateStructure certificate)
|
||||
{
|
||||
this.cert = certificate;
|
||||
}
|
||||
|
||||
// Token: 0x0600C732 RID: 50994 RVA: 0x002D8DEC File Offset: 0x002D6FEC
|
||||
[Token(Token = "0x600C732")]
|
||||
[Address(RVA = "0x2847B50", Offset = "0x2846950", VA = "0x182847B50")]
|
||||
public RequestedCertificate(RequestedCertificate.Choice type, byte[] certificateOctets)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(certificateOctets);
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject((int)type, derOctetString);
|
||||
}
|
||||
|
||||
// Token: 0x17001F25 RID: 7973
|
||||
// (get) Token: 0x0600C733 RID: 50995 RVA: 0x002D8E0C File Offset: 0x002D700C
|
||||
[Token(Token = "0x17001F25")]
|
||||
public RequestedCertificate.Choice Type
|
||||
{
|
||||
[Token(Token = "0x600C733")]
|
||||
[Address(RVA = "0x2847D10", Offset = "0x2846B10", VA = "0x182847D10")]
|
||||
get
|
||||
{
|
||||
if (this.cert == (ulong)0L)
|
||||
{
|
||||
int num = 0;
|
||||
bool flag = this.publicKeyCert == num;
|
||||
}
|
||||
return RequestedCertificate.Choice.Certificate;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C734 RID: 50996 RVA: 0x002D8E34 File Offset: 0x002D7034
|
||||
[Token(Token = "0x600C734")]
|
||||
[Address(RVA = "0x28476F0", Offset = "0x28464F0", VA = "0x1828476F0")]
|
||||
public byte[] GetCertificateBytes()
|
||||
{
|
||||
if (this.cert == (ulong)0L)
|
||||
{
|
||||
byte[] array = this.publicKeyCert;
|
||||
if (array == 0)
|
||||
{
|
||||
}
|
||||
return array;
|
||||
}
|
||||
X509CertificateStructure x509CertificateStructure = this.cert;
|
||||
return x509CertificateStructure.GetEncoded();
|
||||
}
|
||||
|
||||
// Token: 0x0600C735 RID: 50997 RVA: 0x002D8E80 File Offset: 0x002D7080
|
||||
[Token(Token = "0x600C735")]
|
||||
[Address(RVA = "0x2847A50", Offset = "0x2846850", VA = "0x182847A50", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
byte[] array = this.publicKeyCert;
|
||||
if (array == 0)
|
||||
{
|
||||
byte[] array2 = this.attributeCert;
|
||||
if (array2 == 0)
|
||||
{
|
||||
return this.cert.ToAsn1Object();
|
||||
}
|
||||
DerOctetString derOctetString = new DerOctetString(array2);
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(array);
|
||||
}
|
||||
DerOctetString derOctetString2 = new DerOctetString(array);
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(num, derOctetString2);
|
||||
num = 0;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007EDD RID: 32477
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007EDD")]
|
||||
private readonly X509CertificateStructure cert;
|
||||
|
||||
// Token: 0x04007EDE RID: 32478
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007EDE")]
|
||||
private readonly byte[] publicKeyCert;
|
||||
|
||||
// Token: 0x04007EDF RID: 32479
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007EDF")]
|
||||
private readonly byte[] attributeCert;
|
||||
|
||||
// Token: 0x02001ECB RID: 7883
|
||||
[Token(Token = "0x2001ECB")]
|
||||
public enum Choice
|
||||
{
|
||||
// Token: 0x04007EE1 RID: 32481
|
||||
[Token(Token = "0x4007EE1")]
|
||||
Certificate = -1,
|
||||
// Token: 0x04007EE2 RID: 32482
|
||||
[Token(Token = "0x4007EE2")]
|
||||
PublicKeyCertificate,
|
||||
// Token: 0x04007EE3 RID: 32483
|
||||
[Token(Token = "0x4007EE3")]
|
||||
AttributeCertificate
|
||||
}
|
||||
}
|
||||
}
|
||||
+84
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001EBF RID: 7871
|
||||
[Token(Token = "0x2001EBF")]
|
||||
public class AdditionalInformationSyntax : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C6E4 RID: 50916 RVA: 0x002D76B4 File Offset: 0x002D58B4
|
||||
[Token(Token = "0x600C6E4")]
|
||||
[Address(RVA = "0x2832BA0", Offset = "0x28319A0", VA = "0x182832BA0")]
|
||||
public static AdditionalInformationSyntax GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C6E4)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.AdditionalInformationSyntax BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.AdditionalInformationSyntax::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_20:
|
||||
stloc:string(var_4_26, call:string(Platform::GetTypeName, ldloc:AdditionalInformationSyntax[exp:object](var_3)))
|
||||
stloc:ArgumentException(var_5_3E, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in GetInstance: "), ldloc:string(var_4_26)), 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.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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C6E5 RID: 50917 RVA: 0x002D7700 File Offset: 0x002D5900
|
||||
[Token(Token = "0x600C6E5")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
private AdditionalInformationSyntax(DirectoryString information)
|
||||
{
|
||||
this.information = information;
|
||||
}
|
||||
|
||||
// Token: 0x0600C6E6 RID: 50918 RVA: 0x002D771C File Offset: 0x002D591C
|
||||
[Token(Token = "0x600C6E6")]
|
||||
[Address(RVA = "0x2832D20", Offset = "0x2831B20", VA = "0x182832D20")]
|
||||
public AdditionalInformationSyntax(string information)
|
||||
{
|
||||
DirectoryString directoryString = new DirectoryString(information);
|
||||
this.information = directoryString;
|
||||
}
|
||||
|
||||
// Token: 0x17001F0D RID: 7949
|
||||
// (get) Token: 0x0600C6E7 RID: 50919 RVA: 0x002D7740 File Offset: 0x002D5940
|
||||
[Token(Token = "0x17001F0D")]
|
||||
public virtual DirectoryString Information
|
||||
{
|
||||
[Token(Token = "0x600C6E7")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.information;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C6E8 RID: 50920 RVA: 0x002D7754 File Offset: 0x002D5954
|
||||
[Token(Token = "0x600C6E8")]
|
||||
[Address(RVA = "0x53BA50", Offset = "0x53A850", VA = "0x18053BA50", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
return this.information.ToAsn1Object();
|
||||
}
|
||||
|
||||
// Token: 0x04007EAC RID: 32428
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007EAC")]
|
||||
private readonly DirectoryString information;
|
||||
}
|
||||
}
|
||||
+141
@@ -0,0 +1,141 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001EC0 RID: 7872
|
||||
[Token(Token = "0x2001EC0")]
|
||||
public class AdmissionSyntax : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C6E9 RID: 50921 RVA: 0x002D7774 File Offset: 0x002D5974
|
||||
[Token(Token = "0x600C6E9")]
|
||||
[Address(RVA = "0x2832EC0", Offset = "0x2831CC0", VA = "0x182832EC0")]
|
||||
public static AdmissionSyntax GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C6E9)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_42:
|
||||
stloc:string(var_9_48, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_10_60, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_9_48)), 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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C6EA RID: 50922 RVA: 0x002D77E4 File Offset: 0x002D59E4
|
||||
[Token(Token = "0x600C6EA")]
|
||||
[Address(RVA = "0x2833350", Offset = "0x2832150", VA = "0x182833350")]
|
||||
private AdmissionSyntax(Asn1Sequence seq)
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable == (ulong)1L)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
Asn1Sequence asn1Sequence;
|
||||
this.contentsOfAdmissions = asn1Sequence;
|
||||
return;
|
||||
}
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
GeneralName generalName;
|
||||
this.admissionAuthority = generalName;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C6EB RID: 50923 RVA: 0x002D7820 File Offset: 0x002D5A20
|
||||
[Token(Token = "0x600C6EB")]
|
||||
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
|
||||
public AdmissionSyntax(GeneralName admissionAuthority, Asn1Sequence contentsOfAdmissions)
|
||||
{
|
||||
this.admissionAuthority = admissionAuthority;
|
||||
this.contentsOfAdmissions = contentsOfAdmissions;
|
||||
}
|
||||
|
||||
// Token: 0x0600C6EC RID: 50924 RVA: 0x002D7844 File Offset: 0x002D5A44
|
||||
[Token(Token = "0x600C6EC")]
|
||||
[Address(RVA = "0x28331B0", Offset = "0x2831FB0", VA = "0x1828331B0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.admissionAuthority != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
GeneralName generalName = this.admissionAuthority;
|
||||
if (generalName != 0)
|
||||
{
|
||||
}
|
||||
array[0] = generalName;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Sequence asn1Sequence = this.contentsOfAdmissions;
|
||||
if (asn1Sequence != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = asn1Sequence;
|
||||
asn1EncodableVector.Add(array2);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001F0E RID: 7950
|
||||
// (get) Token: 0x0600C6ED RID: 50925 RVA: 0x002D78B0 File Offset: 0x002D5AB0
|
||||
[Token(Token = "0x17001F0E")]
|
||||
public virtual GeneralName AdmissionAuthority
|
||||
{
|
||||
[Token(Token = "0x600C6ED")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.admissionAuthority;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C6EE RID: 50926 RVA: 0x002D78C4 File Offset: 0x002D5AC4
|
||||
[Token(Token = "0x600C6EE")]
|
||||
[Address(RVA = "0x2832D90", Offset = "0x2831B90", VA = "0x182832D90", Slot = "7")]
|
||||
public virtual Admissions[] GetContentsOfAdmissions()
|
||||
{
|
||||
Asn1Sequence asn1Sequence = this.contentsOfAdmissions;
|
||||
Asn1Encodable asn1Encodable;
|
||||
Admissions[] array = new Admissions[asn1Encodable];
|
||||
int num = 0;
|
||||
Asn1Sequence asn1Sequence2 = this.contentsOfAdmissions;
|
||||
Asn1Encodable asn1Encodable2;
|
||||
if (num < asn1Encodable2)
|
||||
{
|
||||
Asn1SequenceParser parser = this.contentsOfAdmissions.Parser;
|
||||
Admissions admissions;
|
||||
if (admissions != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = admissions;
|
||||
Asn1Sequence asn1Sequence3 = this.contentsOfAdmissions;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x04007EAD RID: 32429
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007EAD")]
|
||||
private readonly GeneralName admissionAuthority;
|
||||
|
||||
// Token: 0x04007EAE RID: 32430
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007EAE")]
|
||||
private readonly Asn1Sequence contentsOfAdmissions;
|
||||
}
|
||||
}
|
||||
+239
@@ -0,0 +1,239 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001EC1 RID: 7873
|
||||
[Token(Token = "0x2001EC1")]
|
||||
public class Admissions : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C6EF RID: 50927 RVA: 0x002D791C File Offset: 0x002D5B1C
|
||||
[Token(Token = "0x600C6EF")]
|
||||
[Address(RVA = "0x2833480", Offset = "0x2832280", VA = "0x182833480")]
|
||||
public static Admissions GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C6EF)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.Admissions BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.Admissions::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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C6F0 RID: 50928 RVA: 0x002D7970 File Offset: 0x002D5B70
|
||||
[Token(Token = "0x600C6F0")]
|
||||
[Address(RVA = "0x2833BC0", Offset = "0x28329C0", VA = "0x182833BC0")]
|
||||
private Admissions(Asn1Sequence seq)
|
||||
{
|
||||
int num2;
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
IEnumerator enumerator = seq.GetEnumerator();
|
||||
if (enumerator == 0)
|
||||
{
|
||||
Asn1Sequence instance = Asn1Sequence.GetInstance(0);
|
||||
this.professionInfos = instance;
|
||||
if (instance != 0)
|
||||
{
|
||||
goto IL_8A;
|
||||
}
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
NamingAuthority namingAuthority;
|
||||
if (enumerator != 0)
|
||||
{
|
||||
if (enumerator == 0)
|
||||
{
|
||||
goto IL_C8;
|
||||
}
|
||||
int num = 0;
|
||||
if (enumerator == 0)
|
||||
{
|
||||
goto IL_C8;
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
GeneralName generalName;
|
||||
this.admissionAuthority = generalName;
|
||||
}
|
||||
if (enumerator != (ulong)1L)
|
||||
{
|
||||
goto IL_A6;
|
||||
}
|
||||
this.namingAuthority = namingAuthority;
|
||||
}
|
||||
while (namingAuthority == 0)
|
||||
{
|
||||
}
|
||||
while (namingAuthority == 0)
|
||||
{
|
||||
}
|
||||
num2 = 0;
|
||||
if (namingAuthority != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
NamingAuthority instance2 = NamingAuthority.GetInstance(num2, true);
|
||||
this.namingAuthority = instance2;
|
||||
return;
|
||||
IL_8A:
|
||||
string typeName = Platform.GetTypeName(instance2);
|
||||
ArgumentException ex = new ArgumentException("Bad object encountered: " + typeName);
|
||||
IL_A6:
|
||||
throw new NullReferenceException();
|
||||
IL_C8:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C6F1 RID: 50929 RVA: 0x002D7A68 File Offset: 0x002D5C68
|
||||
[Token(Token = "0x600C6F1")]
|
||||
[Address(RVA = "0x2833B30", Offset = "0x2832930", VA = "0x182833B30")]
|
||||
public Admissions(GeneralName admissionAuthority, NamingAuthority namingAuthority, ProfessionInfo[] professionInfos)
|
||||
{
|
||||
this.admissionAuthority = admissionAuthority;
|
||||
this.namingAuthority = namingAuthority;
|
||||
DerSequence derSequence = new DerSequence(professionInfos);
|
||||
this.professionInfos = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x17001F0F RID: 7951
|
||||
// (get) Token: 0x0600C6F2 RID: 50930 RVA: 0x002D7A98 File Offset: 0x002D5C98
|
||||
[Token(Token = "0x17001F0F")]
|
||||
public virtual GeneralName AdmissionAuthority
|
||||
{
|
||||
[Token(Token = "0x600C6F2")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.admissionAuthority;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F10 RID: 7952
|
||||
// (get) Token: 0x0600C6F3 RID: 50931 RVA: 0x002D7AAC File Offset: 0x002D5CAC
|
||||
[Token(Token = "0x17001F10")]
|
||||
public virtual NamingAuthority NamingAuthority
|
||||
{
|
||||
[Token(Token = "0x600C6F3")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthority;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C6F4 RID: 50932 RVA: 0x002D7AC0 File Offset: 0x002D5CC0
|
||||
[Token(Token = "0x600C6F4")]
|
||||
[Address(RVA = "0x2833680", Offset = "0x2832480", VA = "0x182833680")]
|
||||
public ProfessionInfo[] GetProfessionInfos()
|
||||
{
|
||||
int num;
|
||||
IEnumerator enumerator;
|
||||
for (;;)
|
||||
{
|
||||
num = 0;
|
||||
Asn1Sequence asn1Sequence = this.professionInfos;
|
||||
Asn1Encodable asn1Encodable;
|
||||
ProfessionInfo[] array = new ProfessionInfo[asn1Encodable];
|
||||
enumerator = this.professionInfos.GetEnumerator();
|
||||
if (enumerator != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
return array;
|
||||
}
|
||||
}
|
||||
if (enumerator == 0)
|
||||
{
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
num++;
|
||||
throw new ArrayTypeMismatchException();
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C6F5 RID: 50933 RVA: 0x002D7B34 File Offset: 0x002D5D34
|
||||
[Token(Token = "0x600C6F5")]
|
||||
[Address(RVA = "0x28338A0", Offset = "0x28326A0", VA = "0x1828338A0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.admissionAuthority != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
GeneralName generalName = this.admissionAuthority;
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(true, num, generalName);
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
if (this.namingAuthority != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
NamingAuthority namingAuthority = this.namingAuthority;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(16777216 != 0, 16777216, namingAuthority);
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
Asn1Sequence asn1Sequence = this.professionInfos;
|
||||
if (asn1Sequence != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = asn1Sequence;
|
||||
asn1EncodableVector.Add(array3);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007EAF RID: 32431
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007EAF")]
|
||||
private readonly GeneralName admissionAuthority;
|
||||
|
||||
// Token: 0x04007EB0 RID: 32432
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007EB0")]
|
||||
private readonly NamingAuthority namingAuthority;
|
||||
|
||||
// Token: 0x04007EB1 RID: 32433
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007EB1")]
|
||||
private readonly Asn1Sequence professionInfos;
|
||||
}
|
||||
}
|
||||
+212
@@ -0,0 +1,212 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001EC2 RID: 7874
|
||||
[Token(Token = "0x2001EC2")]
|
||||
public class DeclarationOfMajority : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600C6F6 RID: 50934 RVA: 0x002D7BF4 File Offset: 0x002D5DF4
|
||||
[Token(Token = "0x600C6F6")]
|
||||
[Address(RVA = "0x2837080", Offset = "0x2835E80", VA = "0x182837080")]
|
||||
public DeclarationOfMajority(int notYoungerThan)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(notYoungerThan);
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, derInteger);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
this.declaration = derTaggedObject;
|
||||
}
|
||||
|
||||
// Token: 0x0600C6F7 RID: 50935 RVA: 0x002D7C24 File Offset: 0x002D5E24
|
||||
[Token(Token = "0x600C6F7")]
|
||||
[Address(RVA = "0x28371E0", Offset = "0x2835FE0", VA = "0x1828371E0")]
|
||||
public DeclarationOfMajority(bool fullAge, string country)
|
||||
{
|
||||
DerPrintableString derPrintableString = new DerPrintableString(country, true);
|
||||
if (!fullAge)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerBoolean @false = DerBoolean.False;
|
||||
if (@false != 0)
|
||||
{
|
||||
}
|
||||
array[0] = @false;
|
||||
if (derPrintableString != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derPrintableString;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
}
|
||||
DerSequence derSequence2 = new DerSequence(derPrintableString);
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, 1, derSequence2);
|
||||
num = 0;
|
||||
this.declaration = derTaggedObject;
|
||||
}
|
||||
|
||||
// Token: 0x0600C6F8 RID: 50936 RVA: 0x002D7C94 File Offset: 0x002D5E94
|
||||
[Token(Token = "0x600C6F8")]
|
||||
[Address(RVA = "0x2837400", Offset = "0x2836200", VA = "0x182837400")]
|
||||
public DeclarationOfMajority(DerGeneralizedTime dateOfBirth)
|
||||
{
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, 2, dateOfBirth);
|
||||
num = 0;
|
||||
this.declaration = derTaggedObject;
|
||||
}
|
||||
|
||||
// Token: 0x0600C6F9 RID: 50937 RVA: 0x002D7CBC File Offset: 0x002D5EBC
|
||||
[Token(Token = "0x600C6F9")]
|
||||
[Address(RVA = "0x2836DF0", Offset = "0x2835BF0", VA = "0x182836DF0")]
|
||||
public static DeclarationOfMajority GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C6F9)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.DeclarationOfMajority BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.DeclarationOfMajority::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_30:
|
||||
stloc:string(var_7_36, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_8_4E, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_7_36)), 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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C6FA RID: 50938 RVA: 0x002D7D18 File Offset: 0x002D5F18
|
||||
[Token(Token = "0x600C6FA")]
|
||||
[Address(RVA = "0x2837120", Offset = "0x2835F20", VA = "0x182837120")]
|
||||
private DeclarationOfMajority(Asn1TaggedObject o)
|
||||
{
|
||||
this.declaration = o;
|
||||
}
|
||||
|
||||
// Token: 0x0600C6FB RID: 50939 RVA: 0x002D7D38 File Offset: 0x002D5F38
|
||||
[Token(Token = "0x600C6FB")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C6FB)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.DeclarationOfMajority::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Asn1TaggedObject(var_0_06, ldfld:Asn1TaggedObject(DeclarationOfMajority::declaration, ldloc:DeclarationOfMajority(this)))
|
||||
}
|
||||
|
||||
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: 0x17001F11 RID: 7953
|
||||
// (get) Token: 0x0600C6FC RID: 50940 RVA: 0x002D7D4C File Offset: 0x002D5F4C
|
||||
[Token(Token = "0x17001F11")]
|
||||
public DeclarationOfMajority.Choice Type
|
||||
{
|
||||
[Token(Token = "0x600C6FC")]
|
||||
[Address(RVA = "0x2837530", Offset = "0x2836330", VA = "0x182837530")]
|
||||
get
|
||||
{
|
||||
int tagNo = this.declaration.tagNo;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F12 RID: 7954
|
||||
// (get) Token: 0x0600C6FD RID: 50941 RVA: 0x002D7D6C File Offset: 0x002D5F6C
|
||||
[Token(Token = "0x17001F12")]
|
||||
public virtual int NotYoungerThan
|
||||
{
|
||||
[Token(Token = "0x600C6FD")]
|
||||
[Address(RVA = "0x28374E0", Offset = "0x28362E0", VA = "0x1828374E0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
Asn1TaggedObject asn1TaggedObject = this.declaration;
|
||||
if (asn1TaggedObject.tagNo != 0)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
int num = 0;
|
||||
return DerInteger.GetInstance(asn1TaggedObject, num != 0).Value.IntValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F13 RID: 7955
|
||||
// (get) Token: 0x0600C6FE RID: 50942 RVA: 0x002D7DA4 File Offset: 0x002D5FA4
|
||||
[Token(Token = "0x17001F13")]
|
||||
public virtual Asn1Sequence FullAgeAtCountry
|
||||
{
|
||||
[Token(Token = "0x600C6FE")]
|
||||
[Address(RVA = "0x28374B0", Offset = "0x28362B0", VA = "0x1828374B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
Asn1TaggedObject asn1TaggedObject = this.declaration;
|
||||
if (asn1TaggedObject.tagNo != 1)
|
||||
{
|
||||
}
|
||||
int num = 0;
|
||||
return Asn1Sequence.GetInstance(asn1TaggedObject, num != 0);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F14 RID: 7956
|
||||
// (get) Token: 0x0600C6FF RID: 50943 RVA: 0x002D7DD4 File Offset: 0x002D5FD4
|
||||
[Token(Token = "0x17001F14")]
|
||||
public virtual DerGeneralizedTime DateOfBirth
|
||||
{
|
||||
[Token(Token = "0x600C6FF")]
|
||||
[Address(RVA = "0x2837480", Offset = "0x2836280", VA = "0x182837480", Slot = "8")]
|
||||
get
|
||||
{
|
||||
Asn1TaggedObject asn1TaggedObject = this.declaration;
|
||||
if (asn1TaggedObject.tagNo != 2)
|
||||
{
|
||||
}
|
||||
int num = 0;
|
||||
return DerGeneralizedTime.GetInstance(asn1TaggedObject, num != 0);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04007EB2 RID: 32434
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007EB2")]
|
||||
private readonly Asn1TaggedObject declaration;
|
||||
|
||||
// Token: 0x02001EC3 RID: 7875
|
||||
[Token(Token = "0x2001EC3")]
|
||||
public enum Choice
|
||||
{
|
||||
// Token: 0x04007EB4 RID: 32436
|
||||
[Token(Token = "0x4007EB4")]
|
||||
NotYoungerThan,
|
||||
// Token: 0x04007EB5 RID: 32437
|
||||
[Token(Token = "0x4007EB5")]
|
||||
FullAgeAtCountry,
|
||||
// Token: 0x04007EB6 RID: 32438
|
||||
[Token(Token = "0x4007EB6")]
|
||||
DateOfBirth
|
||||
}
|
||||
}
|
||||
}
|
||||
+147
@@ -0,0 +1,147 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001EC4 RID: 7876
|
||||
[Token(Token = "0x2001EC4")]
|
||||
public class MonetaryLimit : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C700 RID: 50944 RVA: 0x002D7E04 File Offset: 0x002D6004
|
||||
[Token(Token = "0x600C700")]
|
||||
[Address(RVA = "0x283DB80", Offset = "0x283C980", VA = "0x18283DB80")]
|
||||
public static MonetaryLimit GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C700)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.MonetaryLimit BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.MonetaryLimit::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_5A:
|
||||
stloc:string(var_13_60, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_14_78, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_13_60)), 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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C701 RID: 50945 RVA: 0x002D7E8C File Offset: 0x002D608C
|
||||
[Token(Token = "0x600C701")]
|
||||
[Address(RVA = "0x283E090", Offset = "0x283CE90", VA = "0x18283E090")]
|
||||
private MonetaryLimit(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DerPrintableString derPrintableString;
|
||||
this.currency = derPrintableString;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
DerInteger derInteger;
|
||||
this.amount = derInteger;
|
||||
Asn1SequenceParser parser3 = seq.Parser;
|
||||
DerInteger derInteger2;
|
||||
this.exponent = derInteger2;
|
||||
}
|
||||
|
||||
// Token: 0x0600C702 RID: 50946 RVA: 0x002D7ED4 File Offset: 0x002D60D4
|
||||
[Token(Token = "0x600C702")]
|
||||
[Address(RVA = "0x283DFC0", Offset = "0x283CDC0", VA = "0x18283DFC0")]
|
||||
public MonetaryLimit(string currency, int amount, int exponent)
|
||||
{
|
||||
DerPrintableString derPrintableString = new DerPrintableString(currency, true);
|
||||
this.currency = derPrintableString;
|
||||
DerInteger derInteger = new DerInteger(amount);
|
||||
this.amount = derInteger;
|
||||
DerInteger derInteger2 = new DerInteger(amount);
|
||||
this.exponent = derInteger2;
|
||||
}
|
||||
|
||||
// Token: 0x17001F15 RID: 7957
|
||||
// (get) Token: 0x0600C703 RID: 50947 RVA: 0x002D7F14 File Offset: 0x002D6114
|
||||
[Token(Token = "0x17001F15")]
|
||||
public virtual string Currency
|
||||
{
|
||||
[Token(Token = "0x600C703")]
|
||||
[Address(RVA = "0x5F5F00", Offset = "0x5F4D00", VA = "0x1805F5F00", Slot = "6")]
|
||||
get
|
||||
{
|
||||
Asn1Object asn1Object = this.currency.ToAsn1Object();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F16 RID: 7958
|
||||
// (get) Token: 0x0600C704 RID: 50948 RVA: 0x002D7F34 File Offset: 0x002D6134
|
||||
[Token(Token = "0x17001F16")]
|
||||
public virtual BigInteger Amount
|
||||
{
|
||||
[Token(Token = "0x600C704")]
|
||||
[Address(RVA = "0x283E1D0", Offset = "0x283CFD0", VA = "0x18283E1D0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.amount.Value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F17 RID: 7959
|
||||
// (get) Token: 0x0600C705 RID: 50949 RVA: 0x002D7F54 File Offset: 0x002D6154
|
||||
[Token(Token = "0x17001F17")]
|
||||
public virtual BigInteger Exponent
|
||||
{
|
||||
[Token(Token = "0x600C705")]
|
||||
[Address(RVA = "0x283E1F0", Offset = "0x283CFF0", VA = "0x18283E1F0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.exponent.Value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C706 RID: 50950 RVA: 0x002D7F74 File Offset: 0x002D6174
|
||||
[Token(Token = "0x600C706")]
|
||||
[Address(RVA = "0x283DE50", Offset = "0x283CC50", VA = "0x18283DE50", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[3];
|
||||
DerPrintableString derPrintableString = this.currency;
|
||||
if (derPrintableString != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derPrintableString;
|
||||
DerInteger derInteger = this.amount;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger;
|
||||
DerInteger derInteger2 = this.exponent;
|
||||
if (derInteger2 != 0)
|
||||
{
|
||||
}
|
||||
array[2] = derInteger2;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007EB7 RID: 32439
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007EB7")]
|
||||
private readonly DerPrintableString currency;
|
||||
|
||||
// Token: 0x04007EB8 RID: 32440
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007EB8")]
|
||||
private readonly DerInteger amount;
|
||||
|
||||
// Token: 0x04007EB9 RID: 32441
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007EB9")]
|
||||
private readonly DerInteger exponent;
|
||||
}
|
||||
}
|
||||
+181
@@ -0,0 +1,181 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001EC5 RID: 7877
|
||||
[Token(Token = "0x2001EC5")]
|
||||
public class NamingAuthority : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C707 RID: 50951 RVA: 0x002D7FD0 File Offset: 0x002D61D0
|
||||
[Token(Token = "0x600C707")]
|
||||
[Address(RVA = "0x283E210", Offset = "0x283D010", VA = "0x18283E210")]
|
||||
public static NamingAuthority GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C707)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority::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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C708 RID: 50952 RVA: 0x002D8024 File Offset: 0x002D6224
|
||||
[Token(Token = "0x600C708")]
|
||||
[Address(RVA = "0x283E410", Offset = "0x283D210", VA = "0x18283E410")]
|
||||
public static NamingAuthority GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return NamingAuthority.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600C709 RID: 50953 RVA: 0x002D8040 File Offset: 0x002D6240
|
||||
[Token(Token = "0x600C709")]
|
||||
[Address(RVA = "0x283E790", Offset = "0x283D590", VA = "0x18283E790")]
|
||||
private NamingAuthority(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C709)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_DC:
|
||||
stloc:string(var_19_E3, call:string(Platform::GetTypeName, ldloc:string[exp:object](var_17)))
|
||||
stloc:ArgumentException(var_20_F6, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Bad object encountered: "), ldloc:string(var_19_E3))))
|
||||
}
|
||||
|
||||
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: 0x17001F18 RID: 7960
|
||||
// (get) Token: 0x0600C70A RID: 50954 RVA: 0x002D8144 File Offset: 0x002D6344
|
||||
[Token(Token = "0x17001F18")]
|
||||
public virtual DerObjectIdentifier NamingAuthorityID
|
||||
{
|
||||
[Token(Token = "0x600C70A")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthorityID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F19 RID: 7961
|
||||
// (get) Token: 0x0600C70B RID: 50955 RVA: 0x002D8158 File Offset: 0x002D6358
|
||||
[Token(Token = "0x17001F19")]
|
||||
public virtual DirectoryString NamingAuthorityText
|
||||
{
|
||||
[Token(Token = "0x600C70B")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthorityText;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F1A RID: 7962
|
||||
// (get) Token: 0x0600C70C RID: 50956 RVA: 0x002D816C File Offset: 0x002D636C
|
||||
[Token(Token = "0x17001F1A")]
|
||||
public virtual string NamingAuthorityUrl
|
||||
{
|
||||
[Token(Token = "0x600C70C")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthorityUrl;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C70D RID: 50957 RVA: 0x002D8180 File Offset: 0x002D6380
|
||||
[Token(Token = "0x600C70D")]
|
||||
[Address(RVA = "0xECF220", Offset = "0xECE020", VA = "0x180ECF220")]
|
||||
public NamingAuthority(DerObjectIdentifier namingAuthorityID, string namingAuthorityUrl, DirectoryString namingAuthorityText)
|
||||
{
|
||||
this.namingAuthorityID = namingAuthorityID;
|
||||
this.namingAuthorityUrl = namingAuthorityUrl;
|
||||
this.namingAuthorityText = namingAuthorityText;
|
||||
}
|
||||
|
||||
// Token: 0x0600C70E RID: 50958 RVA: 0x002D81A8 File Offset: 0x002D63A8
|
||||
[Token(Token = "0x600C70E")]
|
||||
[Address(RVA = "0x283E480", Offset = "0x283D280", VA = "0x18283E480", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.namingAuthorityID != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
DerObjectIdentifier derObjectIdentifier = this.namingAuthorityID;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derObjectIdentifier;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
if (this.namingAuthorityUrl != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
DerIA5String derIA5String = new DerIA5String(this.namingAuthorityUrl, true);
|
||||
if (derIA5String != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derIA5String;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
if (this.namingAuthorityText != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
DirectoryString directoryString = this.namingAuthorityText;
|
||||
if (directoryString != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = directoryString;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007EBA RID: 32442
|
||||
[Token(Token = "0x4007EBA")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttATNamingAuthorities + ".1");
|
||||
|
||||
// Token: 0x04007EBB RID: 32443
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007EBB")]
|
||||
private readonly DerObjectIdentifier namingAuthorityID;
|
||||
|
||||
// Token: 0x04007EBC RID: 32444
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007EBC")]
|
||||
private readonly string namingAuthorityUrl;
|
||||
|
||||
// Token: 0x04007EBD RID: 32445
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007EBD")]
|
||||
private readonly DirectoryString namingAuthorityText;
|
||||
}
|
||||
}
|
||||
+210
@@ -0,0 +1,210 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001EC6 RID: 7878
|
||||
[Token(Token = "0x2001EC6")]
|
||||
public class ProcurationSyntax : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C710 RID: 50960 RVA: 0x002D8280 File Offset: 0x002D6480
|
||||
[Token(Token = "0x600C710")]
|
||||
[Address(RVA = "0x28455A0", Offset = "0x28443A0", VA = "0x1828455A0")]
|
||||
public static ProcurationSyntax GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C710)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.ProcurationSyntax BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.ProcurationSyntax::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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C711 RID: 50961 RVA: 0x002D82D4 File Offset: 0x002D64D4
|
||||
[Token(Token = "0x600C711")]
|
||||
[Address(RVA = "0x2845B00", Offset = "0x2844900", VA = "0x182845B00")]
|
||||
private ProcurationSyntax(Asn1Sequence seq)
|
||||
{
|
||||
if (seq.GetEnumerator() != 0)
|
||||
{
|
||||
Asn1TaggedObject asn1TaggedObject;
|
||||
int tagNo = asn1TaggedObject.tagNo;
|
||||
if (asn1TaggedObject != 0)
|
||||
{
|
||||
if (asn1TaggedObject != 0)
|
||||
{
|
||||
Asn1Object @object = asn1TaggedObject.GetObject();
|
||||
if (@object == 0)
|
||||
{
|
||||
IssuerSerial instance = IssuerSerial.GetInstance(@object);
|
||||
this.certRef = instance;
|
||||
}
|
||||
GeneralName instance2 = GeneralName.GetInstance(@object);
|
||||
this.thirdPerson = instance2;
|
||||
}
|
||||
ulong num;
|
||||
DirectoryString instance3 = DirectoryString.GetInstance(asn1TaggedObject, num != 0UL);
|
||||
this.typeOfSubstitution = instance3;
|
||||
}
|
||||
ulong num2;
|
||||
string @string = DerPrintableString.GetInstance(asn1TaggedObject, num2 != 0UL).GetString();
|
||||
this.country = @string;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C712 RID: 50962 RVA: 0x002D8370 File Offset: 0x002D6570
|
||||
[Token(Token = "0x600C712")]
|
||||
[Address(RVA = "0x2845DC0", Offset = "0x2844BC0", VA = "0x182845DC0")]
|
||||
public ProcurationSyntax(string country, DirectoryString typeOfSubstitution, IssuerSerial certRef)
|
||||
{
|
||||
this.country = country;
|
||||
this.certRef = certRef;
|
||||
this.typeOfSubstitution = typeOfSubstitution;
|
||||
this.thirdPerson = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x0600C713 RID: 50963 RVA: 0x002D83A4 File Offset: 0x002D65A4
|
||||
[Token(Token = "0x600C713")]
|
||||
[Address(RVA = "0x2845D70", Offset = "0x2844B70", VA = "0x182845D70")]
|
||||
public ProcurationSyntax(string country, DirectoryString typeOfSubstitution, GeneralName thirdPerson)
|
||||
{
|
||||
this.country = country;
|
||||
this.thirdPerson = thirdPerson;
|
||||
this.typeOfSubstitution = typeOfSubstitution;
|
||||
this.certRef = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x17001F1B RID: 7963
|
||||
// (get) Token: 0x0600C714 RID: 50964 RVA: 0x002D83D8 File Offset: 0x002D65D8
|
||||
[Token(Token = "0x17001F1B")]
|
||||
public virtual string Country
|
||||
{
|
||||
[Token(Token = "0x600C714")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.country;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F1C RID: 7964
|
||||
// (get) Token: 0x0600C715 RID: 50965 RVA: 0x002D83EC File Offset: 0x002D65EC
|
||||
[Token(Token = "0x17001F1C")]
|
||||
public virtual DirectoryString TypeOfSubstitution
|
||||
{
|
||||
[Token(Token = "0x600C715")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.typeOfSubstitution;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F1D RID: 7965
|
||||
// (get) Token: 0x0600C716 RID: 50966 RVA: 0x002D8400 File Offset: 0x002D6600
|
||||
[Token(Token = "0x17001F1D")]
|
||||
public virtual GeneralName ThirdPerson
|
||||
{
|
||||
[Token(Token = "0x600C716")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.thirdPerson;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F1E RID: 7966
|
||||
// (get) Token: 0x0600C717 RID: 50967 RVA: 0x002D8414 File Offset: 0x002D6614
|
||||
[Token(Token = "0x17001F1E")]
|
||||
public virtual IssuerSerial CertRef
|
||||
{
|
||||
[Token(Token = "0x600C717")]
|
||||
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.certRef;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C718 RID: 50968 RVA: 0x002D8428 File Offset: 0x002D6628
|
||||
[Token(Token = "0x600C718")]
|
||||
[Address(RVA = "0x28457A0", Offset = "0x28445A0", VA = "0x1828457A0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
int num = 0;
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.country != num)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[0];
|
||||
DerPrintableString derPrintableString = new DerPrintableString(this.country, true);
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(16777216 != 0, 16777216, derPrintableString);
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
if (this.typeOfSubstitution != num)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
DirectoryString directoryString = this.typeOfSubstitution;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(true, 2, directoryString);
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
IssuerSerial issuerSerial;
|
||||
if (this.thirdPerson == num)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
issuerSerial = this.certRef;
|
||||
if (new DerTaggedObject(true, 3, issuerSerial) != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
if (new DerTaggedObject(true, 3, issuerSerial) != 0)
|
||||
{
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007EBE RID: 32446
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007EBE")]
|
||||
private readonly string country;
|
||||
|
||||
// Token: 0x04007EBF RID: 32447
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007EBF")]
|
||||
private readonly DirectoryString typeOfSubstitution;
|
||||
|
||||
// Token: 0x04007EC0 RID: 32448
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007EC0")]
|
||||
private readonly GeneralName thirdPerson;
|
||||
|
||||
// Token: 0x04007EC1 RID: 32449
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007EC1")]
|
||||
private readonly IssuerSerial certRef;
|
||||
}
|
||||
}
|
||||
+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: 0x02001EC7 RID: 7879
|
||||
[Token(Token = "0x2001EC7")]
|
||||
public class ProfessionInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C719 RID: 50969 RVA: 0x002D84F4 File Offset: 0x002D66F4
|
||||
[Token(Token = "0x600C719")]
|
||||
[Address(RVA = "0x2845E10", Offset = "0x2844C10", VA = "0x182845E10")]
|
||||
public static ProfessionInfo GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C719)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C71A RID: 50970 RVA: 0x002D8548 File Offset: 0x002D6748
|
||||
[Token(Token = "0x600C71A")]
|
||||
[Address(RVA = "0x2846C80", Offset = "0x2845A80", VA = "0x182846C80")]
|
||||
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: 0x0600C71B RID: 50971 RVA: 0x002D8698 File Offset: 0x002D6898
|
||||
[Token(Token = "0x600C71B")]
|
||||
[Address(RVA = "0x2847370", Offset = "0x2846170", VA = "0x182847370")]
|
||||
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: 0x0600C71C RID: 50972 RVA: 0x002D86E0 File Offset: 0x002D68E0
|
||||
[Token(Token = "0x600C71C")]
|
||||
[Address(RVA = "0x2846290", Offset = "0x2845090", VA = "0x182846290", 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: 0x17001F1F RID: 7967
|
||||
// (get) Token: 0x0600C71D RID: 50973 RVA: 0x002D87F8 File Offset: 0x002D69F8
|
||||
[Token(Token = "0x17001F1F")]
|
||||
public virtual Asn1OctetString AddProfessionInfo
|
||||
{
|
||||
[Token(Token = "0x600C71D")]
|
||||
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.addProfessionInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F20 RID: 7968
|
||||
// (get) Token: 0x0600C71E RID: 50974 RVA: 0x002D880C File Offset: 0x002D6A0C
|
||||
[Token(Token = "0x17001F20")]
|
||||
public virtual NamingAuthority NamingAuthority
|
||||
{
|
||||
[Token(Token = "0x600C71E")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthority;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C71F RID: 50975 RVA: 0x002D8820 File Offset: 0x002D6A20
|
||||
[Token(Token = "0x600C71F")]
|
||||
[Address(RVA = "0x2846010", Offset = "0x2844E10", VA = "0x182846010", 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: 0x0600C720 RID: 50976 RVA: 0x002D8878 File Offset: 0x002D6A78
|
||||
[Token(Token = "0x600C720")]
|
||||
[Address(RVA = "0x2846140", Offset = "0x2844F40", VA = "0x182846140", 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: 0x17001F21 RID: 7969
|
||||
// (get) Token: 0x0600C721 RID: 50977 RVA: 0x002D88D4 File Offset: 0x002D6AD4
|
||||
[Token(Token = "0x17001F21")]
|
||||
public virtual string RegistrationNumber
|
||||
{
|
||||
[Token(Token = "0x600C721")]
|
||||
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return this.registrationNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04007EC2 RID: 32450
|
||||
[Token(Token = "0x4007EC2")]
|
||||
public static readonly DerObjectIdentifier Rechtsanwltin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".1");
|
||||
|
||||
// Token: 0x04007EC3 RID: 32451
|
||||
[Token(Token = "0x4007EC3")]
|
||||
public static readonly DerObjectIdentifier Rechtsanwalt = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".2");
|
||||
|
||||
// Token: 0x04007EC4 RID: 32452
|
||||
[Token(Token = "0x4007EC4")]
|
||||
public static readonly DerObjectIdentifier Rechtsbeistand = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".3");
|
||||
|
||||
// Token: 0x04007EC5 RID: 32453
|
||||
[Token(Token = "0x4007EC5")]
|
||||
public static readonly DerObjectIdentifier Steuerberaterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".4");
|
||||
|
||||
// Token: 0x04007EC6 RID: 32454
|
||||
[Token(Token = "0x4007EC6")]
|
||||
public static readonly DerObjectIdentifier Steuerberater = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".5");
|
||||
|
||||
// Token: 0x04007EC7 RID: 32455
|
||||
[Token(Token = "0x4007EC7")]
|
||||
public static readonly DerObjectIdentifier Steuerbevollmchtigte = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".6");
|
||||
|
||||
// Token: 0x04007EC8 RID: 32456
|
||||
[Token(Token = "0x4007EC8")]
|
||||
public static readonly DerObjectIdentifier Steuerbevollmchtigter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".7");
|
||||
|
||||
// Token: 0x04007EC9 RID: 32457
|
||||
[Token(Token = "0x4007EC9")]
|
||||
public static readonly DerObjectIdentifier Notarin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".8");
|
||||
|
||||
// Token: 0x04007ECA RID: 32458
|
||||
[Token(Token = "0x4007ECA")]
|
||||
public static readonly DerObjectIdentifier Notar = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".9");
|
||||
|
||||
// Token: 0x04007ECB RID: 32459
|
||||
[Token(Token = "0x4007ECB")]
|
||||
public static readonly DerObjectIdentifier Notarvertreterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".10");
|
||||
|
||||
// Token: 0x04007ECC RID: 32460
|
||||
[Token(Token = "0x4007ECC")]
|
||||
public static readonly DerObjectIdentifier Notarvertreter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".11");
|
||||
|
||||
// Token: 0x04007ECD RID: 32461
|
||||
[Token(Token = "0x4007ECD")]
|
||||
public static readonly DerObjectIdentifier Notariatsverwalterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".12");
|
||||
|
||||
// Token: 0x04007ECE RID: 32462
|
||||
[Token(Token = "0x4007ECE")]
|
||||
public static readonly DerObjectIdentifier Notariatsverwalter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".13");
|
||||
|
||||
// Token: 0x04007ECF RID: 32463
|
||||
[Token(Token = "0x4007ECF")]
|
||||
public static readonly DerObjectIdentifier Wirtschaftsprferin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".14");
|
||||
|
||||
// Token: 0x04007ED0 RID: 32464
|
||||
[Token(Token = "0x4007ED0")]
|
||||
public static readonly DerObjectIdentifier Wirtschaftsprfer = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".15");
|
||||
|
||||
// Token: 0x04007ED1 RID: 32465
|
||||
[Token(Token = "0x4007ED1")]
|
||||
public static readonly DerObjectIdentifier VereidigteBuchprferin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".16");
|
||||
|
||||
// Token: 0x04007ED2 RID: 32466
|
||||
[Token(Token = "0x4007ED2")]
|
||||
public static readonly DerObjectIdentifier VereidigterBuchprfer = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".17");
|
||||
|
||||
// Token: 0x04007ED3 RID: 32467
|
||||
[Token(Token = "0x4007ED3")]
|
||||
public static readonly DerObjectIdentifier Patentanwltin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".18");
|
||||
|
||||
// Token: 0x04007ED4 RID: 32468
|
||||
[Token(Token = "0x4007ED4")]
|
||||
public static readonly DerObjectIdentifier Patentanwalt = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".19");
|
||||
|
||||
// Token: 0x04007ED5 RID: 32469
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007ED5")]
|
||||
private readonly NamingAuthority namingAuthority;
|
||||
|
||||
// Token: 0x04007ED6 RID: 32470
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007ED6")]
|
||||
private readonly Asn1Sequence professionItems;
|
||||
|
||||
// Token: 0x04007ED7 RID: 32471
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007ED7")]
|
||||
private readonly Asn1Sequence professionOids;
|
||||
|
||||
// Token: 0x04007ED8 RID: 32472
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007ED8")]
|
||||
private readonly string registrationNumber;
|
||||
|
||||
// Token: 0x04007ED9 RID: 32473
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4007ED9")]
|
||||
private readonly Asn1OctetString addProfessionInfo;
|
||||
}
|
||||
}
|
||||
+84
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001EC8 RID: 7880
|
||||
[Token(Token = "0x2001EC8")]
|
||||
public class Restriction : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C723 RID: 50979 RVA: 0x002D8AD0 File Offset: 0x002D6CD0
|
||||
[Token(Token = "0x600C723")]
|
||||
[Address(RVA = "0x2847D30", Offset = "0x2846B30", VA = "0x182847D30")]
|
||||
public static Restriction GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C723)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.Restriction BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.Restriction::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_20:
|
||||
stloc:string(var_4_26, call:string(Platform::GetTypeName, ldloc:Restriction[exp:object](var_3)))
|
||||
stloc:ArgumentException(var_5_3E, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in GetInstance: "), ldloc:string(var_4_26)), 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.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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C724 RID: 50980 RVA: 0x002D8B1C File Offset: 0x002D6D1C
|
||||
[Token(Token = "0x600C724")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
private Restriction(DirectoryString restriction)
|
||||
{
|
||||
this.restriction = restriction;
|
||||
}
|
||||
|
||||
// Token: 0x0600C725 RID: 50981 RVA: 0x002D8B38 File Offset: 0x002D6D38
|
||||
[Token(Token = "0x600C725")]
|
||||
[Address(RVA = "0x2847EB0", Offset = "0x2846CB0", VA = "0x182847EB0")]
|
||||
public Restriction(string restriction)
|
||||
{
|
||||
DirectoryString directoryString = new DirectoryString(restriction);
|
||||
this.restriction = directoryString;
|
||||
}
|
||||
|
||||
// Token: 0x17001F22 RID: 7970
|
||||
// (get) Token: 0x0600C726 RID: 50982 RVA: 0x002D8B5C File Offset: 0x002D6D5C
|
||||
[Token(Token = "0x17001F22")]
|
||||
public virtual DirectoryString RestrictionString
|
||||
{
|
||||
[Token(Token = "0x600C726")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.restriction;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C727 RID: 50983 RVA: 0x002D8B70 File Offset: 0x002D6D70
|
||||
[Token(Token = "0x600C727")]
|
||||
[Address(RVA = "0x53BA50", Offset = "0x53A850", VA = "0x18053BA50", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
return this.restriction.ToAsn1Object();
|
||||
}
|
||||
|
||||
// Token: 0x04007EDA RID: 32474
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007EDA")]
|
||||
private readonly DirectoryString restriction;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user