Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Crypto/Agreement/JPake/JPakeRound2Payload.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

96 lines
4.8 KiB
C#

using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.JPake
{
// Token: 0x02001DFD RID: 7677
[Token(Token = "0x2001DFD")]
public class JPakeRound2Payload
{
// Token: 0x0600C087 RID: 49287 RVA: 0x002B79F4 File Offset: 0x002B5BF4
[Token(Token = "0x600C087")]
[Address(RVA = "0x25A7950", Offset = "0x25A6950", VA = "0x1825A7950")]
public JPakeRound2Payload(string participantId, BigInteger a, BigInteger[] knowledgeProofForX2s)
{
/*
An exception occurred when decompiling this method (0600C087)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound2Payload::.ctor(System.String,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger[])
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_4D:
stloc:ArgumentNullException(var_3_57, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("participantId")))
}
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: 0x17001DDD RID: 7645
// (get) Token: 0x0600C088 RID: 49288 RVA: 0x002B7A58 File Offset: 0x002B5C58
[Token(Token = "0x17001DDD")]
public virtual string ParticipantId
{
[Token(Token = "0x600C088")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "4")]
get
{
return this.participantId;
}
}
// Token: 0x17001DDE RID: 7646
// (get) Token: 0x0600C089 RID: 49289 RVA: 0x002B7A6C File Offset: 0x002B5C6C
[Token(Token = "0x17001DDE")]
public virtual BigInteger A
{
[Token(Token = "0x600C089")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "5")]
get
{
return this.a;
}
}
// Token: 0x17001DDF RID: 7647
// (get) Token: 0x0600C08A RID: 49290 RVA: 0x002B7A80 File Offset: 0x002B5C80
[Token(Token = "0x17001DDF")]
public virtual BigInteger[] KnowledgeProofForX2s
{
[Token(Token = "0x600C08A")]
[Address(RVA = "0x25A7B00", Offset = "0x25A6B00", VA = "0x1825A7B00", Slot = "6")]
get
{
BigInteger[] array = new BigInteger[this.knowledgeProofForX2s.Length];
BigInteger[] array2 = this.knowledgeProofForX2s;
int length = array2.Length;
Array.Copy(array2, array, length);
return array;
}
}
// Token: 0x040079F5 RID: 31221
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40079F5")]
private readonly string participantId;
// Token: 0x040079F6 RID: 31222
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40079F6")]
private readonly BigInteger a;
// Token: 0x040079F7 RID: 31223
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40079F7")]
private readonly BigInteger[] knowledgeProofForX2s;
}
}