a
This commit is contained in:
+483
@@ -0,0 +1,483 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers
|
||||
{
|
||||
// Token: 0x02001BB5 RID: 7093
|
||||
[Token(Token = "0x2001BB5")]
|
||||
public class Iso9796d2Signer : ISignerWithRecovery, ISigner
|
||||
{
|
||||
// Token: 0x0600B14F RID: 45391 RVA: 0x00269240 File Offset: 0x00267440
|
||||
[Token(Token = "0x600B14F")]
|
||||
[Address(RVA = "0x408890", Offset = "0x407690", VA = "0x180408890", Slot = "5")]
|
||||
public byte[] GetRecoveredMessage()
|
||||
{
|
||||
return this.recoveredMessage;
|
||||
}
|
||||
|
||||
// Token: 0x0600B150 RID: 45392 RVA: 0x00269254 File Offset: 0x00267454
|
||||
[Token(Token = "0x600B150")]
|
||||
[Address(RVA = "0x189E420", Offset = "0x189D220", VA = "0x18189E420")]
|
||||
public Iso9796d2Signer(IAsymmetricBlockCipher cipher, IDigest digest, bool isImplicit)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600B150)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest,System.Boolean)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_3D:
|
||||
stloc:ArgumentException(var_1_4C, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("no valid trailer"), ldstr:string("digest")))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600B151 RID: 45393 RVA: 0x002692B0 File Offset: 0x002674B0
|
||||
[Token(Token = "0x600B151")]
|
||||
[Address(RVA = "0x189E520", Offset = "0x189D320", VA = "0x18189E520")]
|
||||
public Iso9796d2Signer(IAsymmetricBlockCipher cipher, IDigest digest)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600B151)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_2C:
|
||||
stloc:ArgumentException(var_1_3B, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("no valid trailer"), ldstr:string("digest")))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001BEA RID: 7146
|
||||
// (get) Token: 0x0600B152 RID: 45394 RVA: 0x002692F8 File Offset: 0x002674F8
|
||||
[Token(Token = "0x17001BEA")]
|
||||
public virtual string AlgorithmName
|
||||
{
|
||||
[Token(Token = "0x600B152")]
|
||||
[Address(RVA = "0x189E610", Offset = "0x189D410", VA = "0x18189E610", Slot = "14")]
|
||||
get
|
||||
{
|
||||
IDigest digest = this.digest;
|
||||
return 0 + "withISO9796-2S1";
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600B153 RID: 45395 RVA: 0x00269320 File Offset: 0x00267520
|
||||
[Token(Token = "0x600B153")]
|
||||
[Address(RVA = "0x189D490", Offset = "0x189C290", VA = "0x18189D490", Slot = "15")]
|
||||
public virtual void Init(bool forSigning, ICipherParameters parameters)
|
||||
{
|
||||
do
|
||||
{
|
||||
if (parameters == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (parameters == 0);
|
||||
IAsymmetricBlockCipher asymmetricBlockCipher = this.cipher;
|
||||
int num = 0;
|
||||
int num2;
|
||||
this.keyBits = num2;
|
||||
num2 += 7;
|
||||
num += num2;
|
||||
byte[] array = new byte[num];
|
||||
this.block = array;
|
||||
if (this.trailer != 188)
|
||||
{
|
||||
IDigest digest = this.digest;
|
||||
int num3 = array.Length;
|
||||
num3 -= array;
|
||||
num3 += -3;
|
||||
}
|
||||
IDigest digest2 = this.digest;
|
||||
int num4 = array.Length;
|
||||
num4 -= array;
|
||||
num4 += -2;
|
||||
byte[] array2 = new byte[num4];
|
||||
this.mBuf = array2;
|
||||
string algorithmName = ((ISigner)this).AlgorithmName;
|
||||
}
|
||||
|
||||
// Token: 0x0600B154 RID: 45396 RVA: 0x002693C8 File Offset: 0x002675C8
|
||||
[Token(Token = "0x600B154")]
|
||||
[Address(RVA = "0x189D620", Offset = "0x189C420", VA = "0x18189D620")]
|
||||
private bool IsSameAs(byte[] a, byte[] b)
|
||||
{
|
||||
byte[] array = this.mBuf;
|
||||
int num = this.messageLength;
|
||||
int num2 = array.Length;
|
||||
int length = b.Length;
|
||||
if (num == length)
|
||||
{
|
||||
num2 = length;
|
||||
int length2 = b.Length;
|
||||
int num3 = 0;
|
||||
if (num2 != 0)
|
||||
{
|
||||
num3++;
|
||||
while (num3 != num2)
|
||||
{
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600B155 RID: 45397 RVA: 0x0026941C File Offset: 0x0026761C
|
||||
[Token(Token = "0x600B155")]
|
||||
[Address(RVA = "0x189B390", Offset = "0x189A190", VA = "0x18189B390")]
|
||||
private void ClearBlock(byte[] block)
|
||||
{
|
||||
int length = block.Length;
|
||||
int num = 0;
|
||||
Array.Clear(block, num, length);
|
||||
}
|
||||
|
||||
// Token: 0x0600B156 RID: 45398 RVA: 0x00269440 File Offset: 0x00267640
|
||||
[Token(Token = "0x600B156")]
|
||||
[Address(RVA = "0x189D800", Offset = "0x189C600", VA = "0x18189D800", Slot = "16")]
|
||||
public virtual void UpdateWithRecoveredMessage(byte[] signature)
|
||||
{
|
||||
int length;
|
||||
for (;;)
|
||||
{
|
||||
IAsymmetricBlockCipher asymmetricBlockCipher = this.cipher;
|
||||
length = signature.Length;
|
||||
uint num;
|
||||
if (length == 192 && num == (uint)15)
|
||||
{
|
||||
if (num != (uint)0)
|
||||
{
|
||||
if (IsoTrailers.NoTrailerAvailable(this.digest))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
int num2 = IsoTrailers.GetTrailer(this.digest);
|
||||
}
|
||||
int num3 = 0;
|
||||
int num4 = 0;
|
||||
if (num4 != asymmetricBlockCipher && num != (uint)15)
|
||||
{
|
||||
num3++;
|
||||
}
|
||||
IDigest digest = this.digest;
|
||||
uint num5;
|
||||
num5 -= (uint)num3;
|
||||
uint num6;
|
||||
num5 -= num6;
|
||||
num5 -= 1U;
|
||||
if (num5 > (uint)0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
this.fullMessage = false;
|
||||
this.fullMessage = true;
|
||||
byte[] array = new byte[1];
|
||||
this.recoveredMessage = array;
|
||||
int length2 = array.Length;
|
||||
byte[] array2 = this.recoveredMessage;
|
||||
this.preSig = signature;
|
||||
this.preBlock = length;
|
||||
IDigest digest2 = this.digest;
|
||||
int length3 = array2.Length;
|
||||
int length4 = this.recoveredMessage.Length;
|
||||
byte[] array3 = this.mBuf;
|
||||
this.messageLength = length4;
|
||||
}
|
||||
|
||||
// Token: 0x0600B157 RID: 45399 RVA: 0x00269554 File Offset: 0x00267754
|
||||
[Token(Token = "0x600B157")]
|
||||
[Address(RVA = "0x189DBF0", Offset = "0x189C9F0", VA = "0x18189DBF0", Slot = "17")]
|
||||
public virtual void Update(byte input)
|
||||
{
|
||||
IDigest digest = this.digest;
|
||||
byte[] array = this.mBuf;
|
||||
int num = this.messageLength;
|
||||
int length = array.Length;
|
||||
if (num < length)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
this.messageLength = num;
|
||||
}
|
||||
|
||||
// Token: 0x0600B158 RID: 45400 RVA: 0x00269594 File Offset: 0x00267794
|
||||
[Token(Token = "0x600B158")]
|
||||
[Address(RVA = "0x189D050", Offset = "0x189BE50", VA = "0x18189D050", Slot = "18")]
|
||||
public virtual void BlockUpdate(byte[] input, int inOff, int length)
|
||||
{
|
||||
if (length > 0)
|
||||
{
|
||||
int length2 = this.mBuf.Length;
|
||||
if (this.messageLength < length2)
|
||||
{
|
||||
}
|
||||
}
|
||||
IDigest digest = this.digest;
|
||||
}
|
||||
|
||||
// Token: 0x0600B159 RID: 45401 RVA: 0x002695CC File Offset: 0x002677CC
|
||||
[Token(Token = "0x600B159")]
|
||||
[Address(RVA = "0x189D6F0", Offset = "0x189C4F0", VA = "0x18189D6F0", Slot = "19")]
|
||||
public virtual void Reset()
|
||||
{
|
||||
IDigest digest = this.digest;
|
||||
byte[] array = this.mBuf;
|
||||
int num = 0;
|
||||
this.messageLength = num;
|
||||
int length = array.Length;
|
||||
int num2 = 0;
|
||||
Array.Clear(array, num2, length);
|
||||
byte[] array2 = this.recoveredMessage;
|
||||
if (array2 != 0)
|
||||
{
|
||||
int length2 = array2.Length;
|
||||
int num3 = 0;
|
||||
Array.Clear(array2, num3, length2);
|
||||
}
|
||||
this.recoveredMessage = num;
|
||||
this.fullMessage = num != 0;
|
||||
if (this.preSig != num)
|
||||
{
|
||||
byte[] array3 = this.preBlock;
|
||||
this.preSig = num;
|
||||
int length3 = array3.Length;
|
||||
int num4 = 0;
|
||||
Array.Clear(array3, num4, length3);
|
||||
this.preBlock = num;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600B15A RID: 45402 RVA: 0x00269674 File Offset: 0x00267874
|
||||
[Token(Token = "0x600B15A")]
|
||||
[Address(RVA = "0x189D130", Offset = "0x189BF30", VA = "0x18189D130", Slot = "20")]
|
||||
public virtual byte[] GenerateSignature()
|
||||
{
|
||||
IDigest digest = this.digest;
|
||||
byte[] array = this.block;
|
||||
if (this.trailer != 188)
|
||||
{
|
||||
int length = array.Length;
|
||||
IDigest digest2 = this.digest;
|
||||
int length2 = this.block.Length;
|
||||
int num = this.trailer;
|
||||
int length3 = this.block.Length;
|
||||
int num2 = this.trailer;
|
||||
int num3 = length3 - 1;
|
||||
}
|
||||
int num4 = array.Length;
|
||||
IDigest digest3 = this.digest;
|
||||
int num5 = this.block.Length;
|
||||
int num6 = num5 - 1;
|
||||
int num7 = this.messageLength;
|
||||
uint num8;
|
||||
num5 += (int)num8;
|
||||
num5 += 7;
|
||||
num5 += (int)num8;
|
||||
num7 -= num5;
|
||||
num4 -= num7;
|
||||
byte[] array2 = this.block;
|
||||
int num9 = 0;
|
||||
Array.Copy(this.mBuf, num9, array2, num4, num7);
|
||||
int num10 = num4 - 1;
|
||||
byte[] array3 = this.block;
|
||||
byte[] array4 = this.block;
|
||||
byte[] array5 = this.block;
|
||||
while (num10 != array5.Length)
|
||||
{
|
||||
}
|
||||
byte[] array6 = this.block;
|
||||
byte[] array7 = this.block;
|
||||
byte[] array8 = this.block;
|
||||
byte[] array9 = this.block;
|
||||
IAsymmetricBlockCipher asymmetricBlockCipher = this.cipher;
|
||||
int length4 = array9.Length;
|
||||
byte[] array10 = this.mBuf;
|
||||
this.messageLength = (int)((ulong)0L);
|
||||
int length5 = array10.Length;
|
||||
int num11 = 0;
|
||||
Array.Clear(array10, num11, length5);
|
||||
byte[] array11 = this.block;
|
||||
int length6 = array11.Length;
|
||||
int num12 = 0;
|
||||
Array.Clear(array11, num12, length6);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600B15B RID: 45403 RVA: 0x002697F8 File Offset: 0x002679F8
|
||||
[Token(Token = "0x600B15B")]
|
||||
[Address(RVA = "0x189DC90", Offset = "0x189CA90", VA = "0x18189DC90", Slot = "21")]
|
||||
public virtual bool VerifySignature(byte[] signature)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600B15B)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer::VerifySignature(System.Byte[])
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_21E:
|
||||
stloc:InvalidOperationException(var_42_22F, newobj:InvalidOperationException(InvalidOperationException::.ctor, call:string(string::Concat, ldstr:string[exp:object]("signer initialised with wrong digest for trailer "), ldloc:InvalidOperationException[exp:object](var_41))))
|
||||
}
|
||||
|
||||
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: 0x0600B15C RID: 45404 RVA: 0x00269A38 File Offset: 0x00267C38
|
||||
[Token(Token = "0x600B15C")]
|
||||
[Address(RVA = "0x189D7B0", Offset = "0x189C5B0", VA = "0x18189D7B0")]
|
||||
private bool ReturnFalse(byte[] block)
|
||||
{
|
||||
this.messageLength = (int)((ulong)0L);
|
||||
byte[] array = this.mBuf;
|
||||
int length = array.Length;
|
||||
int num = 0;
|
||||
Array.Clear(array, num, length);
|
||||
int length2 = block.Length;
|
||||
int num2 = 0;
|
||||
Array.Clear(block, num2, length2);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600B15D RID: 45405 RVA: 0x00269A84 File Offset: 0x00267C84
|
||||
[Token(Token = "0x600B15D")]
|
||||
[Address(RVA = "0x4508A0", Offset = "0x44F6A0", VA = "0x1804508A0", Slot = "22")]
|
||||
public virtual bool HasFullMessage()
|
||||
{
|
||||
return this.fullMessage;
|
||||
}
|
||||
|
||||
// Token: 0x040070E5 RID: 28901
|
||||
[Token(Token = "0x40070E5")]
|
||||
[Obsolete]
|
||||
public const int TrailerImplicit = 188;
|
||||
|
||||
// Token: 0x040070E6 RID: 28902
|
||||
[Token(Token = "0x40070E6")]
|
||||
[Obsolete]
|
||||
public const int TrailerRipeMD160 = 12748;
|
||||
|
||||
// Token: 0x040070E7 RID: 28903
|
||||
[Token(Token = "0x40070E7")]
|
||||
[Obsolete]
|
||||
public const int TrailerRipeMD128 = 13004;
|
||||
|
||||
// Token: 0x040070E8 RID: 28904
|
||||
[Token(Token = "0x40070E8")]
|
||||
[Obsolete]
|
||||
public const int TrailerSha1 = 13260;
|
||||
|
||||
// Token: 0x040070E9 RID: 28905
|
||||
[Token(Token = "0x40070E9")]
|
||||
[Obsolete]
|
||||
public const int TrailerSha256 = 13516;
|
||||
|
||||
// Token: 0x040070EA RID: 28906
|
||||
[Token(Token = "0x40070EA")]
|
||||
[Obsolete]
|
||||
public const int TrailerSha512 = 13772;
|
||||
|
||||
// Token: 0x040070EB RID: 28907
|
||||
[Token(Token = "0x40070EB")]
|
||||
[Obsolete]
|
||||
public const int TrailerSha384 = 14028;
|
||||
|
||||
// Token: 0x040070EC RID: 28908
|
||||
[Token(Token = "0x40070EC")]
|
||||
[Obsolete]
|
||||
public const int TrailerWhirlpool = 14284;
|
||||
|
||||
// Token: 0x040070ED RID: 28909
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40070ED")]
|
||||
private IDigest digest;
|
||||
|
||||
// Token: 0x040070EE RID: 28910
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40070EE")]
|
||||
private IAsymmetricBlockCipher cipher;
|
||||
|
||||
// Token: 0x040070EF RID: 28911
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40070EF")]
|
||||
private int trailer;
|
||||
|
||||
// Token: 0x040070F0 RID: 28912
|
||||
[FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x40070F0")]
|
||||
private int keyBits;
|
||||
|
||||
// Token: 0x040070F1 RID: 28913
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40070F1")]
|
||||
private byte[] block;
|
||||
|
||||
// Token: 0x040070F2 RID: 28914
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40070F2")]
|
||||
private byte[] mBuf;
|
||||
|
||||
// Token: 0x040070F3 RID: 28915
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40070F3")]
|
||||
private int messageLength;
|
||||
|
||||
// Token: 0x040070F4 RID: 28916
|
||||
[FieldOffset(Offset = "0x3C")]
|
||||
[Token(Token = "0x40070F4")]
|
||||
private bool fullMessage;
|
||||
|
||||
// Token: 0x040070F5 RID: 28917
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40070F5")]
|
||||
private byte[] recoveredMessage;
|
||||
|
||||
// Token: 0x040070F6 RID: 28918
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40070F6")]
|
||||
private byte[] preSig;
|
||||
|
||||
// Token: 0x040070F7 RID: 28919
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x40070F7")]
|
||||
private byte[] preBlock;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user