100 lines
5.3 KiB
C#
100 lines
5.3 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
|
|
{
|
|
// Token: 0x02001629 RID: 5673
|
|
[Token(Token = "0x2001629")]
|
|
[StructLayout(3)]
|
|
public class MqvPrivateParameters : ICipherParameters
|
|
{
|
|
// Token: 0x06009770 RID: 38768 RVA: 0x00219410 File Offset: 0x00217610
|
|
[Token(Token = "0x6009770")]
|
|
[Address(RVA = "0x1DDAB60", Offset = "0x1DD9560", VA = "0x181DDAB60")]
|
|
public MqvPrivateParameters(ECPrivateKeyParameters staticPrivateKey, ECPrivateKeyParameters ephemeralPrivateKey)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06009771 RID: 38769 RVA: 0x00219420 File Offset: 0x00217620
|
|
[Token(Token = "0x6009771")]
|
|
[Address(RVA = "0x1DDAB80", Offset = "0x1DD9580", VA = "0x181DDAB80")]
|
|
public MqvPrivateParameters(ECPrivateKeyParameters staticPrivateKey, ECPrivateKeyParameters ephemeralPrivateKey, ECPublicKeyParameters ephemeralPublicKey)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009771)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.MqvPrivateParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_83:
|
|
stloc:ArgumentNullException(var_8_8D, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("q")))
|
|
}
|
|
|
|
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: 0x1700183A RID: 6202
|
|
// (get) Token: 0x06009772 RID: 38770 RVA: 0x002194BC File Offset: 0x002176BC
|
|
[Token(Token = "0x1700183A")]
|
|
public virtual ECPrivateKeyParameters StaticPrivateKey
|
|
{
|
|
[Token(Token = "0x6009772")]
|
|
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "4")]
|
|
get
|
|
{
|
|
return this.staticPrivateKey;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700183B RID: 6203
|
|
// (get) Token: 0x06009773 RID: 38771 RVA: 0x002194D0 File Offset: 0x002176D0
|
|
[Token(Token = "0x1700183B")]
|
|
public virtual ECPrivateKeyParameters EphemeralPrivateKey
|
|
{
|
|
[Token(Token = "0x6009773")]
|
|
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "5")]
|
|
get
|
|
{
|
|
return this.ephemeralPrivateKey;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700183C RID: 6204
|
|
// (get) Token: 0x06009774 RID: 38772 RVA: 0x002194E4 File Offset: 0x002176E4
|
|
[Token(Token = "0x1700183C")]
|
|
public virtual ECPublicKeyParameters EphemeralPublicKey
|
|
{
|
|
[Token(Token = "0x6009774")]
|
|
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220", Slot = "6")]
|
|
get
|
|
{
|
|
return this.ephemeralPublicKey;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040063B5 RID: 25525
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40063B5")]
|
|
private readonly ECPrivateKeyParameters staticPrivateKey;
|
|
|
|
// Token: 0x040063B6 RID: 25526
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40063B6")]
|
|
private readonly ECPrivateKeyParameters ephemeralPrivateKey;
|
|
|
|
// Token: 0x040063B7 RID: 25527
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40063B7")]
|
|
private readonly ECPublicKeyParameters ephemeralPublicKey;
|
|
}
|
|
}
|