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: 0x02001D1C RID: 7452
|
|
[Token(Token = "0x2001D1C")]
|
|
public class JPakeRound1Payload
|
|
{
|
|
// Token: 0x0600BCB3 RID: 48307 RVA: 0x002AF060 File Offset: 0x002AD260
|
|
[Token(Token = "0x600BCB3")]
|
|
[Address(RVA = "0x200C6E0", Offset = "0x200B4E0", VA = "0x18200C6E0")]
|
|
public JPakeRound1Payload(string participantId, BigInteger gx1, BigInteger gx2, BigInteger[] knowledgeProofForX1, BigInteger[] knowledgeProofForX2)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600BCB3)
|
|
|
|
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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x17001D3B RID: 7483
|
|
// (get) Token: 0x0600BCB4 RID: 48308 RVA: 0x002AF0D8 File Offset: 0x002AD2D8
|
|
[Token(Token = "0x17001D3B")]
|
|
public virtual string ParticipantId
|
|
{
|
|
[Token(Token = "0x600BCB4")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "4")]
|
|
get
|
|
{
|
|
return this.participantId;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001D3C RID: 7484
|
|
// (get) Token: 0x0600BCB5 RID: 48309 RVA: 0x002AF0EC File Offset: 0x002AD2EC
|
|
[Token(Token = "0x17001D3C")]
|
|
public virtual BigInteger Gx1
|
|
{
|
|
[Token(Token = "0x600BCB5")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "5")]
|
|
get
|
|
{
|
|
return this.gx1;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001D3D RID: 7485
|
|
// (get) Token: 0x0600BCB6 RID: 48310 RVA: 0x002AF100 File Offset: 0x002AD300
|
|
[Token(Token = "0x17001D3D")]
|
|
public virtual BigInteger Gx2
|
|
{
|
|
[Token(Token = "0x600BCB6")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "6")]
|
|
get
|
|
{
|
|
return this.gx2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001D3E RID: 7486
|
|
// (get) Token: 0x0600BCB7 RID: 48311 RVA: 0x002AF114 File Offset: 0x002AD314
|
|
[Token(Token = "0x17001D3E")]
|
|
public virtual BigInteger[] KnowledgeProofForX1
|
|
{
|
|
[Token(Token = "0x600BCB7")]
|
|
[Address(RVA = "0x200C980", Offset = "0x200B780", VA = "0x18200C980", 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: 0x17001D3F RID: 7487
|
|
// (get) Token: 0x0600BCB8 RID: 48312 RVA: 0x002AF150 File Offset: 0x002AD350
|
|
[Token(Token = "0x17001D3F")]
|
|
public virtual BigInteger[] KnowledgeProofForX2
|
|
{
|
|
[Token(Token = "0x600BCB8")]
|
|
[Address(RVA = "0x200C9F0", Offset = "0x200B7F0", VA = "0x18200C9F0", 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: 0x04007837 RID: 30775
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4007837")]
|
|
private readonly string participantId;
|
|
|
|
// Token: 0x04007838 RID: 30776
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4007838")]
|
|
private readonly BigInteger gx1;
|
|
|
|
// Token: 0x04007839 RID: 30777
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4007839")]
|
|
private readonly BigInteger gx2;
|
|
|
|
// Token: 0x0400783A RID: 30778
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400783A")]
|
|
private readonly BigInteger[] knowledgeProofForX1;
|
|
|
|
// Token: 0x0400783B RID: 30779
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400783B")]
|
|
private readonly BigInteger[] knowledgeProofForX2;
|
|
}
|
|
}
|