This commit is contained in:
niko
2026-04-08 23:40:05 +02:00
parent d6894bcbc7
commit 18dc73f922
7750 changed files with 1795369 additions and 0 deletions
@@ -0,0 +1,169 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ocsp
{
// Token: 0x020018C9 RID: 6345
[Token(Token = "0x20018C9")]
[StructLayout(3)]
public class OcspRequest : Asn1Encodable
{
// Token: 0x0600AA80 RID: 43648 RVA: 0x0027CB70 File Offset: 0x0027AD70
[Token(Token = "0x600AA80")]
[Address(RVA = "0x27D3E30", Offset = "0x27D2830", VA = "0x1827D3E30")]
public static OcspRequest GetInstance(Asn1TaggedObject obj, bool explicitly)
{
return OcspRequest.GetInstance(Asn1Sequence.GetInstance(obj, explicitly));
}
// Token: 0x0600AA81 RID: 43649 RVA: 0x0027CB8C File Offset: 0x0027AD8C
[Token(Token = "0x600AA81")]
[Address(RVA = "0x27D3E50", Offset = "0x27D2850", VA = "0x1827D3E50")]
public static OcspRequest GetInstance(object obj)
{
/*
An exception occurred when decompiling this method (0600AA81)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ocsp.OcspRequest BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ocsp.OcspRequest::GetInstance(System.Object)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_3D:
stloc:string(var_11_43, call:string(Platform::GetTypeName, ldloc:object(obj)))
stloc:ArgumentException(var_12_5B, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_11_43)), 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: 0x0600AA82 RID: 43650 RVA: 0x0027CBF8 File Offset: 0x0027ADF8
[Token(Token = "0x600AA82")]
[Address(RVA = "0x27D42F0", Offset = "0x27D2CF0", VA = "0x1827D42F0")]
public OcspRequest(TbsRequest tbsRequest, Signature optionalSignature)
{
/*
An exception occurred when decompiling this method (0600AA82)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ocsp.OcspRequest::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ocsp.TbsRequest,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ocsp.Signature)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_19:
stloc:ArgumentNullException(var_0_23, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("tbsRequest")))
}
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 1663
*/;
}
// Token: 0x0600AA83 RID: 43651 RVA: 0x0027CC28 File Offset: 0x0027AE28
[Token(Token = "0x600AA83")]
[Address(RVA = "0x27D4380", Offset = "0x27D2D80", VA = "0x1827D4380")]
private OcspRequest(Asn1Sequence seq)
{
Asn1SequenceParser parser2;
do
{
base..ctor();
Asn1SequenceParser parser = seq.Parser;
TbsRequest tbsRequest;
this.tbsRequest = tbsRequest;
Asn1Encodable asn1Encodable;
if (asn1Encodable != (ulong)2L)
{
return;
}
parser2 = seq.Parser;
if (parser2 == 0)
{
}
}
while (parser2 == 0);
Asn1Sequence asn1Sequence;
Signature instance = Signature.GetInstance(asn1Sequence);
this.optionalSignature = instance;
}
// Token: 0x17001AEA RID: 6890
// (get) Token: 0x0600AA84 RID: 43652 RVA: 0x0027CC78 File Offset: 0x0027AE78
[Token(Token = "0x17001AEA")]
public TbsRequest TbsRequest
{
[Token(Token = "0x600AA84")]
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
get
{
return this.tbsRequest;
}
}
// Token: 0x17001AEB RID: 6891
// (get) Token: 0x0600AA85 RID: 43653 RVA: 0x0027CC8C File Offset: 0x0027AE8C
[Token(Token = "0x17001AEB")]
public Signature OptionalSignature
{
[Token(Token = "0x600AA85")]
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
get
{
return this.optionalSignature;
}
}
// Token: 0x0600AA86 RID: 43654 RVA: 0x0027CCA0 File Offset: 0x0027AEA0
[Token(Token = "0x600AA86")]
[Address(RVA = "0x27D4150", Offset = "0x27D2B50", VA = "0x1827D4150", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
Asn1Encodable[] array = new Asn1Encodable[1];
TbsRequest tbsRequest = this.tbsRequest;
if (tbsRequest != 0)
{
}
array[0] = tbsRequest;
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
if (this.optionalSignature != (ulong)0L)
{
Asn1Encodable[] array2 = new Asn1Encodable[1];
Signature signature = this.optionalSignature;
int num;
DerTaggedObject derTaggedObject = new DerTaggedObject(true, num, signature);
num = 0;
if (derTaggedObject != 0)
{
}
array2[0] = derTaggedObject;
asn1EncodableVector.Add(array2);
}
DerSequence derSequence = new DerSequence(asn1EncodableVector);
throw new NullReferenceException();
}
// Token: 0x04006FBC RID: 28604
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4006FBC")]
private readonly TbsRequest tbsRequest;
// Token: 0x04006FBD RID: 28605
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4006FBD")]
private readonly Signature optionalSignature;
}
}