Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Crypto/Parameters/DsaParameters.cs
T
2026-04-08 23:40:05 +02:00

177 lines
9.2 KiB
C#

using System;
using System.Runtime.InteropServices;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
{
// Token: 0x02001608 RID: 5640
[Token(Token = "0x2001608")]
[StructLayout(3)]
public class DsaParameters : ICipherParameters
{
// Token: 0x060096B7 RID: 38583 RVA: 0x002171D0 File Offset: 0x002153D0
[Token(Token = "0x60096B7")]
[Address(RVA = "0x1DD4820", Offset = "0x1DD3220", VA = "0x181DD4820")]
public DsaParameters(BigInteger p, BigInteger q, BigInteger g)
{
/*
An exception occurred when decompiling this method (060096B7)
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: 0x060096B8 RID: 38584 RVA: 0x00217224 File Offset: 0x00215424
[Token(Token = "0x60096B8")]
[Address(RVA = "0x1DD4940", Offset = "0x1DD3340", VA = "0x181DD4940")]
public DsaParameters(BigInteger p, BigInteger q, BigInteger g, DsaValidationParameters parameters)
{
/*
An exception occurred when decompiling this method (060096B8)
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: 0x1700180E RID: 6158
// (get) Token: 0x060096B9 RID: 38585 RVA: 0x00217278 File Offset: 0x00215478
[Token(Token = "0x1700180E")]
public BigInteger P
{
[Token(Token = "0x60096B9")]
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
get
{
return this.p;
}
}
// Token: 0x1700180F RID: 6159
// (get) Token: 0x060096BA RID: 38586 RVA: 0x0021728C File Offset: 0x0021548C
[Token(Token = "0x1700180F")]
public BigInteger Q
{
[Token(Token = "0x60096BA")]
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
get
{
return this.q;
}
}
// Token: 0x17001810 RID: 6160
// (get) Token: 0x060096BB RID: 38587 RVA: 0x002172A0 File Offset: 0x002154A0
[Token(Token = "0x17001810")]
public BigInteger G
{
[Token(Token = "0x60096BB")]
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
get
{
return this.g;
}
}
// Token: 0x17001811 RID: 6161
// (get) Token: 0x060096BC RID: 38588 RVA: 0x002172B4 File Offset: 0x002154B4
[Token(Token = "0x17001811")]
public DsaValidationParameters ValidationParameters
{
[Token(Token = "0x60096BC")]
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230")]
get
{
return this.validation;
}
}
// Token: 0x060096BD RID: 38589 RVA: 0x002172C8 File Offset: 0x002154C8
[Token(Token = "0x60096BD")]
[Address(RVA = "0x1DD45E0", Offset = "0x1DD2FE0", VA = "0x181DD45E0", 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: 0x060096BE RID: 38590 RVA: 0x00217304 File Offset: 0x00215504
[Token(Token = "0x60096BE")]
[Address(RVA = "0x1DD4700", Offset = "0x1DD3100", VA = "0x181DD4700")]
protected bool Equals(DsaParameters other)
{
BigInteger bigInteger = this.p;
BigInteger bigInteger2 = this.q;
BigInteger bigInteger3 = this.g;
throw new NullReferenceException();
}
// Token: 0x060096BF RID: 38591 RVA: 0x00217330 File Offset: 0x00215530
[Token(Token = "0x60096BF")]
[Address(RVA = "0x1DD47A0", Offset = "0x1DD31A0", VA = "0x181DD47A0", Slot = "2")]
public override int GetHashCode()
{
this.p.Finalize();
this.q.Finalize();
this.g.Finalize();
throw new NullReferenceException();
}
// Token: 0x04006372 RID: 25458
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4006372")]
private readonly BigInteger p;
// Token: 0x04006373 RID: 25459
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4006373")]
private readonly BigInteger q;
// Token: 0x04006374 RID: 25460
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4006374")]
private readonly BigInteger g;
// Token: 0x04006375 RID: 25461
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4006375")]
private readonly DsaValidationParameters validation;
}
}