scripts
This commit is contained in:
@@ -0,0 +1,174 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Esf
|
||||
{
|
||||
// Token: 0x0200190A RID: 6410
|
||||
[Token(Token = "0x200190A")]
|
||||
[StructLayout(3)]
|
||||
public class CrlOcspRef : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600ABFB RID: 44027 RVA: 0x00283574 File Offset: 0x00281774
|
||||
[Token(Token = "0x600ABFB")]
|
||||
[Address(RVA = "0x1DE7B30", Offset = "0x1DE6530", VA = "0x181DE7B30")]
|
||||
public static CrlOcspRef GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600ABFB)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Esf.CrlOcspRef BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Esf.CrlOcspRef::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 'CrlOcspRef' factory: "), ldloc:string(var_6_2C)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600ABFC RID: 44028 RVA: 0x002835C8 File Offset: 0x002817C8
|
||||
[Token(Token = "0x600ABFC")]
|
||||
[Address(RVA = "0x1DE8050", Offset = "0x1DE6A50", VA = "0x181DE8050")]
|
||||
private CrlOcspRef(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600ABFC)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Esf.CrlOcspRef::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_8C:
|
||||
stloc:ArgumentNullException(var_9_96, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x0600ABFD RID: 44029 RVA: 0x0028366C File Offset: 0x0028186C
|
||||
[Token(Token = "0x600ABFD")]
|
||||
[Address(RVA = "0xC54A80", Offset = "0xC53480", VA = "0x180C54A80")]
|
||||
public CrlOcspRef(CrlListID crlids, OcspListID ocspids, OtherRevRefs otherRev)
|
||||
{
|
||||
this.crlids = crlids;
|
||||
this.ocspids = ocspids;
|
||||
this.otherRev = otherRev;
|
||||
}
|
||||
|
||||
// Token: 0x17001B3B RID: 6971
|
||||
// (get) Token: 0x0600ABFE RID: 44030 RVA: 0x00283694 File Offset: 0x00281894
|
||||
[Token(Token = "0x17001B3B")]
|
||||
public CrlListID CrlIDs
|
||||
{
|
||||
[Token(Token = "0x600ABFE")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.crlids;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B3C RID: 6972
|
||||
// (get) Token: 0x0600ABFF RID: 44031 RVA: 0x002836A8 File Offset: 0x002818A8
|
||||
[Token(Token = "0x17001B3C")]
|
||||
public OcspListID OcspIDs
|
||||
{
|
||||
[Token(Token = "0x600ABFF")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.ocspids;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B3D RID: 6973
|
||||
// (get) Token: 0x0600AC00 RID: 44032 RVA: 0x002836BC File Offset: 0x002818BC
|
||||
[Token(Token = "0x17001B3D")]
|
||||
public OtherRevRefs OtherRev
|
||||
{
|
||||
[Token(Token = "0x600AC00")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.otherRev;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AC01 RID: 44033 RVA: 0x002836D0 File Offset: 0x002818D0
|
||||
[Token(Token = "0x600AC01")]
|
||||
[Address(RVA = "0x1DE7D30", Offset = "0x1DE6730", VA = "0x181DE7D30", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.crlids != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
Asn1Object asn1Object = this.crlids.ToAsn1Object();
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(true, num, asn1Object);
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
if (this.ocspids != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Object asn1Object2 = this.ocspids.ToAsn1Object();
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(16777216 != 0, 16777216, asn1Object2);
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
if (this.otherRev != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
Asn1Object asn1Object3 = this.otherRev.ToAsn1Object();
|
||||
DerTaggedObject derTaggedObject3 = new DerTaggedObject(true, 2, asn1Object3);
|
||||
if (derTaggedObject3 != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = derTaggedObject3;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0400713C RID: 28988
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400713C")]
|
||||
private readonly CrlListID crlids;
|
||||
|
||||
// Token: 0x0400713D RID: 28989
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400713D")]
|
||||
private readonly OcspListID ocspids;
|
||||
|
||||
// Token: 0x0400713E RID: 28990
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400713E")]
|
||||
private readonly OtherRevRefs otherRev;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user