98 lines
4.9 KiB
C#
98 lines
4.9 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: 0x02001740 RID: 5952
|
|
[Token(Token = "0x2001740")]
|
|
[StructLayout(3)]
|
|
public class JPakeRound2Payload
|
|
{
|
|
// Token: 0x0600A0DF RID: 41183 RVA: 0x00256CA0 File Offset: 0x00254EA0
|
|
[Token(Token = "0x600A0DF")]
|
|
[Address(RVA = "0x65BE90", Offset = "0x65A890", VA = "0x18065BE90")]
|
|
public JPakeRound2Payload(string participantId, BigInteger a, BigInteger[] knowledgeProofForX2s)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600A0DF)
|
|
|
|
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: 0x1700193F RID: 6463
|
|
// (get) Token: 0x0600A0E0 RID: 41184 RVA: 0x00256D04 File Offset: 0x00254F04
|
|
[Token(Token = "0x1700193F")]
|
|
public virtual string ParticipantId
|
|
{
|
|
[Token(Token = "0x600A0E0")]
|
|
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "4")]
|
|
get
|
|
{
|
|
return this.participantId;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001940 RID: 6464
|
|
// (get) Token: 0x0600A0E1 RID: 41185 RVA: 0x00256D18 File Offset: 0x00254F18
|
|
[Token(Token = "0x17001940")]
|
|
public virtual BigInteger A
|
|
{
|
|
[Token(Token = "0x600A0E1")]
|
|
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "5")]
|
|
get
|
|
{
|
|
return this.a;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001941 RID: 6465
|
|
// (get) Token: 0x0600A0E2 RID: 41186 RVA: 0x00256D2C File Offset: 0x00254F2C
|
|
[Token(Token = "0x17001941")]
|
|
public virtual BigInteger[] KnowledgeProofForX2s
|
|
{
|
|
[Token(Token = "0x600A0E2")]
|
|
[Address(RVA = "0x65C040", Offset = "0x65AA40", VA = "0x18065C040", 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: 0x040069F9 RID: 27129
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40069F9")]
|
|
private readonly string participantId;
|
|
|
|
// Token: 0x040069FA RID: 27130
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40069FA")]
|
|
private readonly BigInteger a;
|
|
|
|
// Token: 0x040069FB RID: 27131
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40069FB")]
|
|
private readonly BigInteger[] knowledgeProofForX2s;
|
|
}
|
|
}
|