124 lines
7.7 KiB
C#
124 lines
7.7 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
|
|
{
|
|
// Token: 0x02001F02 RID: 7938
|
|
[Token(Token = "0x2001F02")]
|
|
public class TargetInformation : Asn1Encodable
|
|
{
|
|
// Token: 0x0600C71E RID: 50974 RVA: 0x002D036C File Offset: 0x002CE56C
|
|
[Token(Token = "0x600C71E")]
|
|
[Address(RVA = "0x2E883D0", Offset = "0x2E873D0", VA = "0x182E883D0")]
|
|
public static TargetInformation GetInstance(object obj)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C71E)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.TargetInformation BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.TargetInformation::GetInstance(System.Object)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_29:
|
|
stloc:string(var_6_2F, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
|
stloc:ArgumentException(var_7_47, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_6_2F)), ldstr:string("obj")))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600C71F RID: 50975 RVA: 0x002D03C4 File Offset: 0x002CE5C4
|
|
[Token(Token = "0x600C71F")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
private TargetInformation(Asn1Sequence targets)
|
|
{
|
|
this.targets = targets;
|
|
}
|
|
|
|
// Token: 0x0600C720 RID: 50976 RVA: 0x002D03E0 File Offset: 0x002CE5E0
|
|
[Token(Token = "0x600C720")]
|
|
[Address(RVA = "0x2E885C0", Offset = "0x2E875C0", VA = "0x182E885C0", Slot = "6")]
|
|
public virtual Targets[] GetTargetsObjects()
|
|
{
|
|
Asn1Sequence asn1Sequence = this.targets;
|
|
Asn1Encodable asn1Encodable;
|
|
Targets[] array = new Targets[asn1Encodable];
|
|
int num = 0;
|
|
Asn1Sequence asn1Sequence2 = this.targets;
|
|
Asn1Encodable asn1Encodable2;
|
|
if (num < asn1Encodable2)
|
|
{
|
|
Asn1SequenceParser parser = this.targets.Parser;
|
|
Targets targets;
|
|
if (targets != 0)
|
|
{
|
|
}
|
|
num++;
|
|
array[0] = targets;
|
|
Asn1Sequence asn1Sequence3 = this.targets;
|
|
}
|
|
return array;
|
|
}
|
|
|
|
// Token: 0x0600C721 RID: 50977 RVA: 0x002D0438 File Offset: 0x002CE638
|
|
[Token(Token = "0x600C721")]
|
|
[Address(RVA = "0x2E886F0", Offset = "0x2E876F0", VA = "0x182E886F0")]
|
|
public TargetInformation(Targets targets)
|
|
{
|
|
DerSequence derSequence = new DerSequence(targets);
|
|
this.targets = derSequence;
|
|
}
|
|
|
|
// Token: 0x0600C722 RID: 50978 RVA: 0x002D045C File Offset: 0x002CE65C
|
|
[Token(Token = "0x600C722")]
|
|
[Address(RVA = "0x2E88760", Offset = "0x2E87760", VA = "0x182E88760")]
|
|
public TargetInformation(Target[] targets)
|
|
{
|
|
DerSequence derSequence = new DerSequence(targets);
|
|
Targets targets2;
|
|
targets2.targets = derSequence;
|
|
base..ctor();
|
|
DerSequence derSequence2 = new DerSequence(targets2);
|
|
this.targets = derSequence2;
|
|
}
|
|
|
|
// Token: 0x0600C723 RID: 50979 RVA: 0x002D048C File Offset: 0x002CE68C
|
|
[Token(Token = "0x600C723")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")]
|
|
public override Asn1Object ToAsn1Object()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C723)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.TargetInformation::ToAsn1Object()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:Asn1Sequence(var_0_06, ldfld:Asn1Sequence(TargetInformation::targets, ldloc:TargetInformation(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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x04007CCE RID: 31950
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4007CCE")]
|
|
private readonly Asn1Sequence targets;
|
|
}
|
|
}
|