112 lines
6.0 KiB
C#
112 lines
6.0 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests
|
|
{
|
|
// Token: 0x02001CED RID: 7405
|
|
[Token(Token = "0x2001CED")]
|
|
public class NonMemoableDigest : IDigest
|
|
{
|
|
// Token: 0x0600BAE4 RID: 47844 RVA: 0x002A3584 File Offset: 0x002A1784
|
|
[Token(Token = "0x600BAE4")]
|
|
[Address(RVA = "0x1FD3D90", Offset = "0x1FD2B90", VA = "0x181FD3D90")]
|
|
public NonMemoableDigest(IDigest baseDigest)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600BAE4)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.NonMemoableDigest::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_12:
|
|
stloc:ArgumentNullException(var_0_1C, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("baseDigest")))
|
|
}
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x17001D15 RID: 7445
|
|
// (get) Token: 0x0600BAE5 RID: 47845 RVA: 0x002A35B0 File Offset: 0x002A17B0
|
|
[Token(Token = "0x17001D15")]
|
|
public virtual string AlgorithmName
|
|
{
|
|
[Token(Token = "0x600BAE5")]
|
|
[Address(RVA = "0x1FD3E10", Offset = "0x1FD2C10", VA = "0x181FD3E10", Slot = "11")]
|
|
get
|
|
{
|
|
IDigest digest = this.mBaseDigest;
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAE6 RID: 47846 RVA: 0x002A35CC File Offset: 0x002A17CC
|
|
[Token(Token = "0x600BAE6")]
|
|
[Address(RVA = "0x1FD3C90", Offset = "0x1FD2A90", VA = "0x181FD3C90", Slot = "12")]
|
|
public virtual int GetDigestSize()
|
|
{
|
|
IDigest digest = this.mBaseDigest;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600BAE7 RID: 47847 RVA: 0x002A35E8 File Offset: 0x002A17E8
|
|
[Token(Token = "0x600BAE7")]
|
|
[Address(RVA = "0x1FD3D30", Offset = "0x1FD2B30", VA = "0x181FD3D30", Slot = "13")]
|
|
public virtual void Update(byte input)
|
|
{
|
|
IDigest digest = this.mBaseDigest;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600BAE8 RID: 47848 RVA: 0x002A3604 File Offset: 0x002A1804
|
|
[Token(Token = "0x600BAE8")]
|
|
[Address(RVA = "0x1FD3B50", Offset = "0x1FD2950", VA = "0x181FD3B50", Slot = "14")]
|
|
public virtual void BlockUpdate(byte[] input, int inOff, int len)
|
|
{
|
|
IDigest digest = this.mBaseDigest;
|
|
}
|
|
|
|
// Token: 0x0600BAE9 RID: 47849 RVA: 0x002A3620 File Offset: 0x002A1820
|
|
[Token(Token = "0x600BAE9")]
|
|
[Address(RVA = "0x1FD3BD0", Offset = "0x1FD29D0", VA = "0x181FD3BD0", Slot = "15")]
|
|
public virtual int DoFinal(byte[] output, int outOff)
|
|
{
|
|
IDigest digest = this.mBaseDigest;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600BAEA RID: 47850 RVA: 0x002A363C File Offset: 0x002A183C
|
|
[Token(Token = "0x600BAEA")]
|
|
[Address(RVA = "0x1FD3CE0", Offset = "0x1FD2AE0", VA = "0x181FD3CE0", Slot = "16")]
|
|
public virtual void Reset()
|
|
{
|
|
IDigest digest = this.mBaseDigest;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600BAEB RID: 47851 RVA: 0x002A3658 File Offset: 0x002A1858
|
|
[Token(Token = "0x600BAEB")]
|
|
[Address(RVA = "0x1FD3C40", Offset = "0x1FD2A40", VA = "0x181FD3C40", Slot = "17")]
|
|
public virtual int GetByteLength()
|
|
{
|
|
IDigest digest = this.mBaseDigest;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x040076E2 RID: 30434
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40076E2")]
|
|
protected readonly IDigest mBaseDigest;
|
|
}
|
|
}
|