138 lines
6.3 KiB
C#
138 lines
6.3 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.JPake
|
|
{
|
|
// Token: 0x0200173F RID: 5951
|
|
[Token(Token = "0x200173F")]
|
|
[StructLayout(3)]
|
|
public class JPakeRound1Payload
|
|
{
|
|
// Token: 0x0600A0D9 RID: 41177 RVA: 0x00256B74 File Offset: 0x00254D74
|
|
[Token(Token = "0x600A0D9")]
|
|
[Address(RVA = "0x65BB10", Offset = "0x65A510", VA = "0x18065BB10")]
|
|
public JPakeRound1Payload(string participantId, BigInteger gx1, BigInteger gx2, BigInteger[] knowledgeProofForX1, BigInteger[] knowledgeProofForX2)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600A0D9)
|
|
|
|
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: 0x1700193A RID: 6458
|
|
// (get) Token: 0x0600A0DA RID: 41178 RVA: 0x00256BEC File Offset: 0x00254DEC
|
|
[Token(Token = "0x1700193A")]
|
|
public virtual string ParticipantId
|
|
{
|
|
[Token(Token = "0x600A0DA")]
|
|
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "4")]
|
|
get
|
|
{
|
|
return this.participantId;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700193B RID: 6459
|
|
// (get) Token: 0x0600A0DB RID: 41179 RVA: 0x00256C00 File Offset: 0x00254E00
|
|
[Token(Token = "0x1700193B")]
|
|
public virtual BigInteger Gx1
|
|
{
|
|
[Token(Token = "0x600A0DB")]
|
|
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "5")]
|
|
get
|
|
{
|
|
return this.gx1;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700193C RID: 6460
|
|
// (get) Token: 0x0600A0DC RID: 41180 RVA: 0x00256C14 File Offset: 0x00254E14
|
|
[Token(Token = "0x1700193C")]
|
|
public virtual BigInteger Gx2
|
|
{
|
|
[Token(Token = "0x600A0DC")]
|
|
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220", Slot = "6")]
|
|
get
|
|
{
|
|
return this.gx2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700193D RID: 6461
|
|
// (get) Token: 0x0600A0DD RID: 41181 RVA: 0x00256C28 File Offset: 0x00254E28
|
|
[Token(Token = "0x1700193D")]
|
|
public virtual BigInteger[] KnowledgeProofForX1
|
|
{
|
|
[Token(Token = "0x600A0DD")]
|
|
[Address(RVA = "0x65BDB0", Offset = "0x65A7B0", VA = "0x18065BDB0", 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: 0x1700193E RID: 6462
|
|
// (get) Token: 0x0600A0DE RID: 41182 RVA: 0x00256C64 File Offset: 0x00254E64
|
|
[Token(Token = "0x1700193E")]
|
|
public virtual BigInteger[] KnowledgeProofForX2
|
|
{
|
|
[Token(Token = "0x600A0DE")]
|
|
[Address(RVA = "0x65BE20", Offset = "0x65A820", VA = "0x18065BE20", 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: 0x040069F4 RID: 27124
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40069F4")]
|
|
private readonly string participantId;
|
|
|
|
// Token: 0x040069F5 RID: 27125
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40069F5")]
|
|
private readonly BigInteger gx1;
|
|
|
|
// Token: 0x040069F6 RID: 27126
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40069F6")]
|
|
private readonly BigInteger gx2;
|
|
|
|
// Token: 0x040069F7 RID: 27127
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40069F7")]
|
|
private readonly BigInteger[] knowledgeProofForX1;
|
|
|
|
// Token: 0x040069F8 RID: 27128
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40069F8")]
|
|
private readonly BigInteger[] knowledgeProofForX2;
|
|
}
|
|
}
|