scripts
This commit is contained in:
@@ -0,0 +1,125 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
|
||||
{
|
||||
// Token: 0x02001834 RID: 6196
|
||||
[Token(Token = "0x2001834")]
|
||||
[StructLayout(3)]
|
||||
public class PolicyMappings : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A709 RID: 42761 RVA: 0x0026DEAC File Offset: 0x0026C0AC
|
||||
[Token(Token = "0x600A709")]
|
||||
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
||||
public PolicyMappings(Asn1Sequence seq)
|
||||
{
|
||||
this.seq = seq;
|
||||
}
|
||||
|
||||
// Token: 0x0600A70A RID: 42762 RVA: 0x0026DEC8 File Offset: 0x0026C0C8
|
||||
[Token(Token = "0x600A70A")]
|
||||
[Address(RVA = "0x2B0EB00", Offset = "0x2B0D500", VA = "0x182B0EB00")]
|
||||
public PolicyMappings(Hashtable mappings)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A70B RID: 42763 RVA: 0x0026DED8 File Offset: 0x0026C0D8
|
||||
[Token(Token = "0x600A70B")]
|
||||
[Address(RVA = "0x2B0EB10", Offset = "0x2B0D510", VA = "0x182B0EB10")]
|
||||
public PolicyMappings(IDictionary mappings)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
base..ctor();
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
DerSequence derSequence;
|
||||
if (asn1EncodableVector != 0)
|
||||
{
|
||||
if (num < asn1EncodableVector)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (asn1EncodableVector != 0 && asn1EncodableVector == 0)
|
||||
{
|
||||
goto IL_E9;
|
||||
}
|
||||
uint num2;
|
||||
if (num < (int)num2)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (num != 0 && num == 0)
|
||||
{
|
||||
goto IL_E9;
|
||||
}
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[2];
|
||||
DerObjectIdentifier derObjectIdentifier;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derObjectIdentifier;
|
||||
DerObjectIdentifier derObjectIdentifier2 = new DerObjectIdentifier(num);
|
||||
if (derObjectIdentifier2 != 0)
|
||||
{
|
||||
}
|
||||
array2[1] = derObjectIdentifier2;
|
||||
derSequence = new DerSequence(array2);
|
||||
if (derSequence != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derSequence;
|
||||
}
|
||||
if (derSequence != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
DerSequence derSequence2 = new DerSequence(num);
|
||||
derSequence2.seq = derSequence2;
|
||||
return;
|
||||
IL_E9:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600A70C RID: 42764 RVA: 0x0026DFD4 File Offset: 0x0026C1D4
|
||||
[Token(Token = "0x600A70C")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A70C)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.PolicyMappings::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Asn1Sequence(var_0_06, ldfld:Asn1Sequence(PolicyMappings::seq, ldloc:PolicyMappings(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: 0x04006C9A RID: 27802
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006C9A")]
|
||||
private readonly Asn1Sequence seq;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user