136 lines
6.1 KiB
C#
136 lines
6.1 KiB
C#
using System;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.JPake
|
|
{
|
|
// Token: 0x02001DFC RID: 7676
|
|
[Token(Token = "0x2001DFC")]
|
|
public class JPakeRound1Payload
|
|
{
|
|
// Token: 0x0600C081 RID: 49281 RVA: 0x002B78C8 File Offset: 0x002B5AC8
|
|
[Token(Token = "0x600C081")]
|
|
[Address(RVA = "0x25A75D0", Offset = "0x25A65D0", VA = "0x1825A75D0")]
|
|
public JPakeRound1Payload(string participantId, BigInteger gx1, BigInteger gx2, BigInteger[] knowledgeProofForX1, BigInteger[] knowledgeProofForX2)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C081)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound1Payload::.ctor(System.String,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,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_5E:
|
|
stloc:ArgumentNullException(var_3_68, 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: 0x17001DD8 RID: 7640
|
|
// (get) Token: 0x0600C082 RID: 49282 RVA: 0x002B7940 File Offset: 0x002B5B40
|
|
[Token(Token = "0x17001DD8")]
|
|
public virtual string ParticipantId
|
|
{
|
|
[Token(Token = "0x600C082")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "4")]
|
|
get
|
|
{
|
|
return this.participantId;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001DD9 RID: 7641
|
|
// (get) Token: 0x0600C083 RID: 49283 RVA: 0x002B7954 File Offset: 0x002B5B54
|
|
[Token(Token = "0x17001DD9")]
|
|
public virtual BigInteger Gx1
|
|
{
|
|
[Token(Token = "0x600C083")]
|
|
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "5")]
|
|
get
|
|
{
|
|
return this.gx1;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001DDA RID: 7642
|
|
// (get) Token: 0x0600C084 RID: 49284 RVA: 0x002B7968 File Offset: 0x002B5B68
|
|
[Token(Token = "0x17001DDA")]
|
|
public virtual BigInteger Gx2
|
|
{
|
|
[Token(Token = "0x600C084")]
|
|
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "6")]
|
|
get
|
|
{
|
|
return this.gx2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001DDB RID: 7643
|
|
// (get) Token: 0x0600C085 RID: 49285 RVA: 0x002B797C File Offset: 0x002B5B7C
|
|
[Token(Token = "0x17001DDB")]
|
|
public virtual BigInteger[] KnowledgeProofForX1
|
|
{
|
|
[Token(Token = "0x600C085")]
|
|
[Address(RVA = "0x25A7870", Offset = "0x25A6870", VA = "0x1825A7870", Slot = "7")]
|
|
get
|
|
{
|
|
BigInteger[] array = new BigInteger[this.knowledgeProofForX1.Length];
|
|
BigInteger[] array2 = this.knowledgeProofForX1;
|
|
int length = array2.Length;
|
|
Array.Copy(array2, array, length);
|
|
return array;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001DDC RID: 7644
|
|
// (get) Token: 0x0600C086 RID: 49286 RVA: 0x002B79B8 File Offset: 0x002B5BB8
|
|
[Token(Token = "0x17001DDC")]
|
|
public virtual BigInteger[] KnowledgeProofForX2
|
|
{
|
|
[Token(Token = "0x600C086")]
|
|
[Address(RVA = "0x25A78E0", Offset = "0x25A68E0", VA = "0x1825A78E0", Slot = "8")]
|
|
get
|
|
{
|
|
BigInteger[] array = new BigInteger[this.knowledgeProofForX2.Length];
|
|
BigInteger[] array2 = this.knowledgeProofForX2;
|
|
int length = array2.Length;
|
|
Array.Copy(array2, array, length);
|
|
return array;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040079F0 RID: 31216
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40079F0")]
|
|
private readonly string participantId;
|
|
|
|
// Token: 0x040079F1 RID: 31217
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40079F1")]
|
|
private readonly BigInteger gx1;
|
|
|
|
// Token: 0x040079F2 RID: 31218
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40079F2")]
|
|
private readonly BigInteger gx2;
|
|
|
|
// Token: 0x040079F3 RID: 31219
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40079F3")]
|
|
private readonly BigInteger[] knowledgeProofForX1;
|
|
|
|
// Token: 0x040079F4 RID: 31220
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40079F4")]
|
|
private readonly BigInteger[] knowledgeProofForX2;
|
|
}
|
|
}
|