74 lines
4.4 KiB
C#
74 lines
4.4 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
|
|
{
|
|
// Token: 0x02001CE7 RID: 7399
|
|
[Token(Token = "0x2001CE7")]
|
|
public class MqvPublicParameters : ICipherParameters
|
|
{
|
|
// Token: 0x0600B71D RID: 46877 RVA: 0x00279CD4 File Offset: 0x00277ED4
|
|
[Token(Token = "0x600B71D")]
|
|
[Address(RVA = "0x22DE940", Offset = "0x22DD940", VA = "0x1822DE940")]
|
|
public MqvPublicParameters(ECPublicKeyParameters staticPublicKey, ECPublicKeyParameters ephemeralPublicKey)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600B71D)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.MqvPublicParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_24:
|
|
stloc:ArgumentNullException(var_1_2E, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("staticPublicKey")))
|
|
stloc:ArgumentException(var_2_39, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Static and ephemeral public keys have different domain parameters")))
|
|
}
|
|
|
|
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: 0x17001CDB RID: 7387
|
|
// (get) Token: 0x0600B71E RID: 46878 RVA: 0x00279D1C File Offset: 0x00277F1C
|
|
[Token(Token = "0x17001CDB")]
|
|
public virtual ECPublicKeyParameters StaticPublicKey
|
|
{
|
|
[Token(Token = "0x600B71E")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "4")]
|
|
get
|
|
{
|
|
return this.staticPublicKey;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001CDC RID: 7388
|
|
// (get) Token: 0x0600B71F RID: 46879 RVA: 0x00279D30 File Offset: 0x00277F30
|
|
[Token(Token = "0x17001CDC")]
|
|
public virtual ECPublicKeyParameters EphemeralPublicKey
|
|
{
|
|
[Token(Token = "0x600B71F")]
|
|
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "5")]
|
|
get
|
|
{
|
|
return this.ephemeralPublicKey;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040073B4 RID: 29620
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40073B4")]
|
|
private readonly ECPublicKeyParameters staticPublicKey;
|
|
|
|
// Token: 0x040073B5 RID: 29621
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40073B5")]
|
|
private readonly ECPublicKeyParameters ephemeralPublicKey;
|
|
}
|
|
}
|