98 lines
5.2 KiB
C#
98 lines
5.2 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
|
|
{
|
|
// Token: 0x02001C06 RID: 7174
|
|
[Token(Token = "0x2001C06")]
|
|
public class MqvPrivateParameters : ICipherParameters
|
|
{
|
|
// Token: 0x0600B34A RID: 45898 RVA: 0x00270A2C File Offset: 0x0026EC2C
|
|
[Token(Token = "0x600B34A")]
|
|
[Address(RVA = "0x180C160", Offset = "0x180AF60", VA = "0x18180C160")]
|
|
public MqvPrivateParameters(ECPrivateKeyParameters staticPrivateKey, ECPrivateKeyParameters ephemeralPrivateKey)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600B34B RID: 45899 RVA: 0x00270A3C File Offset: 0x0026EC3C
|
|
[Token(Token = "0x600B34B")]
|
|
[Address(RVA = "0x180C180", Offset = "0x180AF80", VA = "0x18180C180")]
|
|
public MqvPrivateParameters(ECPrivateKeyParameters staticPrivateKey, ECPrivateKeyParameters ephemeralPrivateKey, ECPublicKeyParameters ephemeralPublicKey)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600B34B)
|
|
|
|
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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x17001C3B RID: 7227
|
|
// (get) Token: 0x0600B34C RID: 45900 RVA: 0x00270AD8 File Offset: 0x0026ECD8
|
|
[Token(Token = "0x17001C3B")]
|
|
public virtual ECPrivateKeyParameters StaticPrivateKey
|
|
{
|
|
[Token(Token = "0x600B34C")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "4")]
|
|
get
|
|
{
|
|
return this.staticPrivateKey;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001C3C RID: 7228
|
|
// (get) Token: 0x0600B34D RID: 45901 RVA: 0x00270AEC File Offset: 0x0026ECEC
|
|
[Token(Token = "0x17001C3C")]
|
|
public virtual ECPrivateKeyParameters EphemeralPrivateKey
|
|
{
|
|
[Token(Token = "0x600B34D")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "5")]
|
|
get
|
|
{
|
|
return this.ephemeralPrivateKey;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001C3D RID: 7229
|
|
// (get) Token: 0x0600B34E RID: 45902 RVA: 0x00270B00 File Offset: 0x0026ED00
|
|
[Token(Token = "0x17001C3D")]
|
|
public virtual ECPublicKeyParameters EphemeralPublicKey
|
|
{
|
|
[Token(Token = "0x600B34E")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "6")]
|
|
get
|
|
{
|
|
return this.ephemeralPublicKey;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040071F8 RID: 29176
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40071F8")]
|
|
private readonly ECPrivateKeyParameters staticPrivateKey;
|
|
|
|
// Token: 0x040071F9 RID: 29177
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40071F9")]
|
|
private readonly ECPrivateKeyParameters ephemeralPrivateKey;
|
|
|
|
// Token: 0x040071FA RID: 29178
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40071FA")]
|
|
private readonly ECPublicKeyParameters ephemeralPublicKey;
|
|
}
|
|
}
|