scripts
This commit is contained in:
+209
@@ -0,0 +1,209 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
|
||||
{
|
||||
// Token: 0x0200193F RID: 6463
|
||||
[Token(Token = "0x200193F")]
|
||||
[StructLayout(3)]
|
||||
public class AuthEnvelopedDataParser
|
||||
{
|
||||
// Token: 0x0600AD6C RID: 44396 RVA: 0x00289520 File Offset: 0x00287720
|
||||
[Token(Token = "0x600AD6C")]
|
||||
[Address(RVA = "0x28EA0D0", Offset = "0x28E8AD0", VA = "0x1828EA0D0")]
|
||||
public AuthEnvelopedDataParser(Asn1SequenceParser seq)
|
||||
{
|
||||
this.seq = seq;
|
||||
}
|
||||
|
||||
// Token: 0x17001BA1 RID: 7073
|
||||
// (get) Token: 0x0600AD6D RID: 44397 RVA: 0x00289550 File Offset: 0x00287750
|
||||
[Token(Token = "0x17001BA1")]
|
||||
public DerInteger Version
|
||||
{
|
||||
[Token(Token = "0x600AD6D")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.version;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AD6E RID: 44398 RVA: 0x00289564 File Offset: 0x00287764
|
||||
[Token(Token = "0x600AD6E")]
|
||||
[Address(RVA = "0x28E9D10", Offset = "0x28E8710", VA = "0x1828E9D10")]
|
||||
public OriginatorInfo GetOriginatorInfo()
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
IAsn1Convertible asn1Convertible = this.nextObject;
|
||||
this.originatorInfoCalled = true;
|
||||
if (asn1Convertible == 0)
|
||||
{
|
||||
Asn1SequenceParser asn1SequenceParser = this.seq;
|
||||
this.nextObject = asn1Convertible;
|
||||
}
|
||||
if (asn1Convertible == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
IAsn1Convertible asn1Convertible2 = this.nextObject;
|
||||
if (asn1Convertible != 0 && asn1Convertible != 0)
|
||||
{
|
||||
if (asn1Convertible != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
IAsn1Convertible asn1Convertible3 = this.nextObject;
|
||||
if (asn1Convertible != 0 && asn1Convertible != 0)
|
||||
{
|
||||
this.nextObject = (ulong)0L;
|
||||
if (asn1Convertible != 0 && asn1Convertible != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
OriginatorInfo originatorInfo;
|
||||
return originatorInfo;
|
||||
}
|
||||
|
||||
// Token: 0x0600AD6F RID: 44399 RVA: 0x002895D0 File Offset: 0x002877D0
|
||||
[Token(Token = "0x600AD6F")]
|
||||
[Address(RVA = "0x28E9F10", Offset = "0x28E8910", VA = "0x1828E9F10")]
|
||||
public Asn1SetParser GetRecipientInfos()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AD6F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1SetParser BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.AuthEnvelopedDataParser::GetRecipientInfos()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_2:
|
||||
brtrue(IL_00, ceq:bool(ldloc:int32(var_3_23), ldc.i4:int32(0)))
|
||||
}
|
||||
|
||||
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.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: 0x0600AD70 RID: 44400 RVA: 0x00289610 File Offset: 0x00287810
|
||||
[Token(Token = "0x600AD70")]
|
||||
[Address(RVA = "0x28E9BC0", Offset = "0x28E85C0", VA = "0x1828E9BC0")]
|
||||
public EncryptedContentInfoParser GetAuthEncryptedContentInfo()
|
||||
{
|
||||
EncryptedContentInfoParser encryptedContentInfoParser;
|
||||
do
|
||||
{
|
||||
if (this.nextObject == 0)
|
||||
{
|
||||
Asn1SequenceParser asn1SequenceParser = this.seq;
|
||||
}
|
||||
this.nextObject = (ulong)0L;
|
||||
}
|
||||
while (encryptedContentInfoParser == 0);
|
||||
return encryptedContentInfoParser;
|
||||
}
|
||||
|
||||
// Token: 0x0600AD71 RID: 44401 RVA: 0x0028963C File Offset: 0x0028783C
|
||||
[Token(Token = "0x600AD71")]
|
||||
[Address(RVA = "0x28E9A80", Offset = "0x28E8480", VA = "0x1828E9A80")]
|
||||
public Asn1SetParser GetAuthAttrs()
|
||||
{
|
||||
IAsn1Convertible asn1Convertible;
|
||||
do
|
||||
{
|
||||
asn1Convertible = this.nextObject;
|
||||
if (asn1Convertible == 0)
|
||||
{
|
||||
Asn1SequenceParser asn1SequenceParser = this.seq;
|
||||
this.nextObject = asn1Convertible;
|
||||
}
|
||||
if (asn1Convertible == 0)
|
||||
{
|
||||
}
|
||||
IAsn1Convertible asn1Convertible2 = this.nextObject;
|
||||
int num = 0;
|
||||
this.nextObject = num;
|
||||
}
|
||||
while (asn1Convertible == 0 || asn1Convertible == 0 || (asn1Convertible != 0 && asn1Convertible == 0));
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600AD72 RID: 44402 RVA: 0x0028968C File Offset: 0x0028788C
|
||||
[Token(Token = "0x600AD72")]
|
||||
[Address(RVA = "0x28E9C90", Offset = "0x28E8690", VA = "0x1828E9C90")]
|
||||
public Asn1OctetString GetMac()
|
||||
{
|
||||
if (this.nextObject == 0)
|
||||
{
|
||||
Asn1SequenceParser asn1SequenceParser = this.seq;
|
||||
}
|
||||
this.nextObject = (ulong)0L;
|
||||
Asn1OctetString asn1OctetString;
|
||||
return asn1OctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600AD73 RID: 44403 RVA: 0x002896BC File Offset: 0x002878BC
|
||||
[Token(Token = "0x600AD73")]
|
||||
[Address(RVA = "0x28E9FB0", Offset = "0x28E89B0", VA = "0x1828E9FB0")]
|
||||
public Asn1SetParser GetUnauthAttrs()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AD73)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1SetParser BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.AuthEnvelopedDataParser::GetUnauthAttrs()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_10:
|
||||
stloc:int32(var_1_11, ldc.i4:int32(0))
|
||||
stfld:IAsn1Convertible(AuthEnvelopedDataParser::nextObject, ldloc:AuthEnvelopedDataParser(this), ldloc:int32[exp:IAsn1Convertible](var_1_11))
|
||||
}
|
||||
|
||||
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: 0x04007216 RID: 29206
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007216")]
|
||||
private Asn1SequenceParser seq;
|
||||
|
||||
// Token: 0x04007217 RID: 29207
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007217")]
|
||||
private DerInteger version;
|
||||
|
||||
// Token: 0x04007218 RID: 29208
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007218")]
|
||||
private IAsn1Convertible nextObject;
|
||||
|
||||
// Token: 0x04007219 RID: 29209
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007219")]
|
||||
private bool originatorInfoCalled;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user