a
This commit is contained in:
@@ -0,0 +1,172 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Esf
|
||||
{
|
||||
// Token: 0x02001EE7 RID: 7911
|
||||
[Token(Token = "0x2001EE7")]
|
||||
public class CrlOcspRef : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C7D5 RID: 51157 RVA: 0x002DBA5C File Offset: 0x002D9C5C
|
||||
[Token(Token = "0x600C7D5")]
|
||||
[Address(RVA = "0x2835620", Offset = "0x2834420", VA = "0x182835620")]
|
||||
public static CrlOcspRef GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C7D5)
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C7D6 RID: 51158 RVA: 0x002DBAB0 File Offset: 0x002D9CB0
|
||||
[Token(Token = "0x600C7D6")]
|
||||
[Address(RVA = "0x2835B40", Offset = "0x2834940", VA = "0x182835B40")]
|
||||
private CrlOcspRef(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C7D6)
|
||||
|
||||
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_88:
|
||||
stloc:ArgumentNullException(var_9_92, 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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C7D7 RID: 51159 RVA: 0x002DBB50 File Offset: 0x002D9D50
|
||||
[Token(Token = "0x600C7D7")]
|
||||
[Address(RVA = "0xECF220", Offset = "0xECE020", VA = "0x180ECF220")]
|
||||
public CrlOcspRef(CrlListID crlids, OcspListID ocspids, OtherRevRefs otherRev)
|
||||
{
|
||||
this.crlids = crlids;
|
||||
this.ocspids = ocspids;
|
||||
this.otherRev = otherRev;
|
||||
}
|
||||
|
||||
// Token: 0x17001F3C RID: 7996
|
||||
// (get) Token: 0x0600C7D8 RID: 51160 RVA: 0x002DBB78 File Offset: 0x002D9D78
|
||||
[Token(Token = "0x17001F3C")]
|
||||
public CrlListID CrlIDs
|
||||
{
|
||||
[Token(Token = "0x600C7D8")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.crlids;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F3D RID: 7997
|
||||
// (get) Token: 0x0600C7D9 RID: 51161 RVA: 0x002DBB8C File Offset: 0x002D9D8C
|
||||
[Token(Token = "0x17001F3D")]
|
||||
public OcspListID OcspIDs
|
||||
{
|
||||
[Token(Token = "0x600C7D9")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.ocspids;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F3E RID: 7998
|
||||
// (get) Token: 0x0600C7DA RID: 51162 RVA: 0x002DBBA0 File Offset: 0x002D9DA0
|
||||
[Token(Token = "0x17001F3E")]
|
||||
public OtherRevRefs OtherRev
|
||||
{
|
||||
[Token(Token = "0x600C7DA")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
get
|
||||
{
|
||||
return this.otherRev;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C7DB RID: 51163 RVA: 0x002DBBB4 File Offset: 0x002D9DB4
|
||||
[Token(Token = "0x600C7DB")]
|
||||
[Address(RVA = "0x2835820", Offset = "0x2834620", VA = "0x182835820", 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: 0x04007F7F RID: 32639
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007F7F")]
|
||||
private readonly CrlListID crlids;
|
||||
|
||||
// Token: 0x04007F80 RID: 32640
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007F80")]
|
||||
private readonly OcspListID ocspids;
|
||||
|
||||
// Token: 0x04007F81 RID: 32641
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007F81")]
|
||||
private readonly OtherRevRefs otherRev;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user