96 lines
4.8 KiB
C#
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: 0x02001D1D RID: 7453
|
|
[Token(Token = "0x2001D1D")]
|
|
public class JPakeRound2Payload
|
|
{
|
|
// Token: 0x0600BCB9 RID: 48313 RVA: 0x002AF18C File Offset: 0x002AD38C
|
|
[Token(Token = "0x600BCB9")]
|
|
[Address(RVA = "0x200CA60", Offset = "0x200B860", VA = "0x18200CA60")]
|
|
public JPakeRound2Payload(string participantId, BigInteger a, BigInteger[] knowledgeProofForX2s)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600BCB9)
|
|
|
|
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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x17001D40 RID: 7488
|
|
// (get) Token: 0x0600BCBA RID: 48314 RVA: 0x002AF1F0 File Offset: 0x002AD3F0
|
|
[Token(Token = "0x17001D40")]
|
|
public virtual string ParticipantId
|
|
{
|
|
[Token(Token = "0x600BCBA")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "4")]
|
|
get
|
|
{
|
|
return this.participantId;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001D41 RID: 7489
|
|
// (get) Token: 0x0600BCBB RID: 48315 RVA: 0x002AF204 File Offset: 0x002AD404
|
|
[Token(Token = "0x17001D41")]
|
|
public virtual BigInteger A
|
|
{
|
|
[Token(Token = "0x600BCBB")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "5")]
|
|
get
|
|
{
|
|
return this.a;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001D42 RID: 7490
|
|
// (get) Token: 0x0600BCBC RID: 48316 RVA: 0x002AF218 File Offset: 0x002AD418
|
|
[Token(Token = "0x17001D42")]
|
|
public virtual BigInteger[] KnowledgeProofForX2s
|
|
{
|
|
[Token(Token = "0x600BCBC")]
|
|
[Address(RVA = "0x200CC10", Offset = "0x200BA10", VA = "0x18200CC10", 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: 0x0400783C RID: 30780
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400783C")]
|
|
private readonly string participantId;
|
|
|
|
// Token: 0x0400783D RID: 30781
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400783D")]
|
|
private readonly BigInteger a;
|
|
|
|
// Token: 0x0400783E RID: 30782
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400783E")]
|
|
private readonly BigInteger[] knowledgeProofForX2s;
|
|
}
|
|
}
|