m
This commit is contained in:
+174
@@ -0,0 +1,174 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
|
||||
{
|
||||
// Token: 0x02001CC5 RID: 7365
|
||||
[Token(Token = "0x2001CC5")]
|
||||
public class DsaParameters : ICipherParameters
|
||||
{
|
||||
// Token: 0x0600B65F RID: 46687 RVA: 0x002779B0 File Offset: 0x00275BB0
|
||||
[Token(Token = "0x600B65F")]
|
||||
[Address(RVA = "0x22D34A0", Offset = "0x22D24A0", VA = "0x1822D34A0")]
|
||||
public DsaParameters(BigInteger p, BigInteger q, BigInteger g)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600B65F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_3C:
|
||||
stloc:ArgumentNullException(var_1_46, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("q")))
|
||||
}
|
||||
|
||||
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: 0x0600B660 RID: 46688 RVA: 0x00277A04 File Offset: 0x00275C04
|
||||
[Token(Token = "0x600B660")]
|
||||
[Address(RVA = "0x22D35C0", Offset = "0x22D25C0", VA = "0x1822D35C0")]
|
||||
public DsaParameters(BigInteger p, BigInteger q, BigInteger g, DsaValidationParameters parameters)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600B660)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.DsaValidationParameters)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_3A:
|
||||
stloc:ArgumentNullException(var_1_44, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("q")))
|
||||
}
|
||||
|
||||
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: 0x17001CAC RID: 7340
|
||||
// (get) Token: 0x0600B661 RID: 46689 RVA: 0x00277A58 File Offset: 0x00275C58
|
||||
[Token(Token = "0x17001CAC")]
|
||||
public BigInteger P
|
||||
{
|
||||
[Token(Token = "0x600B661")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.p;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001CAD RID: 7341
|
||||
// (get) Token: 0x0600B662 RID: 46690 RVA: 0x00277A6C File Offset: 0x00275C6C
|
||||
[Token(Token = "0x17001CAD")]
|
||||
public BigInteger Q
|
||||
{
|
||||
[Token(Token = "0x600B662")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.q;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001CAE RID: 7342
|
||||
// (get) Token: 0x0600B663 RID: 46691 RVA: 0x00277A80 File Offset: 0x00275C80
|
||||
[Token(Token = "0x17001CAE")]
|
||||
public BigInteger G
|
||||
{
|
||||
[Token(Token = "0x600B663")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return this.g;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001CAF RID: 7343
|
||||
// (get) Token: 0x0600B664 RID: 46692 RVA: 0x00277A94 File Offset: 0x00275C94
|
||||
[Token(Token = "0x17001CAF")]
|
||||
public DsaValidationParameters ValidationParameters
|
||||
{
|
||||
[Token(Token = "0x600B664")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
|
||||
get
|
||||
{
|
||||
return this.validation;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600B665 RID: 46693 RVA: 0x00277AA8 File Offset: 0x00275CA8
|
||||
[Token(Token = "0x600B665")]
|
||||
[Address(RVA = "0x22D3260", Offset = "0x22D2260", VA = "0x1822D3260", Slot = "0")]
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if (obj != this)
|
||||
{
|
||||
if (obj != 0 && obj != 0)
|
||||
{
|
||||
BigInteger bigInteger = this.p;
|
||||
BigInteger bigInteger2 = this.q;
|
||||
BigInteger bigInteger3 = this.g;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x0600B666 RID: 46694 RVA: 0x00277AE4 File Offset: 0x00275CE4
|
||||
[Token(Token = "0x600B666")]
|
||||
[Address(RVA = "0x22D3380", Offset = "0x22D2380", VA = "0x1822D3380")]
|
||||
protected bool Equals(DsaParameters other)
|
||||
{
|
||||
BigInteger bigInteger = this.p;
|
||||
BigInteger bigInteger2 = this.q;
|
||||
BigInteger bigInteger3 = this.g;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600B667 RID: 46695 RVA: 0x00277B10 File Offset: 0x00275D10
|
||||
[Token(Token = "0x600B667")]
|
||||
[Address(RVA = "0x22D3420", Offset = "0x22D2420", VA = "0x1822D3420", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
this.p.Finalize();
|
||||
this.q.Finalize();
|
||||
this.g.Finalize();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0400736E RID: 29550
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400736E")]
|
||||
private readonly BigInteger p;
|
||||
|
||||
// Token: 0x0400736F RID: 29551
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400736F")]
|
||||
private readonly BigInteger q;
|
||||
|
||||
// Token: 0x04007370 RID: 29552
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007370")]
|
||||
private readonly BigInteger g;
|
||||
|
||||
// Token: 0x04007371 RID: 29553
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007371")]
|
||||
private readonly DsaValidationParameters validation;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user