oh dear
This commit is contained in:
+248
@@ -0,0 +1,248 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DC5 RID: 7621
|
||||
[Token(Token = "0x2001DC5")]
|
||||
public class DHDomainParameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C103 RID: 49411 RVA: 0x002BEA98 File Offset: 0x002BCC98
|
||||
[Token(Token = "0x600C103")]
|
||||
[Address(RVA = "0x2B34ED0", Offset = "0x2B33CD0", VA = "0x182B34ED0")]
|
||||
public static DHDomainParameters GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return DHDomainParameters.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600C104 RID: 49412 RVA: 0x002BEAB4 File Offset: 0x002BCCB4
|
||||
[Token(Token = "0x600C104")]
|
||||
[Address(RVA = "0x2B34EF0", Offset = "0x2B33CF0", VA = "0x182B34EF0")]
|
||||
public static DHDomainParameters GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C104)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.DHDomainParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.DHDomainParameters::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_26:
|
||||
stloc:string(var_6_2C, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_44, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid DHDomainParameters: "), ldloc:string(var_6_2C)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
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: 0x0600C105 RID: 49413 RVA: 0x002BEB08 File Offset: 0x002BCD08
|
||||
[Token(Token = "0x600C105")]
|
||||
[Address(RVA = "0x2B35440", Offset = "0x2B34240", VA = "0x182B35440")]
|
||||
public DHDomainParameters(DerInteger p, DerInteger g, DerInteger q, DerInteger j, DHValidationParms validationParms)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C105)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.DHDomainParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.DHValidationParms)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_41:
|
||||
stloc:ArgumentNullException(var_1_4B, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("g")))
|
||||
}
|
||||
|
||||
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: 0x0600C106 RID: 49414 RVA: 0x002BEB60 File Offset: 0x002BCD60
|
||||
[Token(Token = "0x600C106")]
|
||||
[Address(RVA = "0x2B35560", Offset = "0x2B34360", VA = "0x182B35560")]
|
||||
private DHDomainParameters(Asn1Sequence seq)
|
||||
{
|
||||
IEnumerator enumerator = seq.GetEnumerator();
|
||||
DerInteger instance = DerInteger.GetInstance(DHDomainParameters.GetNext(enumerator));
|
||||
this.p = instance;
|
||||
DerInteger instance2 = DerInteger.GetInstance(DHDomainParameters.GetNext(enumerator));
|
||||
this.g = instance2;
|
||||
DerInteger instance3 = DerInteger.GetInstance(DHDomainParameters.GetNext(enumerator));
|
||||
this.q = instance3;
|
||||
Asn1Encodable next = DHDomainParameters.GetNext(enumerator);
|
||||
if (next != 0)
|
||||
{
|
||||
if (next != 0)
|
||||
{
|
||||
DerInteger instance4 = DerInteger.GetInstance(next);
|
||||
this.j = instance4;
|
||||
Asn1Encodable next2 = DHDomainParameters.GetNext(enumerator);
|
||||
}
|
||||
if (next != 0)
|
||||
{
|
||||
DHValidationParms instance5 = DHValidationParms.GetInstance(next.ToAsn1Object());
|
||||
this.validationParms = instance5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C107 RID: 49415 RVA: 0x002BEC04 File Offset: 0x002BCE04
|
||||
[Token(Token = "0x600C107")]
|
||||
[Address(RVA = "0x2B350F0", Offset = "0x2B33EF0", VA = "0x182B350F0")]
|
||||
private static Asn1Encodable GetNext(IEnumerator e)
|
||||
{
|
||||
while (e == 0)
|
||||
{
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001DBD RID: 7613
|
||||
// (get) Token: 0x0600C108 RID: 49416 RVA: 0x002BEC20 File Offset: 0x002BCE20
|
||||
[Token(Token = "0x17001DBD")]
|
||||
public DerInteger P
|
||||
{
|
||||
[Token(Token = "0x600C108")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.p;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DBE RID: 7614
|
||||
// (get) Token: 0x0600C109 RID: 49417 RVA: 0x002BEC34 File Offset: 0x002BCE34
|
||||
[Token(Token = "0x17001DBE")]
|
||||
public DerInteger G
|
||||
{
|
||||
[Token(Token = "0x600C109")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.g;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DBF RID: 7615
|
||||
// (get) Token: 0x0600C10A RID: 49418 RVA: 0x002BEC48 File Offset: 0x002BCE48
|
||||
[Token(Token = "0x17001DBF")]
|
||||
public DerInteger Q
|
||||
{
|
||||
[Token(Token = "0x600C10A")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
get
|
||||
{
|
||||
return this.q;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DC0 RID: 7616
|
||||
// (get) Token: 0x0600C10B RID: 49419 RVA: 0x002BEC5C File Offset: 0x002BCE5C
|
||||
[Token(Token = "0x17001DC0")]
|
||||
public DerInteger J
|
||||
{
|
||||
[Token(Token = "0x600C10B")]
|
||||
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
|
||||
get
|
||||
{
|
||||
return this.j;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DC1 RID: 7617
|
||||
// (get) Token: 0x0600C10C RID: 49420 RVA: 0x002BEC70 File Offset: 0x002BCE70
|
||||
[Token(Token = "0x17001DC1")]
|
||||
public DHValidationParms ValidationParms
|
||||
{
|
||||
[Token(Token = "0x600C10C")]
|
||||
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
|
||||
get
|
||||
{
|
||||
return this.validationParms;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C10D RID: 49421 RVA: 0x002BEC84 File Offset: 0x002BCE84
|
||||
[Token(Token = "0x600C10D")]
|
||||
[Address(RVA = "0x2B351A0", Offset = "0x2B33FA0", VA = "0x182B351A0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[3];
|
||||
DerInteger derInteger = this.p;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
DerInteger derInteger2 = this.g;
|
||||
if (derInteger2 != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger2;
|
||||
DerInteger derInteger3 = this.q;
|
||||
if (derInteger3 != 0)
|
||||
{
|
||||
}
|
||||
array[2] = derInteger3;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.j != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
DerInteger derInteger4 = this.j;
|
||||
if (derInteger4 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derInteger4;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
if (this.validationParms != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
DHValidationParms dhvalidationParms = this.validationParms;
|
||||
if (dhvalidationParms != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = dhvalidationParms;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x040079D7 RID: 31191
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40079D7")]
|
||||
private readonly DerInteger p;
|
||||
|
||||
// Token: 0x040079D8 RID: 31192
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40079D8")]
|
||||
private readonly DerInteger g;
|
||||
|
||||
// Token: 0x040079D9 RID: 31193
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40079D9")]
|
||||
private readonly DerInteger q;
|
||||
|
||||
// Token: 0x040079DA RID: 31194
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40079DA")]
|
||||
private readonly DerInteger j;
|
||||
|
||||
// Token: 0x040079DB RID: 31195
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40079DB")]
|
||||
private readonly DHValidationParms validationParms;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DC6 RID: 7622
|
||||
[Token(Token = "0x2001DC6")]
|
||||
public class DHPublicKey : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C10E RID: 49422 RVA: 0x002BED50 File Offset: 0x002BCF50
|
||||
[Token(Token = "0x600C10E")]
|
||||
[Address(RVA = "0x2B35940", Offset = "0x2B34740", VA = "0x182B35940")]
|
||||
public static DHPublicKey GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return DHPublicKey.GetInstance(DerInteger.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600C10F RID: 49423 RVA: 0x002BED6C File Offset: 0x002BCF6C
|
||||
[Token(Token = "0x600C10F")]
|
||||
[Address(RVA = "0x2B35730", Offset = "0x2B34530", VA = "0x182B35730")]
|
||||
public static DHPublicKey GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C10F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.DHPublicKey BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.DHPublicKey::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_30:
|
||||
stloc:string(var_7_36, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_8_4E, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid DHPublicKey: "), ldloc:string(var_7_36)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
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: 0x0600C110 RID: 49424 RVA: 0x002BEDC8 File Offset: 0x002BCFC8
|
||||
[Token(Token = "0x600C110")]
|
||||
[Address(RVA = "0x2B35960", Offset = "0x2B34760", VA = "0x182B35960")]
|
||||
public DHPublicKey(DerInteger y)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C110)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.DHPublicKey::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerInteger)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_12:
|
||||
stloc:ArgumentNullException(var_0_1C, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("y")))
|
||||
}
|
||||
|
||||
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
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: 0x17001DC2 RID: 7618
|
||||
// (get) Token: 0x0600C111 RID: 49425 RVA: 0x002BEDF4 File Offset: 0x002BCFF4
|
||||
[Token(Token = "0x17001DC2")]
|
||||
public DerInteger Y
|
||||
{
|
||||
[Token(Token = "0x600C111")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.y;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C112 RID: 49426 RVA: 0x002BEE08 File Offset: 0x002BD008
|
||||
[Token(Token = "0x600C112")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C112)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.DHPublicKey::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:DerInteger(var_0_06, ldfld:DerInteger(DHPublicKey::y, ldloc:DHPublicKey(this)))
|
||||
}
|
||||
|
||||
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: 0x040079DC RID: 31196
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40079DC")]
|
||||
private readonly DerInteger y;
|
||||
}
|
||||
}
|
||||
+146
@@ -0,0 +1,146 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DC7 RID: 7623
|
||||
[Token(Token = "0x2001DC7")]
|
||||
public class DHValidationParms : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C113 RID: 49427 RVA: 0x002BEE1C File Offset: 0x002BD01C
|
||||
[Token(Token = "0x600C113")]
|
||||
[Address(RVA = "0x2B359E0", Offset = "0x2B347E0", VA = "0x182B359E0")]
|
||||
public static DHValidationParms GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return DHValidationParms.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600C114 RID: 49428 RVA: 0x002BEE38 File Offset: 0x002BD038
|
||||
[Token(Token = "0x600C114")]
|
||||
[Address(RVA = "0x2B35A00", Offset = "0x2B34800", VA = "0x182B35A00")]
|
||||
public static DHValidationParms GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C114)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.DHValidationParms BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.DHValidationParms::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_33:
|
||||
stloc:string(var_7_39, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_8_51, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid DHValidationParms: "), ldloc:string(var_7_39)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
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: 0x0600C115 RID: 49429 RVA: 0x002BEE98 File Offset: 0x002BD098
|
||||
[Token(Token = "0x600C115")]
|
||||
[Address(RVA = "0x2B35E20", Offset = "0x2B34C20", VA = "0x182B35E20")]
|
||||
public DHValidationParms(DerBitString seed, DerInteger pgenCounter)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C115)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.DHValidationParms::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerBitString,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerInteger)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_28:
|
||||
stloc:ArgumentNullException(var_1_32, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("pgenCounter")))
|
||||
}
|
||||
|
||||
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: 0x0600C116 RID: 49430 RVA: 0x002BEED8 File Offset: 0x002BD0D8
|
||||
[Token(Token = "0x600C116")]
|
||||
[Address(RVA = "0x2B35EF0", Offset = "0x2B34CF0", VA = "0x182B35EF0")]
|
||||
private DHValidationParms(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DerBitString derBitString;
|
||||
this.seed = derBitString;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
DerInteger derInteger;
|
||||
this.pgenCounter = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x17001DC3 RID: 7619
|
||||
// (get) Token: 0x0600C117 RID: 49431 RVA: 0x002BEF10 File Offset: 0x002BD110
|
||||
[Token(Token = "0x17001DC3")]
|
||||
public DerBitString Seed
|
||||
{
|
||||
[Token(Token = "0x600C117")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.seed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DC4 RID: 7620
|
||||
// (get) Token: 0x0600C118 RID: 49432 RVA: 0x002BEF24 File Offset: 0x002BD124
|
||||
[Token(Token = "0x17001DC4")]
|
||||
public DerInteger PgenCounter
|
||||
{
|
||||
[Token(Token = "0x600C118")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.pgenCounter;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C119 RID: 49433 RVA: 0x002BEF38 File Offset: 0x002BD138
|
||||
[Token(Token = "0x600C119")]
|
||||
[Address(RVA = "0x2B35D10", Offset = "0x2B34B10", VA = "0x182B35D10", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerBitString derBitString = this.seed;
|
||||
if (derBitString != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derBitString;
|
||||
DerInteger derInteger = this.pgenCounter;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x040079DD RID: 31197
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40079DD")]
|
||||
private readonly DerBitString seed;
|
||||
|
||||
// Token: 0x040079DE RID: 31198
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40079DE")]
|
||||
private readonly DerInteger pgenCounter;
|
||||
}
|
||||
}
|
||||
+130
@@ -0,0 +1,130 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Anssi;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.GM;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Nist;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Sec;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.TeleTrust;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DC8 RID: 7624
|
||||
[Token(Token = "0x2001DC8")]
|
||||
public class ECNamedCurveTable
|
||||
{
|
||||
// Token: 0x0600C11A RID: 49434 RVA: 0x002BEF80 File Offset: 0x002BD180
|
||||
[Token(Token = "0x600C11A")]
|
||||
[Address(RVA = "0x166DCE0", Offset = "0x166CAE0", VA = "0x18166DCE0")]
|
||||
public static X9ECParameters GetByName(string name)
|
||||
{
|
||||
DerObjectIdentifier oid;
|
||||
do
|
||||
{
|
||||
oid = X962NamedCurves.GetOid(name);
|
||||
if (oid == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (X962NamedCurves.GetByOid(oid) != 0 || SecNamedCurves.GetByName(name) != 0 || NistNamedCurves.GetByName(name) != 0 || TeleTrusTNamedCurves.GetByName(name) != 0 || AnssiNamedCurves.GetByName(name) != 0 || ECNamedCurveTable.FromDomainParameters(ECGost3410NamedCurves.GetByName(name)) != 0);
|
||||
return GMNamedCurves.GetByName(name);
|
||||
}
|
||||
|
||||
// Token: 0x0600C11B RID: 49435 RVA: 0x002BEFDC File Offset: 0x002BD1DC
|
||||
[Token(Token = "0x600C11B")]
|
||||
[Address(RVA = "0x166E020", Offset = "0x166CE20", VA = "0x18166E020")]
|
||||
public static string GetName(DerObjectIdentifier oid)
|
||||
{
|
||||
do
|
||||
{
|
||||
IDictionary names = X962NamedCurves.names;
|
||||
}
|
||||
while (SecNamedCurves.GetName(oid) != 0 || NistNamedCurves.GetName(oid) != 0 || TeleTrusTNamedCurves.GetName(oid) != 0 || AnssiNamedCurves.GetName(oid) != 0 || ECGost3410NamedCurves.GetName(oid) != 0);
|
||||
return GMNamedCurves.GetName(oid);
|
||||
}
|
||||
|
||||
// Token: 0x0600C11C RID: 49436 RVA: 0x002BF028 File Offset: 0x002BD228
|
||||
[Token(Token = "0x600C11C")]
|
||||
[Address(RVA = "0x166E220", Offset = "0x166D020", VA = "0x18166E220")]
|
||||
public static DerObjectIdentifier GetOid(string name)
|
||||
{
|
||||
DerObjectIdentifier oid = X962NamedCurves.GetOid(name);
|
||||
if (oid == 0 && SecNamedCurves.GetOid(name) == 0 && NistNamedCurves.GetOid(name) == 0 && TeleTrusTNamedCurves.GetOid(name) == 0 && AnssiNamedCurves.GetOid(name) == 0 && ECGost3410NamedCurves.GetOid(name) == 0)
|
||||
{
|
||||
return GMNamedCurves.GetOid(name);
|
||||
}
|
||||
return oid;
|
||||
}
|
||||
|
||||
// Token: 0x0600C11D RID: 49437 RVA: 0x002BF078 File Offset: 0x002BD278
|
||||
[Token(Token = "0x600C11D")]
|
||||
[Address(RVA = "0x166DED0", Offset = "0x166CCD0", VA = "0x18166DED0")]
|
||||
public static X9ECParameters GetByOid(DerObjectIdentifier oid)
|
||||
{
|
||||
X9ECParameters byOid = X962NamedCurves.GetByOid(oid);
|
||||
if (byOid == 0 && SecNamedCurves.GetByOid(oid) == 0 && TeleTrusTNamedCurves.GetByOid(oid) == 0 && AnssiNamedCurves.GetByOid(oid) == 0 && ECNamedCurveTable.FromDomainParameters(ECGost3410NamedCurves.GetByOid(oid)) == 0)
|
||||
{
|
||||
return GMNamedCurves.GetByOid(oid);
|
||||
}
|
||||
return byOid;
|
||||
}
|
||||
|
||||
// Token: 0x17001DC5 RID: 7621
|
||||
// (get) Token: 0x0600C11E RID: 49438 RVA: 0x002BF0C4 File Offset: 0x002BD2C4
|
||||
[Token(Token = "0x17001DC5")]
|
||||
public static IEnumerable Names
|
||||
{
|
||||
[Token(Token = "0x600C11E")]
|
||||
[Address(RVA = "0x166E390", Offset = "0x166D190", VA = "0x18166E390")]
|
||||
get
|
||||
{
|
||||
IList list = Platform.CreateArrayList();
|
||||
IDictionary names = X962NamedCurves.names;
|
||||
EnumerableProxy enumerableProxy;
|
||||
CollectionUtilities.AddRange(list, enumerableProxy);
|
||||
IEnumerable names2 = SecNamedCurves.Names;
|
||||
CollectionUtilities.AddRange(list, names2);
|
||||
IEnumerable names3 = NistNamedCurves.Names;
|
||||
CollectionUtilities.AddRange(list, names3);
|
||||
IEnumerable names4 = TeleTrusTNamedCurves.Names;
|
||||
CollectionUtilities.AddRange(list, names4);
|
||||
IEnumerable names5 = AnssiNamedCurves.Names;
|
||||
CollectionUtilities.AddRange(list, names5);
|
||||
IEnumerable names6 = ECGost3410NamedCurves.Names;
|
||||
CollectionUtilities.AddRange(list, names6);
|
||||
IEnumerable names7 = GMNamedCurves.Names;
|
||||
CollectionUtilities.AddRange(list, names7);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C11F RID: 49439 RVA: 0x002BF158 File Offset: 0x002BD358
|
||||
[Token(Token = "0x600C11F")]
|
||||
[Address(RVA = "0x166DC20", Offset = "0x166CA20", VA = "0x18166DC20")]
|
||||
private static X9ECParameters FromDomainParameters(ECDomainParameters dp)
|
||||
{
|
||||
if (dp == 0)
|
||||
{
|
||||
}
|
||||
BigInteger n = dp.n;
|
||||
BigInteger h = dp.h;
|
||||
ECPoint g = dp.g;
|
||||
ECCurve curve = dp.curve;
|
||||
byte[] seed = dp.GetSeed();
|
||||
return new X9ECParameters(curve, g, n, h, seed);
|
||||
}
|
||||
|
||||
// Token: 0x0600C120 RID: 49440 RVA: 0x002BF19C File Offset: 0x002BD39C
|
||||
[Token(Token = "0x600C120")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public ECNamedCurveTable()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DC9 RID: 7625
|
||||
[Token(Token = "0x2001DC9")]
|
||||
public class KeySpecificInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C121 RID: 49441 RVA: 0x002BF1B0 File Offset: 0x002BD3B0
|
||||
[Token(Token = "0x600C121")]
|
||||
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
|
||||
public KeySpecificInfo(DerObjectIdentifier algorithm, Asn1OctetString counter)
|
||||
{
|
||||
this.algorithm = algorithm;
|
||||
this.counter = counter;
|
||||
}
|
||||
|
||||
// Token: 0x0600C122 RID: 49442 RVA: 0x002BF1D4 File Offset: 0x002BD3D4
|
||||
[Token(Token = "0x600C122")]
|
||||
[Address(RVA = "0x166E700", Offset = "0x166D500", VA = "0x18166E700")]
|
||||
public KeySpecificInfo(Asn1Sequence seq)
|
||||
{
|
||||
IEnumerator enumerator;
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
enumerator = seq.GetEnumerator();
|
||||
if (enumerator == 0)
|
||||
{
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
this.algorithm = enumerator;
|
||||
if (enumerator == 0 || enumerator != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
this.counter = enumerator;
|
||||
}
|
||||
|
||||
// Token: 0x17001DC6 RID: 7622
|
||||
// (get) Token: 0x0600C123 RID: 49443 RVA: 0x002BF218 File Offset: 0x002BD418
|
||||
[Token(Token = "0x17001DC6")]
|
||||
public DerObjectIdentifier Algorithm
|
||||
{
|
||||
[Token(Token = "0x600C123")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.algorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DC7 RID: 7623
|
||||
// (get) Token: 0x0600C124 RID: 49444 RVA: 0x002BF22C File Offset: 0x002BD42C
|
||||
[Token(Token = "0x17001DC7")]
|
||||
public Asn1OctetString Counter
|
||||
{
|
||||
[Token(Token = "0x600C124")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.counter;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C125 RID: 49445 RVA: 0x002BF240 File Offset: 0x002BD440
|
||||
[Token(Token = "0x600C125")]
|
||||
[Address(RVA = "0x166E5F0", Offset = "0x166D3F0", VA = "0x18166E5F0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerObjectIdentifier derObjectIdentifier = this.algorithm;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derObjectIdentifier;
|
||||
Asn1OctetString asn1OctetString = this.counter;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
}
|
||||
array[1] = asn1OctetString;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x040079DF RID: 31199
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40079DF")]
|
||||
private DerObjectIdentifier algorithm;
|
||||
|
||||
// Token: 0x040079E0 RID: 31200
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40079E0")]
|
||||
private Asn1OctetString counter;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,166 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DCA RID: 7626
|
||||
[Token(Token = "0x2001DCA")]
|
||||
public class OtherInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C126 RID: 49446 RVA: 0x002BF288 File Offset: 0x002BD488
|
||||
[Token(Token = "0x600C126")]
|
||||
[Address(RVA = "0xECF220", Offset = "0xECE020", VA = "0x180ECF220")]
|
||||
public OtherInfo(KeySpecificInfo keyInfo, Asn1OctetString partyAInfo, Asn1OctetString suppPubInfo)
|
||||
{
|
||||
this.keyInfo = keyInfo;
|
||||
this.partyAInfo = partyAInfo;
|
||||
this.suppPubInfo = suppPubInfo;
|
||||
}
|
||||
|
||||
// Token: 0x0600C127 RID: 49447 RVA: 0x002BF2B0 File Offset: 0x002BD4B0
|
||||
[Token(Token = "0x600C127")]
|
||||
[Address(RVA = "0x166EAC0", Offset = "0x166D8C0", VA = "0x18166EAC0")]
|
||||
public OtherInfo(Asn1Sequence seq)
|
||||
{
|
||||
int num;
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
IEnumerator enumerator = seq.GetEnumerator();
|
||||
if (enumerator == 0)
|
||||
{
|
||||
}
|
||||
num = 0;
|
||||
if (enumerator != 0)
|
||||
{
|
||||
KeySpecificInfo keySpecificInfo;
|
||||
this.keyInfo = keySpecificInfo;
|
||||
num += num;
|
||||
num++;
|
||||
int num2 = 0;
|
||||
if (num == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (num < num2)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
ulong num3;
|
||||
num3 += num3;
|
||||
num += 19;
|
||||
num3 += num3;
|
||||
num++;
|
||||
num += 19;
|
||||
if (num != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (num != 0)
|
||||
{
|
||||
while (num != 2)
|
||||
{
|
||||
}
|
||||
Asn1Object asn1Object;
|
||||
this.suppPubInfo = asn1Object;
|
||||
}
|
||||
Asn1Object asn1Object2;
|
||||
this.partyAInfo = asn1Object2;
|
||||
}
|
||||
|
||||
// Token: 0x17001DC8 RID: 7624
|
||||
// (get) Token: 0x0600C128 RID: 49448 RVA: 0x002BF33C File Offset: 0x002BD53C
|
||||
[Token(Token = "0x17001DC8")]
|
||||
public KeySpecificInfo KeyInfo
|
||||
{
|
||||
[Token(Token = "0x600C128")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.keyInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DC9 RID: 7625
|
||||
// (get) Token: 0x0600C129 RID: 49449 RVA: 0x002BF350 File Offset: 0x002BD550
|
||||
[Token(Token = "0x17001DC9")]
|
||||
public Asn1OctetString PartyAInfo
|
||||
{
|
||||
[Token(Token = "0x600C129")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.partyAInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DCA RID: 7626
|
||||
// (get) Token: 0x0600C12A RID: 49450 RVA: 0x002BF364 File Offset: 0x002BD564
|
||||
[Token(Token = "0x17001DCA")]
|
||||
public Asn1OctetString SuppPubInfo
|
||||
{
|
||||
[Token(Token = "0x600C12A")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
get
|
||||
{
|
||||
return this.suppPubInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C12B RID: 49451 RVA: 0x002BF378 File Offset: 0x002BD578
|
||||
[Token(Token = "0x600C12B")]
|
||||
[Address(RVA = "0x166E870", Offset = "0x166D670", VA = "0x18166E870", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
KeySpecificInfo keySpecificInfo = this.keyInfo;
|
||||
if (keySpecificInfo != 0)
|
||||
{
|
||||
}
|
||||
array[0] = keySpecificInfo;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.partyAInfo != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1OctetString asn1OctetString = this.partyAInfo;
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num, asn1OctetString);
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
Asn1OctetString asn1OctetString2 = this.suppPubInfo;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(2, asn1OctetString2);
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array3);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x040079E1 RID: 31201
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40079E1")]
|
||||
private KeySpecificInfo keyInfo;
|
||||
|
||||
// Token: 0x040079E2 RID: 31202
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40079E2")]
|
||||
private Asn1OctetString partyAInfo;
|
||||
|
||||
// Token: 0x040079E3 RID: 31203
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40079E3")]
|
||||
private Asn1OctetString suppPubInfo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,1079 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DCB RID: 7627
|
||||
[Token(Token = "0x2001DCB")]
|
||||
public sealed class X962NamedCurves
|
||||
{
|
||||
// Token: 0x0600C12C RID: 49452 RVA: 0x002BF424 File Offset: 0x002BD624
|
||||
[Token(Token = "0x600C12C")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private X962NamedCurves()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C12D RID: 49453 RVA: 0x002BF438 File Offset: 0x002BD638
|
||||
[Token(Token = "0x600C12D")]
|
||||
[Address(RVA = "0x1670A20", Offset = "0x166F820", VA = "0x181670A20")]
|
||||
private static void DefineCurve(string name, DerObjectIdentifier oid, X9ECParametersHolder holder)
|
||||
{
|
||||
IDictionary dictionary = X962NamedCurves.objIds;
|
||||
string text = Platform.ToUpperInvariant(name);
|
||||
IDictionary dictionary2 = X962NamedCurves.names;
|
||||
IDictionary dictionary3 = X962NamedCurves.curves;
|
||||
}
|
||||
|
||||
// Token: 0x0600C12E RID: 49454 RVA: 0x002BF464 File Offset: 0x002BD664
|
||||
[Token(Token = "0x600C12E")]
|
||||
[Address(RVA = "0x1670E70", Offset = "0x166FC70", VA = "0x181670E70")]
|
||||
static X962NamedCurves()
|
||||
{
|
||||
IDictionary dictionary = Platform.CreateHashtable();
|
||||
X962NamedCurves.objIds = dictionary;
|
||||
IDictionary dictionary2 = Platform.CreateHashtable();
|
||||
X962NamedCurves.curves = dictionary2;
|
||||
X962NamedCurves.names = Platform.CreateHashtable();
|
||||
}
|
||||
|
||||
// Token: 0x0600C12F RID: 49455 RVA: 0x002BF49C File Offset: 0x002BD69C
|
||||
[Token(Token = "0x600C12F")]
|
||||
[Address(RVA = "0x1670B60", Offset = "0x166F960", VA = "0x181670B60")]
|
||||
public static X9ECParameters GetByName(string name)
|
||||
{
|
||||
DerObjectIdentifier oid = X962NamedCurves.GetOid(name);
|
||||
if (oid == 0)
|
||||
{
|
||||
}
|
||||
return X962NamedCurves.GetByOid(oid);
|
||||
}
|
||||
|
||||
// Token: 0x0600C130 RID: 49456 RVA: 0x002BF4BC File Offset: 0x002BD6BC
|
||||
[Token(Token = "0x600C130")]
|
||||
[Address(RVA = "0x1670BF0", Offset = "0x166F9F0", VA = "0x181670BF0")]
|
||||
public static X9ECParameters GetByOid(DerObjectIdentifier oid)
|
||||
{
|
||||
IDictionary dictionary = X962NamedCurves.curves;
|
||||
IDictionary dictionary2 = X962NamedCurves.objIds;
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C131 RID: 49457 RVA: 0x002BF4E4 File Offset: 0x002BD6E4
|
||||
[Token(Token = "0x600C131")]
|
||||
[Address(RVA = "0x1670D70", Offset = "0x166FB70", VA = "0x181670D70")]
|
||||
public static DerObjectIdentifier GetOid(string name)
|
||||
{
|
||||
string text;
|
||||
do
|
||||
{
|
||||
IDictionary dictionary = X962NamedCurves.objIds;
|
||||
text = Platform.ToUpperInvariant(name);
|
||||
if (text == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (text == 0);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C132 RID: 49458 RVA: 0x002BF510 File Offset: 0x002BD710
|
||||
[Token(Token = "0x600C132")]
|
||||
[Address(RVA = "0x1670CD0", Offset = "0x166FAD0", VA = "0x181670CD0")]
|
||||
public static string GetName(DerObjectIdentifier oid)
|
||||
{
|
||||
IDictionary dictionary = X962NamedCurves.names;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001DCB RID: 7627
|
||||
// (get) Token: 0x0600C133 RID: 49459 RVA: 0x002BF528 File Offset: 0x002BD728
|
||||
[Token(Token = "0x17001DCB")]
|
||||
public static IEnumerable Names
|
||||
{
|
||||
[Token(Token = "0x600C133")]
|
||||
[Address(RVA = "0x1671750", Offset = "0x1670550", VA = "0x181671750")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = X962NamedCurves.names;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040079E4 RID: 31204
|
||||
[Token(Token = "0x40079E4")]
|
||||
private static readonly IDictionary objIds;
|
||||
|
||||
// Token: 0x040079E5 RID: 31205
|
||||
[Token(Token = "0x40079E5")]
|
||||
private static readonly IDictionary curves;
|
||||
|
||||
// Token: 0x040079E6 RID: 31206
|
||||
[Token(Token = "0x40079E6")]
|
||||
private static readonly IDictionary names;
|
||||
|
||||
// Token: 0x02001DCC RID: 7628
|
||||
[Token(Token = "0x2001DCC")]
|
||||
internal class Prime192v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C134 RID: 49460 RVA: 0x002BF540 File Offset: 0x002BD740
|
||||
[Token(Token = "0x600C134")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private Prime192v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C135 RID: 49461 RVA: 0x002BF554 File Offset: 0x002BD754
|
||||
[Token(Token = "0x600C135")]
|
||||
[Address(RVA = "0x166EEC0", Offset = "0x166DCC0", VA = "0x18166EEC0", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("ffffffffffffffffffffffff99def836146bc9b1b4d22831", 16);
|
||||
BigInteger one = BigInteger.One;
|
||||
BigInteger bigInteger2 = new BigInteger("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("fffffffffffffffffffffffffffffffefffffffffffffffc", 16);
|
||||
BigInteger bigInteger4 = new BigInteger("64210519e59c80e70fa7e9ab72243049feb8deecc146b9b1", 16);
|
||||
FpCurve fpCurve = new FpCurve(bigInteger2, bigInteger3, bigInteger4, bigInteger, one);
|
||||
byte[] array = Hex.Decode("03188da80eb03090f67cbf20eb43a18800f4ff0afd82ff1012");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(fpCurve, array);
|
||||
byte[] array2 = Hex.Decode("3045AE6FC8422f64ED579528D38120EAE12196D5");
|
||||
return new X9ECParameters(fpCurve, x9ECPoint, bigInteger, one, array2);
|
||||
}
|
||||
|
||||
// Token: 0x0600C136 RID: 49462 RVA: 0x002BF5DC File Offset: 0x002BD7DC
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C136")]
|
||||
[Address(RVA = "0x166F0A0", Offset = "0x166DEA0", VA = "0x18166F0A0")]
|
||||
static Prime192v1Holder()
|
||||
{
|
||||
X962NamedCurves.Prime192v1Holder prime192v1Holder = new X962NamedCurves.Prime192v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079E7 RID: 31207
|
||||
[Token(Token = "0x40079E7")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DCD RID: 7629
|
||||
[Token(Token = "0x2001DCD")]
|
||||
internal class Prime192v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C137 RID: 49463 RVA: 0x002BF5F0 File Offset: 0x002BD7F0
|
||||
[Token(Token = "0x600C137")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private Prime192v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C138 RID: 49464 RVA: 0x002BF604 File Offset: 0x002BD804
|
||||
[Token(Token = "0x600C138")]
|
||||
[Address(RVA = "0x166F100", Offset = "0x166DF00", VA = "0x18166F100", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("fffffffffffffffffffffffe5fb1a724dc80418648d8dd31", 16);
|
||||
BigInteger one = BigInteger.One;
|
||||
BigInteger bigInteger2 = new BigInteger("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("fffffffffffffffffffffffffffffffefffffffffffffffc", 16);
|
||||
BigInteger bigInteger4 = new BigInteger("cc22d6dfb95c6b25e49c0d6364a4e5980c393aa21668d953", 16);
|
||||
FpCurve fpCurve = new FpCurve(bigInteger2, bigInteger3, bigInteger4, bigInteger, one);
|
||||
byte[] array = Hex.Decode("03eea2bae7e1497842f2de7769cfe9c989c072ad696f48034a");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(fpCurve, array);
|
||||
byte[] array2 = Hex.Decode("31a92ee2029fd10d901b113e990710f0d21ac6b6");
|
||||
return new X9ECParameters(fpCurve, x9ECPoint, bigInteger, one, array2);
|
||||
}
|
||||
|
||||
// Token: 0x0600C139 RID: 49465 RVA: 0x002BF68C File Offset: 0x002BD88C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C139")]
|
||||
[Address(RVA = "0x166F2E0", Offset = "0x166E0E0", VA = "0x18166F2E0")]
|
||||
static Prime192v2Holder()
|
||||
{
|
||||
X962NamedCurves.Prime192v2Holder prime192v2Holder = new X962NamedCurves.Prime192v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079E8 RID: 31208
|
||||
[Token(Token = "0x40079E8")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DCE RID: 7630
|
||||
[Token(Token = "0x2001DCE")]
|
||||
internal class Prime192v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C13A RID: 49466 RVA: 0x002BF6A0 File Offset: 0x002BD8A0
|
||||
[Token(Token = "0x600C13A")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private Prime192v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C13B RID: 49467 RVA: 0x002BF6B4 File Offset: 0x002BD8B4
|
||||
[Token(Token = "0x600C13B")]
|
||||
[Address(RVA = "0x166F340", Offset = "0x166E140", VA = "0x18166F340", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("ffffffffffffffffffffffff7a62d031c83f4294f640ec13", 16);
|
||||
BigInteger one = BigInteger.One;
|
||||
BigInteger bigInteger2 = new BigInteger("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("fffffffffffffffffffffffffffffffefffffffffffffffc", 16);
|
||||
BigInteger bigInteger4 = new BigInteger("22123dc2395a05caa7423daeccc94760a7d462256bd56916", 16);
|
||||
FpCurve fpCurve = new FpCurve(bigInteger2, bigInteger3, bigInteger4, bigInteger, one);
|
||||
byte[] array = Hex.Decode("027d29778100c65a1da1783716588dce2b8b4aee8e228f1896");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(fpCurve, array);
|
||||
byte[] array2 = Hex.Decode("c469684435deb378c4b65ca9591e2a5763059a2e");
|
||||
return new X9ECParameters(fpCurve, x9ECPoint, bigInteger, one, array2);
|
||||
}
|
||||
|
||||
// Token: 0x0600C13C RID: 49468 RVA: 0x002BF73C File Offset: 0x002BD93C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C13C")]
|
||||
[Address(RVA = "0x166F520", Offset = "0x166E320", VA = "0x18166F520")]
|
||||
static Prime192v3Holder()
|
||||
{
|
||||
X962NamedCurves.Prime192v3Holder prime192v3Holder = new X962NamedCurves.Prime192v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079E9 RID: 31209
|
||||
[Token(Token = "0x40079E9")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DCF RID: 7631
|
||||
[Token(Token = "0x2001DCF")]
|
||||
internal class Prime239v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C13D RID: 49469 RVA: 0x002BF750 File Offset: 0x002BD950
|
||||
[Token(Token = "0x600C13D")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private Prime239v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C13E RID: 49470 RVA: 0x002BF764 File Offset: 0x002BD964
|
||||
[Token(Token = "0x600C13E")]
|
||||
[Address(RVA = "0x166F580", Offset = "0x166E380", VA = "0x18166F580", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("7fffffffffffffffffffffff7fffff9e5e9a9f5d9071fbd1522688909d0b", 16);
|
||||
BigInteger one = BigInteger.One;
|
||||
BigInteger bigInteger2 = new BigInteger("883423532389192164791648750360308885314476597252960362792450860609699839");
|
||||
BigInteger bigInteger3 = new BigInteger("7fffffffffffffffffffffff7fffffffffff8000000000007ffffffffffc", 16);
|
||||
BigInteger bigInteger4 = new BigInteger("6b016c3bdcf18941d0d654921475ca71a9db2fb27d1d37796185c2942c0a", 16);
|
||||
FpCurve fpCurve = new FpCurve(bigInteger2, bigInteger3, bigInteger4, bigInteger, one);
|
||||
byte[] array = Hex.Decode("020ffa963cdca8816ccc33b8642bedf905c3d358573d3f27fbbd3b3cb9aaaf");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(fpCurve, array);
|
||||
byte[] array2 = Hex.Decode("e43bb460f0b80cc0c0b075798e948060f8321b7d");
|
||||
return new X9ECParameters(fpCurve, x9ECPoint, bigInteger, one, array2);
|
||||
}
|
||||
|
||||
// Token: 0x0600C13F RID: 49471 RVA: 0x002BF7E8 File Offset: 0x002BD9E8
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C13F")]
|
||||
[Address(RVA = "0x166F750", Offset = "0x166E550", VA = "0x18166F750")]
|
||||
static Prime239v1Holder()
|
||||
{
|
||||
X962NamedCurves.Prime239v1Holder prime239v1Holder = new X962NamedCurves.Prime239v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079EA RID: 31210
|
||||
[Token(Token = "0x40079EA")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DD0 RID: 7632
|
||||
[Token(Token = "0x2001DD0")]
|
||||
internal class Prime239v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C140 RID: 49472 RVA: 0x002BF7FC File Offset: 0x002BD9FC
|
||||
[Token(Token = "0x600C140")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private Prime239v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C141 RID: 49473 RVA: 0x002BF810 File Offset: 0x002BDA10
|
||||
[Token(Token = "0x600C141")]
|
||||
[Address(RVA = "0x166F7B0", Offset = "0x166E5B0", VA = "0x18166F7B0", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("7fffffffffffffffffffffff800000cfa7e8594377d414c03821bc582063", 16);
|
||||
BigInteger one = BigInteger.One;
|
||||
BigInteger bigInteger2 = new BigInteger("883423532389192164791648750360308885314476597252960362792450860609699839");
|
||||
BigInteger bigInteger3 = new BigInteger("7fffffffffffffffffffffff7fffffffffff8000000000007ffffffffffc", 16);
|
||||
BigInteger bigInteger4 = new BigInteger("617fab6832576cbbfed50d99f0249c3fee58b94ba0038c7ae84c8c832f2c", 16);
|
||||
FpCurve fpCurve = new FpCurve(bigInteger2, bigInteger3, bigInteger4, bigInteger, one);
|
||||
byte[] array = Hex.Decode("0238af09d98727705120c921bb5e9e26296a3cdcf2f35757a0eafd87b830e7");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(fpCurve, array);
|
||||
byte[] array2 = Hex.Decode("e8b4011604095303ca3b8099982be09fcb9ae616");
|
||||
return new X9ECParameters(fpCurve, x9ECPoint, bigInteger, one, array2);
|
||||
}
|
||||
|
||||
// Token: 0x0600C142 RID: 49474 RVA: 0x002BF894 File Offset: 0x002BDA94
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C142")]
|
||||
[Address(RVA = "0x166F980", Offset = "0x166E780", VA = "0x18166F980")]
|
||||
static Prime239v2Holder()
|
||||
{
|
||||
X962NamedCurves.Prime239v2Holder prime239v2Holder = new X962NamedCurves.Prime239v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079EB RID: 31211
|
||||
[Token(Token = "0x40079EB")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DD1 RID: 7633
|
||||
[Token(Token = "0x2001DD1")]
|
||||
internal class Prime239v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C143 RID: 49475 RVA: 0x002BF8A8 File Offset: 0x002BDAA8
|
||||
[Token(Token = "0x600C143")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private Prime239v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C144 RID: 49476 RVA: 0x002BF8BC File Offset: 0x002BDABC
|
||||
[Token(Token = "0x600C144")]
|
||||
[Address(RVA = "0x166F9E0", Offset = "0x166E7E0", VA = "0x18166F9E0", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("7fffffffffffffffffffffff7fffff975deb41b3a6057c3c432146526551", 16);
|
||||
BigInteger one = BigInteger.One;
|
||||
BigInteger bigInteger2 = new BigInteger("883423532389192164791648750360308885314476597252960362792450860609699839");
|
||||
BigInteger bigInteger3 = new BigInteger("7fffffffffffffffffffffff7fffffffffff8000000000007ffffffffffc", 16);
|
||||
BigInteger bigInteger4 = new BigInteger("255705fa2a306654b1f4cb03d6a750a30c250102d4988717d9ba15ab6d3e", 16);
|
||||
FpCurve fpCurve = new FpCurve(bigInteger2, bigInteger3, bigInteger4, bigInteger, one);
|
||||
byte[] array = Hex.Decode("036768ae8e18bb92cfcf005c949aa2c6d94853d0e660bbf854b1c9505fe95a");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(fpCurve, array);
|
||||
byte[] array2 = Hex.Decode("7d7374168ffe3471b60a857686a19475d3bfa2ff");
|
||||
return new X9ECParameters(fpCurve, x9ECPoint, bigInteger, one, array2);
|
||||
}
|
||||
|
||||
// Token: 0x0600C145 RID: 49477 RVA: 0x002BF940 File Offset: 0x002BDB40
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C145")]
|
||||
[Address(RVA = "0x166FBB0", Offset = "0x166E9B0", VA = "0x18166FBB0")]
|
||||
static Prime239v3Holder()
|
||||
{
|
||||
X962NamedCurves.Prime239v3Holder prime239v3Holder = new X962NamedCurves.Prime239v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079EC RID: 31212
|
||||
[Token(Token = "0x40079EC")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DD2 RID: 7634
|
||||
[Token(Token = "0x2001DD2")]
|
||||
internal class Prime256v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C146 RID: 49478 RVA: 0x002BF954 File Offset: 0x002BDB54
|
||||
[Token(Token = "0x600C146")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private Prime256v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C147 RID: 49479 RVA: 0x002BF968 File Offset: 0x002BDB68
|
||||
[Token(Token = "0x600C147")]
|
||||
[Address(RVA = "0x166FC10", Offset = "0x166EA10", VA = "0x18166FC10", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", 16);
|
||||
BigInteger one = BigInteger.One;
|
||||
BigInteger bigInteger2 = new BigInteger("115792089210356248762697446949407573530086143415290314195533631308867097853951");
|
||||
BigInteger bigInteger3 = new BigInteger("ffffffff00000001000000000000000000000000fffffffffffffffffffffffc", 16);
|
||||
BigInteger bigInteger4 = new BigInteger("5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b", 16);
|
||||
FpCurve fpCurve = new FpCurve(bigInteger2, bigInteger3, bigInteger4, bigInteger, one);
|
||||
byte[] array = Hex.Decode("036b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(fpCurve, array);
|
||||
byte[] array2 = Hex.Decode("c49d360886e704936a6678e1139d26b7819f7e90");
|
||||
return new X9ECParameters(fpCurve, x9ECPoint, bigInteger, one, array2);
|
||||
}
|
||||
|
||||
// Token: 0x0600C148 RID: 49480 RVA: 0x002BF9EC File Offset: 0x002BDBEC
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C148")]
|
||||
[Address(RVA = "0x166FDE0", Offset = "0x166EBE0", VA = "0x18166FDE0")]
|
||||
static Prime256v1Holder()
|
||||
{
|
||||
X962NamedCurves.Prime256v1Holder prime256v1Holder = new X962NamedCurves.Prime256v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079ED RID: 31213
|
||||
[Token(Token = "0x40079ED")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DD3 RID: 7635
|
||||
[Token(Token = "0x2001DD3")]
|
||||
internal class C2pnb163v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C149 RID: 49481 RVA: 0x002BFA00 File Offset: 0x002BDC00
|
||||
[Token(Token = "0x600C149")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2pnb163v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C14A RID: 49482 RVA: 0x002BFA14 File Offset: 0x002BDC14
|
||||
[Token(Token = "0x600C14A")]
|
||||
[Address(RVA = "0x165CAE0", Offset = "0x165B8E0", VA = "0x18165CAE0", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("0400000000000000000001E60FC8821CC74DAEAFC1", 16);
|
||||
BigInteger two = BigInteger.Two;
|
||||
BigInteger bigInteger2 = new BigInteger("072546B5435234A422E0789675F432C89435DE5242", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("00C9517D06D5240D3CFF38C74B20B6CD4D6F9DD4D9", 16);
|
||||
ulong num;
|
||||
F2mCurve f2mCurve = new F2mCurve(163, 16, 2, (int)num, bigInteger2, bigInteger3, bigInteger, two);
|
||||
byte[] array = Hex.Decode("0307AF69989546103D79329FCC3D74880F33BBE803CB");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
byte[] array2 = Hex.Decode("D2C0FB15760860DEF1EEF4D696E6768756151754");
|
||||
return new X9ECParameters(f2mCurve, x9ECPoint, bigInteger, two, array2);
|
||||
}
|
||||
|
||||
// Token: 0x0600C14B RID: 49483 RVA: 0x002BFA94 File Offset: 0x002BDC94
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C14B")]
|
||||
[Address(RVA = "0x165CCB0", Offset = "0x165BAB0", VA = "0x18165CCB0")]
|
||||
static C2pnb163v1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb163v1Holder c2pnb163v1Holder = new X962NamedCurves.C2pnb163v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079EE RID: 31214
|
||||
[Token(Token = "0x40079EE")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DD4 RID: 7636
|
||||
[Token(Token = "0x2001DD4")]
|
||||
internal class C2pnb163v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C14C RID: 49484 RVA: 0x002BFAA8 File Offset: 0x002BDCA8
|
||||
[Token(Token = "0x600C14C")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2pnb163v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C14D RID: 49485 RVA: 0x002BFABC File Offset: 0x002BDCBC
|
||||
[Token(Token = "0x600C14D")]
|
||||
[Address(RVA = "0x165CD10", Offset = "0x165BB10", VA = "0x18165CD10", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("03FFFFFFFFFFFFFFFFFFFDF64DE1151ADBB78F10A7", 16);
|
||||
BigInteger two = BigInteger.Two;
|
||||
BigInteger bigInteger2 = new BigInteger("0108B39E77C4B108BED981ED0E890E117C511CF072", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("0667ACEB38AF4E488C407433FFAE4F1C811638DF20", 16);
|
||||
ulong num;
|
||||
F2mCurve f2mCurve = new F2mCurve(163, 16, 2, (int)num, bigInteger2, bigInteger3, bigInteger, two);
|
||||
byte[] array = Hex.Decode("030024266E4EB5106D0A964D92C4860E2671DB9B6CC5");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C14E RID: 49486 RVA: 0x002BFB24 File Offset: 0x002BDD24
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C14E")]
|
||||
[Address(RVA = "0x165CED0", Offset = "0x165BCD0", VA = "0x18165CED0")]
|
||||
static C2pnb163v2Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb163v2Holder c2pnb163v2Holder = new X962NamedCurves.C2pnb163v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079EF RID: 31215
|
||||
[Token(Token = "0x40079EF")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DD5 RID: 7637
|
||||
[Token(Token = "0x2001DD5")]
|
||||
internal class C2pnb163v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C14F RID: 49487 RVA: 0x002BFB38 File Offset: 0x002BDD38
|
||||
[Token(Token = "0x600C14F")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2pnb163v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C150 RID: 49488 RVA: 0x002BFB4C File Offset: 0x002BDD4C
|
||||
[Token(Token = "0x600C150")]
|
||||
[Address(RVA = "0x165CF30", Offset = "0x165BD30", VA = "0x18165CF30", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("03FFFFFFFFFFFFFFFFFFFE1AEE140F110AFF961309", 16);
|
||||
BigInteger two = BigInteger.Two;
|
||||
BigInteger bigInteger2 = new BigInteger("07A526C63D3E25A256A007699F5447E32AE456B50E", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("03F7061798EB99E238FD6F1BF95B48FEEB4854252B", 16);
|
||||
ulong num;
|
||||
F2mCurve f2mCurve = new F2mCurve(163, 16, 2, (int)num, bigInteger2, bigInteger3, bigInteger, two);
|
||||
byte[] array = Hex.Decode("0202F9F87B7C574D0BDECF8A22E6524775F98CDEBDCB");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C151 RID: 49489 RVA: 0x002BFBB4 File Offset: 0x002BDDB4
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C151")]
|
||||
[Address(RVA = "0x165D0F0", Offset = "0x165BEF0", VA = "0x18165D0F0")]
|
||||
static C2pnb163v3Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb163v3Holder c2pnb163v3Holder = new X962NamedCurves.C2pnb163v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079F0 RID: 31216
|
||||
[Token(Token = "0x40079F0")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DD6 RID: 7638
|
||||
[Token(Token = "0x2001DD6")]
|
||||
internal class C2pnb176w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C152 RID: 49490 RVA: 0x002BFBC8 File Offset: 0x002BDDC8
|
||||
[Token(Token = "0x600C152")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2pnb176w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C153 RID: 49491 RVA: 0x002BFBDC File Offset: 0x002BDDDC
|
||||
[Token(Token = "0x600C153")]
|
||||
[Address(RVA = "0x165D150", Offset = "0x165BF50", VA = "0x18165D150", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("010092537397ECA4F6145799D62B0A19CE06FE26AD", 16);
|
||||
BigInteger bigInteger2 = new BigInteger("00E4E6DB2995065C407D9D39B8D0967B96704BA8E9C90B", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("005DDA470ABE6414DE8EC133AE28E9BBD7FCEC0AE0FFF2", 16);
|
||||
ulong num;
|
||||
BigInteger bigInteger4;
|
||||
F2mCurve f2mCurve = new F2mCurve(176, 16, 2, (int)num, bigInteger2, bigInteger3, bigInteger, bigInteger4);
|
||||
byte[] array = Hex.Decode("038D16C2866798B600F9F08BB4A8E860F3298CE04A5798");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C154 RID: 49492 RVA: 0x002BFC40 File Offset: 0x002BDE40
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C154")]
|
||||
[Address(RVA = "0x165D310", Offset = "0x165C110", VA = "0x18165D310")]
|
||||
static C2pnb176w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb176w1Holder c2pnb176w1Holder = new X962NamedCurves.C2pnb176w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079F1 RID: 31217
|
||||
[Token(Token = "0x40079F1")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DD7 RID: 7639
|
||||
[Token(Token = "0x2001DD7")]
|
||||
internal class C2tnb191v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C155 RID: 49493 RVA: 0x002BFC54 File Offset: 0x002BDE54
|
||||
[Token(Token = "0x600C155")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2tnb191v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C156 RID: 49494 RVA: 0x002BFC68 File Offset: 0x002BDE68
|
||||
[Token(Token = "0x600C156")]
|
||||
[Address(RVA = "0x165DBF0", Offset = "0x165C9F0", VA = "0x18165DBF0", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("40000000000000000000000004A20E90C39067C893BBB9A5", 16);
|
||||
BigInteger two = BigInteger.Two;
|
||||
BigInteger bigInteger2 = new BigInteger("2866537B676752636A68F56554E12640276B649EF7526267", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("2E45EF571F00786F67B0081B9495A3D95462F5DE0AA185EC", 16);
|
||||
F2mCurve f2mCurve = new F2mCurve(191, 9, bigInteger2, bigInteger3, bigInteger, two);
|
||||
byte[] array = Hex.Decode("0236B3DAF8A23206F9C4F299D7B21A9C369137F2C84AE1AA0D");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
byte[] array2 = Hex.Decode("4E13CA542744D696E67687561517552F279A8C84");
|
||||
return new X9ECParameters(f2mCurve, x9ECPoint, bigInteger, two, array2);
|
||||
}
|
||||
|
||||
// Token: 0x0600C157 RID: 49495 RVA: 0x002BFCE4 File Offset: 0x002BDEE4
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C157")]
|
||||
[Address(RVA = "0x165DDB0", Offset = "0x165CBB0", VA = "0x18165DDB0")]
|
||||
static C2tnb191v1Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb191v1Holder c2tnb191v1Holder = new X962NamedCurves.C2tnb191v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079F2 RID: 31218
|
||||
[Token(Token = "0x40079F2")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DD8 RID: 7640
|
||||
[Token(Token = "0x2001DD8")]
|
||||
internal class C2tnb191v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C158 RID: 49496 RVA: 0x002BFCF8 File Offset: 0x002BDEF8
|
||||
[Token(Token = "0x600C158")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2tnb191v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C159 RID: 49497 RVA: 0x002BFD0C File Offset: 0x002BDF0C
|
||||
[Token(Token = "0x600C159")]
|
||||
[Address(RVA = "0x165DE10", Offset = "0x165CC10", VA = "0x18165DE10", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("20000000000000000000000050508CB89F652824E06B8173", 16);
|
||||
BigInteger bigInteger2 = new BigInteger("401028774D7777C7B7666D1366EA432071274F89FF01E718", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("0620048D28BCBD03B6249C99182B7C8CD19700C362C46A01", 16);
|
||||
BigInteger bigInteger4;
|
||||
F2mCurve f2mCurve = new F2mCurve(191, 9, bigInteger2, bigInteger3, bigInteger, bigInteger4);
|
||||
byte[] array = Hex.Decode("023809B2B7CC1B28CC5A87926AAD83FD28789E81E2C9E3BF10");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C15A RID: 49498 RVA: 0x002BFD6C File Offset: 0x002BDF6C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C15A")]
|
||||
[Address(RVA = "0x165DFC0", Offset = "0x165CDC0", VA = "0x18165DFC0")]
|
||||
static C2tnb191v2Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb191v2Holder c2tnb191v2Holder = new X962NamedCurves.C2tnb191v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079F3 RID: 31219
|
||||
[Token(Token = "0x40079F3")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DD9 RID: 7641
|
||||
[Token(Token = "0x2001DD9")]
|
||||
internal class C2tnb191v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C15B RID: 49499 RVA: 0x002BFD80 File Offset: 0x002BDF80
|
||||
[Token(Token = "0x600C15B")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2tnb191v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C15C RID: 49500 RVA: 0x002BFD94 File Offset: 0x002BDF94
|
||||
[Token(Token = "0x600C15C")]
|
||||
[Address(RVA = "0x165E020", Offset = "0x165CE20", VA = "0x18165E020", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("155555555555555555555555610C0B196812BFB6288A3EA3", 16);
|
||||
BigInteger bigInteger2 = new BigInteger("6C01074756099122221056911C77D77E77A777E7E7E77FCB", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("71FE1AF926CF847989EFEF8DB459F66394D90F32AD3F15E8", 16);
|
||||
BigInteger bigInteger4;
|
||||
F2mCurve f2mCurve = new F2mCurve(191, 9, bigInteger2, bigInteger3, bigInteger, bigInteger4);
|
||||
byte[] array = Hex.Decode("03375D4CE24FDE434489DE8746E71786015009E66E38A926DD");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C15D RID: 49501 RVA: 0x002BFDF4 File Offset: 0x002BDFF4
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C15D")]
|
||||
[Address(RVA = "0x165E1D0", Offset = "0x165CFD0", VA = "0x18165E1D0")]
|
||||
static C2tnb191v3Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb191v3Holder c2tnb191v3Holder = new X962NamedCurves.C2tnb191v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079F4 RID: 31220
|
||||
[Token(Token = "0x40079F4")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DDA RID: 7642
|
||||
[Token(Token = "0x2001DDA")]
|
||||
internal class C2pnb208w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C15E RID: 49502 RVA: 0x002BFE08 File Offset: 0x002BE008
|
||||
[Token(Token = "0x600C15E")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2pnb208w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C15F RID: 49503 RVA: 0x002BFE1C File Offset: 0x002BE01C
|
||||
[Token(Token = "0x600C15F")]
|
||||
[Address(RVA = "0x165D370", Offset = "0x165C170", VA = "0x18165D370", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("0101BAF95C9723C57B6C21DA2EFF2D5ED588BDD5717E212F9D", 16);
|
||||
BigInteger bigInteger2 = new BigInteger("0", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("00C8619ED45A62E6212E1160349E2BFA844439FAFC2A3FD1638F9E", 16);
|
||||
ulong num;
|
||||
BigInteger bigInteger4;
|
||||
F2mCurve f2mCurve = new F2mCurve(208, 16, 2, (int)num, bigInteger2, bigInteger3, bigInteger, bigInteger4);
|
||||
byte[] array = Hex.Decode("0289FDFBE4ABE193DF9559ECF07AC0CE78554E2784EB8C1ED1A57A");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C160 RID: 49504 RVA: 0x002BFE80 File Offset: 0x002BE080
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C160")]
|
||||
[Address(RVA = "0x165D530", Offset = "0x165C330", VA = "0x18165D530")]
|
||||
static C2pnb208w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb208w1Holder c2pnb208w1Holder = new X962NamedCurves.C2pnb208w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079F5 RID: 31221
|
||||
[Token(Token = "0x40079F5")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DDB RID: 7643
|
||||
[Token(Token = "0x2001DDB")]
|
||||
internal class C2tnb239v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C161 RID: 49505 RVA: 0x002BFE94 File Offset: 0x002BE094
|
||||
[Token(Token = "0x600C161")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2tnb239v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C162 RID: 49506 RVA: 0x002BFEA8 File Offset: 0x002BE0A8
|
||||
[Token(Token = "0x600C162")]
|
||||
[Address(RVA = "0x165E230", Offset = "0x165D030", VA = "0x18165E230", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("2000000000000000000000000000000F4D42FFE1492A4993F1CAD666E447", 16);
|
||||
BigInteger bigInteger2 = new BigInteger("32010857077C5431123A46B808906756F543423E8D27877578125778AC76", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("790408F2EEDAF392B012EDEFB3392F30F4327C0CA3F31FC383C422AA8C16", 16);
|
||||
BigInteger bigInteger4;
|
||||
F2mCurve f2mCurve = new F2mCurve(239, 36, bigInteger2, bigInteger3, bigInteger, bigInteger4);
|
||||
byte[] array = Hex.Decode("0257927098FA932E7C0A96D3FD5B706EF7E5F5C156E16B7E7C86038552E91D");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C163 RID: 49507 RVA: 0x002BFF08 File Offset: 0x002BE108
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C163")]
|
||||
[Address(RVA = "0x165E3E0", Offset = "0x165D1E0", VA = "0x18165E3E0")]
|
||||
static C2tnb239v1Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb239v1Holder c2tnb239v1Holder = new X962NamedCurves.C2tnb239v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079F6 RID: 31222
|
||||
[Token(Token = "0x40079F6")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DDC RID: 7644
|
||||
[Token(Token = "0x2001DDC")]
|
||||
internal class C2tnb239v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C164 RID: 49508 RVA: 0x002BFF1C File Offset: 0x002BE11C
|
||||
[Token(Token = "0x600C164")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2tnb239v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C165 RID: 49509 RVA: 0x002BFF30 File Offset: 0x002BE130
|
||||
[Token(Token = "0x600C165")]
|
||||
[Address(RVA = "0x165E440", Offset = "0x165D240", VA = "0x18165E440", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("1555555555555555555555555555553C6F2885259C31E3FCDF154624522D", 16);
|
||||
BigInteger bigInteger2 = new BigInteger("4230017757A767FAE42398569B746325D45313AF0766266479B75654E65F", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("5037EA654196CFF0CD82B2C14A2FCF2E3FF8775285B545722F03EACDB74B", 16);
|
||||
BigInteger bigInteger4;
|
||||
F2mCurve f2mCurve = new F2mCurve(239, 36, bigInteger2, bigInteger3, bigInteger, bigInteger4);
|
||||
byte[] array = Hex.Decode("0228F9D04E900069C8DC47A08534FE76D2B900B7D7EF31F5709F200C4CA205");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C166 RID: 49510 RVA: 0x002BFF90 File Offset: 0x002BE190
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C166")]
|
||||
[Address(RVA = "0x165E5F0", Offset = "0x165D3F0", VA = "0x18165E5F0")]
|
||||
static C2tnb239v2Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb239v2Holder c2tnb239v2Holder = new X962NamedCurves.C2tnb239v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079F7 RID: 31223
|
||||
[Token(Token = "0x40079F7")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DDD RID: 7645
|
||||
[Token(Token = "0x2001DDD")]
|
||||
internal class C2tnb239v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C167 RID: 49511 RVA: 0x002BFFA4 File Offset: 0x002BE1A4
|
||||
[Token(Token = "0x600C167")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2tnb239v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C168 RID: 49512 RVA: 0x002BFFB8 File Offset: 0x002BE1B8
|
||||
[Token(Token = "0x600C168")]
|
||||
[Address(RVA = "0x165E650", Offset = "0x165D450", VA = "0x18165E650", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("0CCCCCCCCCCCCCCCCCCCCCCCCCCCCCAC4912D2D9DF903EF9888B8A0E4CFF", 16);
|
||||
BigInteger bigInteger2 = new BigInteger("01238774666A67766D6676F778E676B66999176666E687666D8766C66A9F", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("6A941977BA9F6A435199ACFC51067ED587F519C5ECB541B8E44111DE1D40", 16);
|
||||
BigInteger bigInteger4;
|
||||
F2mCurve f2mCurve = new F2mCurve(239, 36, bigInteger2, bigInteger3, bigInteger, bigInteger4);
|
||||
byte[] array = Hex.Decode("0370F6E9D04D289C4E89913CE3530BFDE903977D42B146D539BF1BDE4E9C92");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C169 RID: 49513 RVA: 0x002C0018 File Offset: 0x002BE218
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C169")]
|
||||
[Address(RVA = "0x165E800", Offset = "0x165D600", VA = "0x18165E800")]
|
||||
static C2tnb239v3Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb239v3Holder c2tnb239v3Holder = new X962NamedCurves.C2tnb239v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079F8 RID: 31224
|
||||
[Token(Token = "0x40079F8")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DDE RID: 7646
|
||||
[Token(Token = "0x2001DDE")]
|
||||
internal class C2pnb272w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C16A RID: 49514 RVA: 0x002C002C File Offset: 0x002BE22C
|
||||
[Token(Token = "0x600C16A")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2pnb272w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C16B RID: 49515 RVA: 0x002C0040 File Offset: 0x002BE240
|
||||
[Token(Token = "0x600C16B")]
|
||||
[Address(RVA = "0x165D590", Offset = "0x165C390", VA = "0x18165D590", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("0100FAF51354E0E39E4892DF6E319C72C8161603FA45AA7B998A167B8F1E629521", 16);
|
||||
BigInteger bigInteger2 = new BigInteger("0091A091F03B5FBA4AB2CCF49C4EDD220FB028712D42BE752B2C40094DBACDB586FB20", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("7167EFC92BB2E3CE7C8AAAFF34E12A9C557003D7C73A6FAF003F99F6CC8482E540F7", 16);
|
||||
ulong num;
|
||||
BigInteger bigInteger4;
|
||||
F2mCurve f2mCurve = new F2mCurve(272, 16, 3, (int)num, bigInteger2, bigInteger3, bigInteger, bigInteger4);
|
||||
byte[] array = Hex.Decode("026108BABB2CEEBCF787058A056CBE0CFE622D7723A289E08A07AE13EF0D10D171DD8D");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C16C RID: 49516 RVA: 0x002C00A4 File Offset: 0x002BE2A4
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C16C")]
|
||||
[Address(RVA = "0x165D750", Offset = "0x165C550", VA = "0x18165D750")]
|
||||
static C2pnb272w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb272w1Holder c2pnb272w1Holder = new X962NamedCurves.C2pnb272w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079F9 RID: 31225
|
||||
[Token(Token = "0x40079F9")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DDF RID: 7647
|
||||
[Token(Token = "0x2001DDF")]
|
||||
internal class C2pnb304w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C16D RID: 49517 RVA: 0x002C00B8 File Offset: 0x002BE2B8
|
||||
[Token(Token = "0x600C16D")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2pnb304w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C16E RID: 49518 RVA: 0x002C00CC File Offset: 0x002BE2CC
|
||||
[Token(Token = "0x600C16E")]
|
||||
[Address(RVA = "0x165D7B0", Offset = "0x165C5B0", VA = "0x18165D7B0", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("0101D556572AABAC800101D556572AABAC8001022D5C91DD173F8FB561DA6899164443051D", 16);
|
||||
BigInteger bigInteger2 = new BigInteger("00FD0D693149A118F651E6DCE6802085377E5F882D1B510B44160074C1288078365A0396C8E681", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("00BDDB97E555A50A908E43B01C798EA5DAA6788F1EA2794EFCF57166B8C14039601E55827340BE", 16);
|
||||
ulong num;
|
||||
BigInteger bigInteger4;
|
||||
F2mCurve f2mCurve = new F2mCurve(304, 16, 2, (int)num, bigInteger2, bigInteger3, bigInteger, bigInteger4);
|
||||
byte[] array = Hex.Decode("02197B07845E9BE2D96ADB0F5F3C7F2CFFBD7A3EB8B6FEC35C7FD67F26DDF6285A644F740A2614");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C16F RID: 49519 RVA: 0x002C0130 File Offset: 0x002BE330
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C16F")]
|
||||
[Address(RVA = "0x165D970", Offset = "0x165C770", VA = "0x18165D970")]
|
||||
static C2pnb304w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb304w1Holder c2pnb304w1Holder = new X962NamedCurves.C2pnb304w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079FA RID: 31226
|
||||
[Token(Token = "0x40079FA")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DE0 RID: 7648
|
||||
[Token(Token = "0x2001DE0")]
|
||||
internal class C2tnb359v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C170 RID: 49520 RVA: 0x002C0144 File Offset: 0x002BE344
|
||||
[Token(Token = "0x600C170")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2tnb359v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C171 RID: 49521 RVA: 0x002C0158 File Offset: 0x002BE358
|
||||
[Token(Token = "0x600C171")]
|
||||
[Address(RVA = "0x165E860", Offset = "0x165D660", VA = "0x18165E860", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("01AF286BCA1AF286BCA1AF286BCA1AF286BCA1AF286BC9FB8F6B85C556892C20A7EB964FE7719E74F490758D3B", 16);
|
||||
BigInteger bigInteger2 = new BigInteger("5667676A654B20754F356EA92017D946567C46675556F19556A04616B567D223A5E05656FB549016A96656A557", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("2472E2D0197C49363F1FE7F5B6DB075D52B6947D135D8CA445805D39BC345626089687742B6329E70680231988", 16);
|
||||
BigInteger bigInteger4;
|
||||
F2mCurve f2mCurve = new F2mCurve(359, 68, bigInteger2, bigInteger3, bigInteger, bigInteger4);
|
||||
byte[] array = Hex.Decode("033C258EF3047767E7EDE0F1FDAA79DAEE3841366A132E163ACED4ED2401DF9C6BDCDE98E8E707C07A2239B1B097");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C172 RID: 49522 RVA: 0x002C01B8 File Offset: 0x002BE3B8
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C172")]
|
||||
[Address(RVA = "0x165EA10", Offset = "0x165D810", VA = "0x18165EA10")]
|
||||
static C2tnb359v1Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb359v1Holder c2tnb359v1Holder = new X962NamedCurves.C2tnb359v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079FB RID: 31227
|
||||
[Token(Token = "0x40079FB")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DE1 RID: 7649
|
||||
[Token(Token = "0x2001DE1")]
|
||||
internal class C2pnb368w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C173 RID: 49523 RVA: 0x002C01CC File Offset: 0x002BE3CC
|
||||
[Token(Token = "0x600C173")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2pnb368w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C174 RID: 49524 RVA: 0x002C01E0 File Offset: 0x002BE3E0
|
||||
[Token(Token = "0x600C174")]
|
||||
[Address(RVA = "0x165D9D0", Offset = "0x165C7D0", VA = "0x18165D9D0", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("010090512DA9AF72B08349D98A5DD4C7B0532ECA51CE03E2D10F3B7AC579BD87E909AE40A6F131E9CFCE5BD967", 16);
|
||||
BigInteger bigInteger2 = new BigInteger("00E0D2EE25095206F5E2A4F9ED229F1F256E79A0E2B455970D8D0D865BD94778C576D62F0AB7519CCD2A1A906AE30D", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("00FC1217D4320A90452C760A58EDCD30C8DD069B3C34453837A34ED50CB54917E1C2112D84D164F444F8F74786046A", 16);
|
||||
ulong num;
|
||||
BigInteger bigInteger4;
|
||||
F2mCurve f2mCurve = new F2mCurve(368, 16, 2, (int)num, bigInteger2, bigInteger3, bigInteger, bigInteger4);
|
||||
byte[] array = Hex.Decode("021085E2755381DCCCE3C1557AFA10C2F0C0C2825646C5B34A394CBCFA8BC16B22E7E789E927BE216F02E1FB136A5F");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C175 RID: 49525 RVA: 0x002C0244 File Offset: 0x002BE444
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C175")]
|
||||
[Address(RVA = "0x165DB90", Offset = "0x165C990", VA = "0x18165DB90")]
|
||||
static C2pnb368w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb368w1Holder c2pnb368w1Holder = new X962NamedCurves.C2pnb368w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079FC RID: 31228
|
||||
[Token(Token = "0x40079FC")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001DE2 RID: 7650
|
||||
[Token(Token = "0x2001DE2")]
|
||||
internal class C2tnb431r1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C176 RID: 49526 RVA: 0x002C0258 File Offset: 0x002BE458
|
||||
[Token(Token = "0x600C176")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private C2tnb431r1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C177 RID: 49527 RVA: 0x002C026C File Offset: 0x002BE46C
|
||||
[Token(Token = "0x600C177")]
|
||||
[Address(RVA = "0x165EA70", Offset = "0x165D870", VA = "0x18165EA70", Slot = "4")]
|
||||
protected override X9ECParameters CreateParameters()
|
||||
{
|
||||
BigInteger bigInteger = new BigInteger("0340340340340340340340340340340340340340340340340340340323C313FAB50589703B5EC68D3587FEC60D161CC149C1AD4A91", 16);
|
||||
BigInteger bigInteger2 = new BigInteger("1A827EF00DD6FC0E234CAF046C6A5D8A85395B236CC4AD2CF32A0CADBDC9DDF620B0EB9906D0957F6C6FEACD615468DF104DE296CD8F", 16);
|
||||
BigInteger bigInteger3 = new BigInteger("10D9B4A3D9047D8B154359ABFB1B7F5485B04CEB868237DDC9DEDA982A679A5A919B626D4E50A8DD731B107A9962381FB5D807BF2618", 16);
|
||||
BigInteger bigInteger4;
|
||||
F2mCurve f2mCurve = new F2mCurve(431, 120, bigInteger2, bigInteger3, bigInteger, bigInteger4);
|
||||
byte[] array = Hex.Decode("02120FC05D3C67A99DE161D2F4092622FECA701BE4F50F4758714E8A87BBF2A658EF8C21E7C5EFE965361F6C2999C0C247B0DBD70CE6B7");
|
||||
X9ECPoint x9ECPoint = new X9ECPoint(f2mCurve, array);
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C178 RID: 49528 RVA: 0x002C02CC File Offset: 0x002BE4CC
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C178")]
|
||||
[Address(RVA = "0x165EC30", Offset = "0x165DA30", VA = "0x18165EC30")]
|
||||
static C2tnb431r1Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb431r1Holder c2tnb431r1Holder = new X962NamedCurves.C2tnb431r1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x040079FD RID: 31229
|
||||
[Token(Token = "0x40079FD")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DE3 RID: 7651
|
||||
[Token(Token = "0x2001DE3")]
|
||||
public class X962Parameters : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600C179 RID: 49529 RVA: 0x002C02E0 File Offset: 0x002BE4E0
|
||||
[Token(Token = "0x600C179")]
|
||||
[Address(RVA = "0x1671800", Offset = "0x1670600", VA = "0x181671800")]
|
||||
public static X962Parameters GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C179)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X962Parameters BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X962Parameters::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_3B:
|
||||
stloc:ArgumentException(var_7_45, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("unknown object in getInstance()")))
|
||||
}
|
||||
|
||||
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
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: 0x0600C17A RID: 49530 RVA: 0x002C0334 File Offset: 0x002BE534
|
||||
[Token(Token = "0x600C17A")]
|
||||
[Address(RVA = "0x1671AA0", Offset = "0x16708A0", VA = "0x181671AA0")]
|
||||
public X962Parameters(X9ECParameters ecParameters)
|
||||
{
|
||||
Asn1Object asn1Object = ecParameters.ToAsn1Object();
|
||||
this._params = asn1Object;
|
||||
}
|
||||
|
||||
// Token: 0x0600C17B RID: 49531 RVA: 0x002C035C File Offset: 0x002BE55C
|
||||
[Token(Token = "0x600C17B")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
public X962Parameters(DerObjectIdentifier namedCurve)
|
||||
{
|
||||
this._params = namedCurve;
|
||||
}
|
||||
|
||||
// Token: 0x0600C17C RID: 49532 RVA: 0x002C0378 File Offset: 0x002BE578
|
||||
[Token(Token = "0x600C17C")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
public X962Parameters(Asn1Object obj)
|
||||
{
|
||||
this._params = obj;
|
||||
}
|
||||
|
||||
// Token: 0x17001DCC RID: 7628
|
||||
// (get) Token: 0x0600C17D RID: 49533 RVA: 0x002C0394 File Offset: 0x002BE594
|
||||
[Token(Token = "0x17001DCC")]
|
||||
public bool IsNamedCurve
|
||||
{
|
||||
[Token(Token = "0x600C17D")]
|
||||
[Address(RVA = "0x1671B70", Offset = "0x1670970", VA = "0x181671B70")]
|
||||
get
|
||||
{
|
||||
Asn1Object @params = this._params;
|
||||
if (@params == 0)
|
||||
{
|
||||
return 0 != 0;
|
||||
}
|
||||
return @params != 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DCD RID: 7629
|
||||
// (get) Token: 0x0600C17E RID: 49534 RVA: 0x002C03C0 File Offset: 0x002BE5C0
|
||||
[Token(Token = "0x17001DCD")]
|
||||
public bool IsImplicitlyCA
|
||||
{
|
||||
[Token(Token = "0x600C17E")]
|
||||
[Address(RVA = "0x1671AF0", Offset = "0x16708F0", VA = "0x181671AF0")]
|
||||
get
|
||||
{
|
||||
Asn1Object @params = this._params;
|
||||
if (@params == 0)
|
||||
{
|
||||
return 0 != 0;
|
||||
}
|
||||
return @params != 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DCE RID: 7630
|
||||
// (get) Token: 0x0600C17F RID: 49535 RVA: 0x002C03EC File Offset: 0x002BE5EC
|
||||
[Token(Token = "0x17001DCE")]
|
||||
public Asn1Object Parameters
|
||||
{
|
||||
[Token(Token = "0x600C17F")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this._params;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C180 RID: 49536 RVA: 0x002C0400 File Offset: 0x002BE600
|
||||
[Token(Token = "0x600C180")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
return this._params;
|
||||
}
|
||||
|
||||
// Token: 0x040079FE RID: 31230
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40079FE")]
|
||||
private readonly Asn1Object _params;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,163 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Field;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DE4 RID: 7652
|
||||
[Token(Token = "0x2001DE4")]
|
||||
public class X9Curve : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C181 RID: 49537 RVA: 0x002C0414 File Offset: 0x002BE614
|
||||
[Token(Token = "0x600C181")]
|
||||
[Address(RVA = "0x1671FF0", Offset = "0x1670DF0", VA = "0x181671FF0")]
|
||||
public X9Curve(ECCurve curve)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C182 RID: 49538 RVA: 0x002C0424 File Offset: 0x002BE624
|
||||
[Token(Token = "0x600C182")]
|
||||
[Address(RVA = "0x1672030", Offset = "0x1670E30", VA = "0x181672030")]
|
||||
public X9Curve(ECCurve curve, byte[] seed)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C182)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9Curve::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve,System.Byte[])
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_4A:
|
||||
stloc:ArgumentException(var_3_54, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("This type of ECCurve is not implemented")))
|
||||
}
|
||||
|
||||
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: 0x0600C183 RID: 49539 RVA: 0x002C0488 File Offset: 0x002BE688
|
||||
[Token(Token = "0x600C183")]
|
||||
[Address(RVA = "0x1672000", Offset = "0x1670E00", VA = "0x181672000")]
|
||||
[Obsolete]
|
||||
public X9Curve(X9FieldID fieldID, Asn1Sequence seq)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C184 RID: 49540 RVA: 0x002C049C File Offset: 0x002BE69C
|
||||
[Token(Token = "0x600C184")]
|
||||
[Address(RVA = "0x16721B0", Offset = "0x1670FB0", VA = "0x1816721B0")]
|
||||
public X9Curve(X9FieldID fieldID, BigInteger order, BigInteger cofactor, Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C184)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9Curve::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9FieldID,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_D0:
|
||||
stloc:ArgumentNullException(var_33_DA, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("fieldID")))
|
||||
stloc:ArgumentException(var_34_E6, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("This type of ECCurve is not implemented")))
|
||||
}
|
||||
|
||||
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
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: 0x17001DCF RID: 7631
|
||||
// (get) Token: 0x0600C185 RID: 49541 RVA: 0x002C0590 File Offset: 0x002BE790
|
||||
[Token(Token = "0x17001DCF")]
|
||||
public ECCurve Curve
|
||||
{
|
||||
[Token(Token = "0x600C185")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.curve;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C186 RID: 49542 RVA: 0x002C05A4 File Offset: 0x002BE7A4
|
||||
[Token(Token = "0x600C186")]
|
||||
[Address(RVA = "0x1671BF0", Offset = "0x16709F0", VA = "0x181671BF0")]
|
||||
public byte[] GetSeed()
|
||||
{
|
||||
return Arrays.Clone(this.seed);
|
||||
}
|
||||
|
||||
// Token: 0x0600C187 RID: 49543 RVA: 0x002C05BC File Offset: 0x002BE7BC
|
||||
[Token(Token = "0x600C187")]
|
||||
[Address(RVA = "0x1671C50", Offset = "0x1670A50", VA = "0x181671C50", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
DerObjectIdentifier derObjectIdentifier = this.fieldIdentifier;
|
||||
DerObjectIdentifier derObjectIdentifier2 = this.fieldIdentifier;
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
IFiniteField field = this.curve.Field;
|
||||
X9FieldElement x9FieldElement;
|
||||
x9FieldElement.f = field;
|
||||
Asn1Object asn1Object = x9FieldElement.ToAsn1Object();
|
||||
if (asn1Object != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1Object;
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
asn1EncodableVector.Add(array);
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
ECFieldElement a = this.curve.A;
|
||||
X9FieldElement x9FieldElement2;
|
||||
x9FieldElement2.f = a;
|
||||
Asn1Object asn1Object2 = x9FieldElement2.ToAsn1Object();
|
||||
if (asn1Object2 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = asn1Object2;
|
||||
asn1EncodableVector.Add(array2);
|
||||
if (this.seed != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
DerBitString derBitString = new DerBitString(this.seed);
|
||||
if (derBitString != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = derBitString;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x040079FF RID: 31231
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40079FF")]
|
||||
private readonly ECCurve curve;
|
||||
|
||||
// Token: 0x04007A00 RID: 31232
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007A00")]
|
||||
private readonly byte[] seed;
|
||||
|
||||
// Token: 0x04007A01 RID: 31233
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007A01")]
|
||||
private readonly DerObjectIdentifier fieldIdentifier;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,308 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Multiplier;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DE5 RID: 7653
|
||||
[Token(Token = "0x2001DE5")]
|
||||
public class X9ECParameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C188 RID: 49544 RVA: 0x002C0694 File Offset: 0x002BE894
|
||||
[Token(Token = "0x600C188")]
|
||||
[Address(RVA = "0x16729E0", Offset = "0x16717E0", VA = "0x1816729E0")]
|
||||
public static X9ECParameters GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
Asn1Sequence instance;
|
||||
if (obj == 0)
|
||||
{
|
||||
instance = Asn1Sequence.GetInstance(obj);
|
||||
return new X9ECParameters(instance);
|
||||
}
|
||||
if (instance != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C189 RID: 49545 RVA: 0x002C06C8 File Offset: 0x002BE8C8
|
||||
[Token(Token = "0x600C189")]
|
||||
[Address(RVA = "0x1673280", Offset = "0x1672080", VA = "0x181673280")]
|
||||
public X9ECParameters(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C189)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_102:
|
||||
stloc:ArgumentException(var_29_10C, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("bad version in X9ECParameters")))
|
||||
}
|
||||
|
||||
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: 0x0600C18A RID: 49546 RVA: 0x002C07E4 File Offset: 0x002BE9E4
|
||||
[Token(Token = "0x600C18A")]
|
||||
[Address(RVA = "0x1672E80", Offset = "0x1671C80", VA = "0x181672E80")]
|
||||
public X9ECParameters(ECCurve curve, ECPoint g, BigInteger n)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C18B RID: 49547 RVA: 0x002C07F4 File Offset: 0x002BE9F4
|
||||
[Token(Token = "0x600C18B")]
|
||||
[Address(RVA = "0x1672E50", Offset = "0x1671C50", VA = "0x181672E50")]
|
||||
public X9ECParameters(ECCurve curve, X9ECPoint g, BigInteger n, BigInteger h)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C18C RID: 49548 RVA: 0x002C0804 File Offset: 0x002BEA04
|
||||
[Token(Token = "0x600C18C")]
|
||||
[Address(RVA = "0x16738B0", Offset = "0x16726B0", VA = "0x1816738B0")]
|
||||
public X9ECParameters(ECCurve curve, ECPoint g, BigInteger n, BigInteger h)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C18D RID: 49549 RVA: 0x002C0814 File Offset: 0x002BEA14
|
||||
[Token(Token = "0x600C18D")]
|
||||
[Address(RVA = "0x16737A0", Offset = "0x16725A0", VA = "0x1816737A0")]
|
||||
public X9ECParameters(ECCurve curve, ECPoint g, BigInteger n, BigInteger h, byte[] seed)
|
||||
{
|
||||
bool flag = g.IsNormalized();
|
||||
X9ECPoint x9ECPoint;
|
||||
x9ECPoint.p = flag;
|
||||
byte[] array;
|
||||
DerOctetString derOctetString = new DerOctetString(array);
|
||||
x9ECPoint.encoding = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600C18E RID: 49550 RVA: 0x002C0848 File Offset: 0x002BEA48
|
||||
[Token(Token = "0x600C18E")]
|
||||
[Address(RVA = "0x1672EA0", Offset = "0x1671CA0", VA = "0x181672EA0")]
|
||||
public X9ECParameters(ECCurve curve, X9ECPoint g, BigInteger n, BigInteger h, byte[] seed)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C18E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECPoint,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,System.Byte[])
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_C5:
|
||||
stloc:ArgumentException(var_10_CF, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("'curve' is of an unsupported type")))
|
||||
}
|
||||
|
||||
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: 0x17001DD0 RID: 7632
|
||||
// (get) Token: 0x0600C18F RID: 49551 RVA: 0x002C0928 File Offset: 0x002BEB28
|
||||
[Token(Token = "0x17001DD0")]
|
||||
public ECCurve Curve
|
||||
{
|
||||
[Token(Token = "0x600C18F")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.curve;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DD1 RID: 7633
|
||||
// (get) Token: 0x0600C190 RID: 49552 RVA: 0x002C093C File Offset: 0x002BEB3C
|
||||
[Token(Token = "0x17001DD1")]
|
||||
public ECPoint G
|
||||
{
|
||||
[Token(Token = "0x600C190")]
|
||||
[Address(RVA = "0x1673950", Offset = "0x1672750", VA = "0x181673950")]
|
||||
get
|
||||
{
|
||||
X9ECPoint x9ECPoint = this.g;
|
||||
ECPoint p = x9ECPoint.p;
|
||||
if (p == 0)
|
||||
{
|
||||
Asn1OctetString encoding = x9ECPoint.encoding;
|
||||
ECCurve c = x9ECPoint.c;
|
||||
Stream octetStream = encoding.GetOctetStream();
|
||||
ECMultiplier multiplier = c.GetMultiplier();
|
||||
}
|
||||
return p;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DD2 RID: 7634
|
||||
// (get) Token: 0x0600C191 RID: 49553 RVA: 0x002C0980 File Offset: 0x002BEB80
|
||||
[Token(Token = "0x17001DD2")]
|
||||
public BigInteger N
|
||||
{
|
||||
[Token(Token = "0x600C191")]
|
||||
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
|
||||
get
|
||||
{
|
||||
return this.n;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DD3 RID: 7635
|
||||
// (get) Token: 0x0600C192 RID: 49554 RVA: 0x002C0994 File Offset: 0x002BEB94
|
||||
[Token(Token = "0x17001DD3")]
|
||||
public BigInteger H
|
||||
{
|
||||
[Token(Token = "0x600C192")]
|
||||
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
|
||||
get
|
||||
{
|
||||
return this.h;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C193 RID: 49555 RVA: 0x002C09A8 File Offset: 0x002BEBA8
|
||||
[Token(Token = "0x600C193")]
|
||||
[Address(RVA = "0x3F63D0", Offset = "0x3F51D0", VA = "0x1803F63D0")]
|
||||
public byte[] GetSeed()
|
||||
{
|
||||
return this.seed;
|
||||
}
|
||||
|
||||
// Token: 0x17001DD4 RID: 7636
|
||||
// (get) Token: 0x0600C194 RID: 49556 RVA: 0x002C09BC File Offset: 0x002BEBBC
|
||||
[Token(Token = "0x17001DD4")]
|
||||
public X9Curve CurveEntry
|
||||
{
|
||||
[Token(Token = "0x600C194")]
|
||||
[Address(RVA = "0x16738E0", Offset = "0x16726E0", VA = "0x1816738E0")]
|
||||
get
|
||||
{
|
||||
ECCurve eccurve = this.curve;
|
||||
byte[] array = this.seed;
|
||||
return new X9Curve(eccurve, array);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DD5 RID: 7637
|
||||
// (get) Token: 0x0600C195 RID: 49557 RVA: 0x002C09E0 File Offset: 0x002BEBE0
|
||||
[Token(Token = "0x17001DD5")]
|
||||
public X9FieldID FieldIDEntry
|
||||
{
|
||||
[Token(Token = "0x600C195")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.fieldID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DD6 RID: 7638
|
||||
// (get) Token: 0x0600C196 RID: 49558 RVA: 0x002C09F4 File Offset: 0x002BEBF4
|
||||
[Token(Token = "0x17001DD6")]
|
||||
public X9ECPoint BaseEntry
|
||||
{
|
||||
[Token(Token = "0x600C196")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
get
|
||||
{
|
||||
return this.g;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C197 RID: 49559 RVA: 0x002C0A08 File Offset: 0x002BEC08
|
||||
[Token(Token = "0x600C197")]
|
||||
[Address(RVA = "0x1672AE0", Offset = "0x16718E0", VA = "0x181672AE0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[5];
|
||||
DerInteger derInteger = new DerInteger(BigInteger.One);
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
X9FieldID x9FieldID = this.fieldID;
|
||||
if (x9FieldID != 0)
|
||||
{
|
||||
}
|
||||
array[1] = x9FieldID;
|
||||
ECCurve eccurve = this.curve;
|
||||
byte[] array2 = this.seed;
|
||||
X9Curve x9Curve = new X9Curve(eccurve, array2);
|
||||
if (x9Curve != 0)
|
||||
{
|
||||
}
|
||||
array[2] = x9Curve;
|
||||
X9ECPoint x9ECPoint = this.g;
|
||||
if (x9ECPoint != 0)
|
||||
{
|
||||
}
|
||||
array[3] = x9ECPoint;
|
||||
DerInteger derInteger2 = new DerInteger(this.n);
|
||||
if (derInteger2 != 0)
|
||||
{
|
||||
}
|
||||
array[4] = derInteger2;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.h != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
DerInteger derInteger3 = new DerInteger(this.h);
|
||||
if (derInteger3 != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = derInteger3;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007A02 RID: 31234
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007A02")]
|
||||
private X9FieldID fieldID;
|
||||
|
||||
// Token: 0x04007A03 RID: 31235
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007A03")]
|
||||
private ECCurve curve;
|
||||
|
||||
// Token: 0x04007A04 RID: 31236
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007A04")]
|
||||
private X9ECPoint g;
|
||||
|
||||
// Token: 0x04007A05 RID: 31237
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007A05")]
|
||||
private BigInteger n;
|
||||
|
||||
// Token: 0x04007A06 RID: 31238
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4007A06")]
|
||||
private BigInteger h;
|
||||
|
||||
// Token: 0x04007A07 RID: 31239
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4007A07")]
|
||||
private byte[] seed;
|
||||
}
|
||||
}
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DE6 RID: 7654
|
||||
[Token(Token = "0x2001DE6")]
|
||||
public abstract class X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x17001DD7 RID: 7639
|
||||
// (get) Token: 0x0600C198 RID: 49560 RVA: 0x002C0AEC File Offset: 0x002BECEC
|
||||
[Token(Token = "0x17001DD7")]
|
||||
public X9ECParameters Parameters
|
||||
{
|
||||
[Token(Token = "0x600C198")]
|
||||
[Address(RVA = "0x1672930", Offset = "0x1671730", VA = "0x181672930")]
|
||||
get
|
||||
{
|
||||
int num;
|
||||
X9ECParameters x9ECParameters;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
x9ECParameters = this.parameters;
|
||||
if (x9ECParameters == 0)
|
||||
{
|
||||
string text = this.ToString();
|
||||
this.parameters = text;
|
||||
}
|
||||
Monitor.Exit(this);
|
||||
}
|
||||
while (num != 0);
|
||||
return x9ECParameters;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C199 RID: 49561
|
||||
[Token(Token = "0x600C199")]
|
||||
[Address(Slot = "4")]
|
||||
protected abstract X9ECParameters CreateParameters();
|
||||
|
||||
// Token: 0x0600C19A RID: 49562 RVA: 0x002C0B20 File Offset: 0x002BED20
|
||||
[Token(Token = "0x600C19A")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected X9ECParametersHolder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04007A08 RID: 31240
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007A08")]
|
||||
private X9ECParameters parameters;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,147 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Multiplier;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DE7 RID: 7655
|
||||
[Token(Token = "0x2001DE7")]
|
||||
public class X9ECPoint : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C19B RID: 49563 RVA: 0x002C0B34 File Offset: 0x002BED34
|
||||
[Token(Token = "0x600C19B")]
|
||||
[Address(RVA = "0x1673AB0", Offset = "0x16728B0", VA = "0x181673AB0")]
|
||||
public X9ECPoint(ECPoint p)
|
||||
{
|
||||
bool flag = p.IsNormalized();
|
||||
this.p = flag;
|
||||
byte[] array;
|
||||
DerOctetString derOctetString = new DerOctetString(array);
|
||||
this.encoding = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600C19C RID: 49564 RVA: 0x002C0B6C File Offset: 0x002BED6C
|
||||
[Token(Token = "0x600C19C")]
|
||||
[Address(RVA = "0x1673B60", Offset = "0x1672960", VA = "0x181673B60")]
|
||||
public X9ECPoint(ECPoint p, bool compressed)
|
||||
{
|
||||
bool flag = p.IsNormalized();
|
||||
this.p = flag;
|
||||
byte[] array;
|
||||
DerOctetString derOctetString = new DerOctetString(array);
|
||||
this.encoding = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600C19D RID: 49565 RVA: 0x002C0BA4 File Offset: 0x002BEDA4
|
||||
[Token(Token = "0x600C19D")]
|
||||
[Address(RVA = "0x1673C10", Offset = "0x1672A10", VA = "0x181673C10")]
|
||||
public X9ECPoint(ECCurve c, byte[] encoding)
|
||||
{
|
||||
this.c = c;
|
||||
DerOctetString derOctetString = new DerOctetString(Arrays.Clone(encoding));
|
||||
this.encoding = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600C19E RID: 49566 RVA: 0x002C0BD4 File Offset: 0x002BEDD4
|
||||
[Token(Token = "0x600C19E")]
|
||||
[Address(RVA = "0x1673A60", Offset = "0x1672860", VA = "0x181673A60")]
|
||||
public X9ECPoint(ECCurve c, Asn1OctetString s)
|
||||
{
|
||||
Stream octetStream = s.GetOctetStream();
|
||||
}
|
||||
|
||||
// Token: 0x0600C19F RID: 49567 RVA: 0x002C0BF0 File Offset: 0x002BEDF0
|
||||
[Token(Token = "0x600C19F")]
|
||||
[Address(RVA = "0x16739E0", Offset = "0x16727E0", VA = "0x1816739E0")]
|
||||
public byte[] GetPointEncoding()
|
||||
{
|
||||
Stream octetStream = this.encoding.GetOctetStream();
|
||||
byte[] array;
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x17001DD8 RID: 7640
|
||||
// (get) Token: 0x0600C1A0 RID: 49568 RVA: 0x002C0C10 File Offset: 0x002BEE10
|
||||
[Token(Token = "0x17001DD8")]
|
||||
public ECPoint Point
|
||||
{
|
||||
[Token(Token = "0x600C1A0")]
|
||||
[Address(RVA = "0x1673D20", Offset = "0x1672B20", VA = "0x181673D20")]
|
||||
get
|
||||
{
|
||||
ECPoint ecpoint = this.p;
|
||||
if (ecpoint == 0)
|
||||
{
|
||||
ECCurve eccurve = this.c;
|
||||
Stream octetStream = this.encoding.GetOctetStream();
|
||||
ECMultiplier multiplier = eccurve.GetMultiplier();
|
||||
}
|
||||
return ecpoint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DD9 RID: 7641
|
||||
// (get) Token: 0x0600C1A1 RID: 49569 RVA: 0x002C0C4C File Offset: 0x002BEE4C
|
||||
[Token(Token = "0x17001DD9")]
|
||||
public bool IsPointCompressed
|
||||
{
|
||||
[Token(Token = "0x600C1A1")]
|
||||
[Address(RVA = "0x1673CB0", Offset = "0x1672AB0", VA = "0x181673CB0")]
|
||||
get
|
||||
{
|
||||
Stream octetStream = this.encoding.GetOctetStream();
|
||||
if (octetStream != 0 && octetStream._activeReadWriteTask != 0)
|
||||
{
|
||||
SemaphoreSlim asyncActiveSemaphore = octetStream._asyncActiveSemaphore;
|
||||
return asyncActiveSemaphore == (ulong)2L || asyncActiveSemaphore == (ulong)3L;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C1A2 RID: 49570 RVA: 0x002C0C90 File Offset: 0x002BEE90
|
||||
[Token(Token = "0x600C1A2")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C1A2)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9.X9ECPoint::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Asn1OctetString(var_0_06, ldfld:Asn1OctetString(X9ECPoint::encoding, ldloc:X9ECPoint(this)))
|
||||
}
|
||||
|
||||
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: 0x04007A09 RID: 31241
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007A09")]
|
||||
private readonly Asn1OctetString encoding;
|
||||
|
||||
// Token: 0x04007A0A RID: 31242
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007A0A")]
|
||||
private ECCurve c;
|
||||
|
||||
// Token: 0x04007A0B RID: 31243
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007A0B")]
|
||||
private ECPoint p;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DE8 RID: 7656
|
||||
[Token(Token = "0x2001DE8")]
|
||||
public class X9FieldElement : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C1A3 RID: 49571 RVA: 0x002C0CA4 File Offset: 0x002BEEA4
|
||||
[Token(Token = "0x600C1A3")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
public X9FieldElement(ECFieldElement f)
|
||||
{
|
||||
this.f = f;
|
||||
}
|
||||
|
||||
// Token: 0x0600C1A4 RID: 49572 RVA: 0x002C0CC0 File Offset: 0x002BEEC0
|
||||
[Token(Token = "0x600C1A4")]
|
||||
[Address(RVA = "0x1673F00", Offset = "0x1672D00", VA = "0x181673F00")]
|
||||
[Obsolete]
|
||||
public X9FieldElement(BigInteger p, Asn1OctetString s)
|
||||
{
|
||||
Stream octetStream = s.GetOctetStream();
|
||||
BigInteger bigInteger;
|
||||
FpFieldElement fpFieldElement = new FpFieldElement(p, bigInteger);
|
||||
base..ctor();
|
||||
this.f = fpFieldElement;
|
||||
}
|
||||
|
||||
// Token: 0x0600C1A5 RID: 49573 RVA: 0x002C0CF0 File Offset: 0x002BEEF0
|
||||
[Token(Token = "0x600C1A5")]
|
||||
[Address(RVA = "0x1673FC0", Offset = "0x1672DC0", VA = "0x181673FC0")]
|
||||
[Obsolete]
|
||||
public X9FieldElement(int m, int k1, int k2, int k3, Asn1OctetString s)
|
||||
{
|
||||
F2mFieldElement f2mFieldElement;
|
||||
this.f = f2mFieldElement;
|
||||
}
|
||||
|
||||
// Token: 0x17001DDA RID: 7642
|
||||
// (get) Token: 0x0600C1A6 RID: 49574 RVA: 0x002C0D10 File Offset: 0x002BEF10
|
||||
[Token(Token = "0x17001DDA")]
|
||||
public ECFieldElement Value
|
||||
{
|
||||
[Token(Token = "0x600C1A6")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.f;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C1A7 RID: 49575 RVA: 0x002C0D24 File Offset: 0x002BEF24
|
||||
[Token(Token = "0x600C1A7")]
|
||||
[Address(RVA = "0x1673DA0", Offset = "0x1672BA0", VA = "0x181673DA0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
string fieldName = this.f.FieldName;
|
||||
string text = this.f.ToString();
|
||||
byte[] array;
|
||||
if (this > array.Length)
|
||||
{
|
||||
byte[] array2 = new byte[this];
|
||||
int num = array2.Length;
|
||||
int length = array.Length;
|
||||
num -= length;
|
||||
byte[] array3 = new byte[array2];
|
||||
int num2 = array.Length;
|
||||
int length2 = array3.Length;
|
||||
num2 -= length2;
|
||||
int num3 = 0;
|
||||
Array.Copy(array, num2, array3, num3, length2);
|
||||
}
|
||||
DerOctetString derOctetString = new DerOctetString(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007A0C RID: 31244
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007A0C")]
|
||||
private ECFieldElement f;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DE9 RID: 7657
|
||||
[Token(Token = "0x2001DE9")]
|
||||
public class X9FieldID : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C1A8 RID: 49576 RVA: 0x002C0DB0 File Offset: 0x002BEFB0
|
||||
[Token(Token = "0x600C1A8")]
|
||||
[Address(RVA = "0x1674450", Offset = "0x1673250", VA = "0x181674450")]
|
||||
public X9FieldID(BigInteger primeP)
|
||||
{
|
||||
DerObjectIdentifier primeField = X9ObjectIdentifiers.PrimeField;
|
||||
this.id = primeField;
|
||||
DerInteger derInteger = new DerInteger(primeP);
|
||||
this.parameters = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x0600C1A9 RID: 49577 RVA: 0x002C0DE0 File Offset: 0x002BEFE0
|
||||
[Token(Token = "0x600C1A9")]
|
||||
[Address(RVA = "0x1674500", Offset = "0x1673300", VA = "0x181674500")]
|
||||
public X9FieldID(int m, int k1)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C1AA RID: 49578 RVA: 0x002C0DF4 File Offset: 0x002BEFF4
|
||||
[Token(Token = "0x600C1AA")]
|
||||
[Address(RVA = "0x1674520", Offset = "0x1673320", VA = "0x181674520")]
|
||||
public X9FieldID(int m, int k1, int k2, int k3)
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
do
|
||||
{
|
||||
base..ctor();
|
||||
DerObjectIdentifier characteristicTwoField = X9ObjectIdentifiers.CharacteristicTwoField;
|
||||
this.id = characteristicTwoField;
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
DerInteger derInteger = new DerInteger(m);
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (k2 == 0)
|
||||
{
|
||||
goto IL_BA;
|
||||
}
|
||||
}
|
||||
while (k2 <= k1);
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[2];
|
||||
DerObjectIdentifier ppbasis = X9ObjectIdentifiers.PPBasis;
|
||||
if (ppbasis != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = ppbasis;
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[3];
|
||||
DerInteger derInteger2 = new DerInteger(k1);
|
||||
if (derInteger2 != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = derInteger2;
|
||||
DerInteger derInteger3 = new DerInteger(k2);
|
||||
if (derInteger3 != 0)
|
||||
{
|
||||
}
|
||||
array3[1] = derInteger3;
|
||||
DerInteger derInteger4;
|
||||
if (derInteger4 != 0)
|
||||
{
|
||||
}
|
||||
array3[2] = derInteger4;
|
||||
DerSequence derSequence = new DerSequence(array3);
|
||||
if (derSequence != 0)
|
||||
{
|
||||
}
|
||||
array2[1] = derSequence;
|
||||
IL_BA:
|
||||
Asn1Encodable[] array4 = new Asn1Encodable[2];
|
||||
DerObjectIdentifier tpbasis = X9ObjectIdentifiers.TPBasis;
|
||||
if (tpbasis != 0)
|
||||
{
|
||||
}
|
||||
array4[0] = tpbasis;
|
||||
DerInteger derInteger5 = new DerInteger(k1);
|
||||
if (derInteger5 != 0)
|
||||
{
|
||||
}
|
||||
array4[1] = derInteger5;
|
||||
asn1EncodableVector.Add(array4);
|
||||
DerSequence derSequence2 = new DerSequence(asn1EncodableVector);
|
||||
this.parameters = derSequence2;
|
||||
}
|
||||
|
||||
// Token: 0x0600C1AB RID: 49579 RVA: 0x002C0F10 File Offset: 0x002BF110
|
||||
[Token(Token = "0x600C1AB")]
|
||||
[Address(RVA = "0x1674370", Offset = "0x1673170", VA = "0x181674370")]
|
||||
private X9FieldID(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DerObjectIdentifier derObjectIdentifier;
|
||||
this.id = derObjectIdentifier;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
this.parameters = parser2;
|
||||
}
|
||||
|
||||
// Token: 0x0600C1AC RID: 49580 RVA: 0x002C0F48 File Offset: 0x002BF148
|
||||
[Token(Token = "0x600C1AC")]
|
||||
[Address(RVA = "0x16740B0", Offset = "0x1672EB0", VA = "0x1816740B0")]
|
||||
public static X9FieldID GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
X9FieldID x9FieldID;
|
||||
if (obj == 0)
|
||||
{
|
||||
Asn1Sequence instance = Asn1Sequence.GetInstance(obj);
|
||||
Asn1SequenceParser parser = instance.Parser;
|
||||
DerObjectIdentifier derObjectIdentifier;
|
||||
x9FieldID.id = derObjectIdentifier;
|
||||
Asn1SequenceParser parser2 = instance.Parser;
|
||||
x9FieldID.parameters = parser2;
|
||||
return x9FieldID;
|
||||
}
|
||||
if (x9FieldID != 0)
|
||||
{
|
||||
return x9FieldID;
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001DDB RID: 7643
|
||||
// (get) Token: 0x0600C1AD RID: 49581 RVA: 0x002C0F98 File Offset: 0x002BF198
|
||||
[Token(Token = "0x17001DDB")]
|
||||
public DerObjectIdentifier Identifier
|
||||
{
|
||||
[Token(Token = "0x600C1AD")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.id;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001DDC RID: 7644
|
||||
// (get) Token: 0x0600C1AE RID: 49582 RVA: 0x002C0FAC File Offset: 0x002BF1AC
|
||||
[Token(Token = "0x17001DDC")]
|
||||
public Asn1Object Parameters
|
||||
{
|
||||
[Token(Token = "0x600C1AE")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.parameters;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C1AF RID: 49583 RVA: 0x002C0FC0 File Offset: 0x002BF1C0
|
||||
[Token(Token = "0x600C1AF")]
|
||||
[Address(RVA = "0x1674260", Offset = "0x1673060", VA = "0x181674260", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerObjectIdentifier derObjectIdentifier = this.id;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derObjectIdentifier;
|
||||
Asn1Object asn1Object = this.parameters;
|
||||
if (asn1Object != 0)
|
||||
{
|
||||
}
|
||||
array[1] = asn1Object;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007A0D RID: 31245
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007A0D")]
|
||||
private readonly DerObjectIdentifier id;
|
||||
|
||||
// Token: 0x04007A0E RID: 31246
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007A0E")]
|
||||
private readonly Asn1Object parameters;
|
||||
}
|
||||
}
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DEA RID: 7658
|
||||
[Token(Token = "0x2001DEA")]
|
||||
public abstract class X9IntegerConverter
|
||||
{
|
||||
// Token: 0x0600C1B0 RID: 49584 RVA: 0x002C1008 File Offset: 0x002BF208
|
||||
[Token(Token = "0x600C1B0")]
|
||||
[Address(RVA = "0x1674AC0", Offset = "0x16738C0", VA = "0x181674AC0")]
|
||||
public static int GetByteLength(ECFieldElement fe)
|
||||
{
|
||||
string text = fe.FieldName;
|
||||
text += 0;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C1B1 RID: 49585 RVA: 0x002C1028 File Offset: 0x002BF228
|
||||
[Token(Token = "0x600C1B1")]
|
||||
[Address(RVA = "0x1674A90", Offset = "0x1673890", VA = "0x181674A90")]
|
||||
public static int GetByteLength(ECCurve c)
|
||||
{
|
||||
string text = c.ToString();
|
||||
text += 0;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C1B2 RID: 49586 RVA: 0x002C1048 File Offset: 0x002BF248
|
||||
[Token(Token = "0x600C1B2")]
|
||||
[Address(RVA = "0x1674AF0", Offset = "0x16738F0", VA = "0x181674AF0")]
|
||||
public static byte[] IntegerToBytes(BigInteger s, int qLength)
|
||||
{
|
||||
byte[] array = s.ToByteArrayUnsigned();
|
||||
if (qLength > array.Length)
|
||||
{
|
||||
byte[] array2 = new byte[qLength];
|
||||
int length = array.Length;
|
||||
int num = array2.Length;
|
||||
num -= length;
|
||||
int num2 = 0;
|
||||
Array.Copy(array, num2, array2, num, length);
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x0600C1B3 RID: 49587 RVA: 0x002C10A0 File Offset: 0x002BF2A0
|
||||
[Token(Token = "0x600C1B3")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected X9IntegerConverter()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+283
@@ -0,0 +1,283 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001DEB RID: 7659
|
||||
[Token(Token = "0x2001DEB")]
|
||||
public abstract class X9ObjectIdentifiers
|
||||
{
|
||||
// Token: 0x0600C1B4 RID: 49588 RVA: 0x002C10B4 File Offset: 0x002BF2B4
|
||||
[Token(Token = "0x600C1B4")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected X9ObjectIdentifiers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04007A0F RID: 31247
|
||||
[Token(Token = "0x4007A0F")]
|
||||
internal const string AnsiX962 = "1.2.840.10045";
|
||||
|
||||
// Token: 0x04007A10 RID: 31248
|
||||
[Token(Token = "0x4007A10")]
|
||||
public static readonly DerObjectIdentifier ansi_X9_62 = new DerObjectIdentifier("1.2.840.10045");
|
||||
|
||||
// Token: 0x04007A11 RID: 31249
|
||||
[Token(Token = "0x4007A11")]
|
||||
public static readonly DerObjectIdentifier IdFieldType = X9ObjectIdentifiers.ansi_X9_62.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A12 RID: 31250
|
||||
[Token(Token = "0x4007A12")]
|
||||
public static readonly DerObjectIdentifier PrimeField = X9ObjectIdentifiers.IdFieldType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A13 RID: 31251
|
||||
[Token(Token = "0x4007A13")]
|
||||
public static readonly DerObjectIdentifier CharacteristicTwoField = X9ObjectIdentifiers.IdFieldType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A14 RID: 31252
|
||||
[Token(Token = "0x4007A14")]
|
||||
public static readonly DerObjectIdentifier GNBasis = X9ObjectIdentifiers.CharacteristicTwoField.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A15 RID: 31253
|
||||
[Token(Token = "0x4007A15")]
|
||||
public static readonly DerObjectIdentifier TPBasis = X9ObjectIdentifiers.CharacteristicTwoField.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A16 RID: 31254
|
||||
[Token(Token = "0x4007A16")]
|
||||
public static readonly DerObjectIdentifier PPBasis = X9ObjectIdentifiers.CharacteristicTwoField.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A17 RID: 31255
|
||||
[Token(Token = "0x4007A17")]
|
||||
[Obsolete]
|
||||
public const string IdECSigType = "1.2.840.10045.4";
|
||||
|
||||
// Token: 0x04007A18 RID: 31256
|
||||
[Token(Token = "0x4007A18")]
|
||||
public static readonly DerObjectIdentifier id_ecSigType = X9ObjectIdentifiers.ansi_X9_62.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A19 RID: 31257
|
||||
[Token(Token = "0x4007A19")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha1 = X9ObjectIdentifiers.id_ecSigType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A1A RID: 31258
|
||||
[Token(Token = "0x4007A1A")]
|
||||
[Obsolete]
|
||||
public const string IdPublicKeyType = "1.2.840.10045.2";
|
||||
|
||||
// Token: 0x04007A1B RID: 31259
|
||||
[Token(Token = "0x4007A1B")]
|
||||
public static readonly DerObjectIdentifier id_publicKeyType = X9ObjectIdentifiers.ansi_X9_62.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A1C RID: 31260
|
||||
[Token(Token = "0x4007A1C")]
|
||||
public static readonly DerObjectIdentifier IdECPublicKey = X9ObjectIdentifiers.id_publicKeyType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A1D RID: 31261
|
||||
[Token(Token = "0x4007A1D")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha2 = X9ObjectIdentifiers.id_ecSigType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A1E RID: 31262
|
||||
[Token(Token = "0x4007A1E")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha224 = X9ObjectIdentifiers.ECDsaWithSha2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A1F RID: 31263
|
||||
[Token(Token = "0x4007A1F")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha256 = X9ObjectIdentifiers.ECDsaWithSha2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A20 RID: 31264
|
||||
[Token(Token = "0x4007A20")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha384 = X9ObjectIdentifiers.ECDsaWithSha2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A21 RID: 31265
|
||||
[Token(Token = "0x4007A21")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha512 = X9ObjectIdentifiers.ECDsaWithSha2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A22 RID: 31266
|
||||
[Token(Token = "0x4007A22")]
|
||||
public static readonly DerObjectIdentifier EllipticCurve = X9ObjectIdentifiers.ansi_X9_62.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A23 RID: 31267
|
||||
[Token(Token = "0x4007A23")]
|
||||
public static readonly DerObjectIdentifier CTwoCurve = X9ObjectIdentifiers.EllipticCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A24 RID: 31268
|
||||
[Token(Token = "0x4007A24")]
|
||||
public static readonly DerObjectIdentifier C2Pnb163v1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A25 RID: 31269
|
||||
[Token(Token = "0x4007A25")]
|
||||
public static readonly DerObjectIdentifier C2Pnb163v2 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A26 RID: 31270
|
||||
[Token(Token = "0x4007A26")]
|
||||
public static readonly DerObjectIdentifier C2Pnb163v3 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A27 RID: 31271
|
||||
[Token(Token = "0x4007A27")]
|
||||
public static readonly DerObjectIdentifier C2Pnb176w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A28 RID: 31272
|
||||
[Token(Token = "0x4007A28")]
|
||||
public static readonly DerObjectIdentifier C2Tnb191v1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A29 RID: 31273
|
||||
[Token(Token = "0x4007A29")]
|
||||
public static readonly DerObjectIdentifier C2Tnb191v2 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A2A RID: 31274
|
||||
[Token(Token = "0x4007A2A")]
|
||||
public static readonly DerObjectIdentifier C2Tnb191v3 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A2B RID: 31275
|
||||
[Token(Token = "0x4007A2B")]
|
||||
public static readonly DerObjectIdentifier C2Onb191v4 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A2C RID: 31276
|
||||
[Token(Token = "0x4007A2C")]
|
||||
public static readonly DerObjectIdentifier C2Onb191v5 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A2D RID: 31277
|
||||
[Token(Token = "0x4007A2D")]
|
||||
public static readonly DerObjectIdentifier C2Pnb208w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A2E RID: 31278
|
||||
[Token(Token = "0x4007A2E")]
|
||||
public static readonly DerObjectIdentifier C2Tnb239v1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A2F RID: 31279
|
||||
[Token(Token = "0x4007A2F")]
|
||||
public static readonly DerObjectIdentifier C2Tnb239v2 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A30 RID: 31280
|
||||
[Token(Token = "0x4007A30")]
|
||||
public static readonly DerObjectIdentifier C2Tnb239v3 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A31 RID: 31281
|
||||
[Token(Token = "0x4007A31")]
|
||||
public static readonly DerObjectIdentifier C2Onb239v4 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A32 RID: 31282
|
||||
[Token(Token = "0x4007A32")]
|
||||
public static readonly DerObjectIdentifier C2Onb239v5 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A33 RID: 31283
|
||||
[Token(Token = "0x4007A33")]
|
||||
public static readonly DerObjectIdentifier C2Pnb272w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A34 RID: 31284
|
||||
[Token(Token = "0x4007A34")]
|
||||
public static readonly DerObjectIdentifier C2Pnb304w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A35 RID: 31285
|
||||
[Token(Token = "0x4007A35")]
|
||||
public static readonly DerObjectIdentifier C2Tnb359v1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A36 RID: 31286
|
||||
[Token(Token = "0x4007A36")]
|
||||
public static readonly DerObjectIdentifier C2Pnb368w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A37 RID: 31287
|
||||
[Token(Token = "0x4007A37")]
|
||||
public static readonly DerObjectIdentifier C2Tnb431r1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A38 RID: 31288
|
||||
[Token(Token = "0x4007A38")]
|
||||
public static readonly DerObjectIdentifier PrimeCurve = X9ObjectIdentifiers.EllipticCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A39 RID: 31289
|
||||
[Token(Token = "0x4007A39")]
|
||||
public static readonly DerObjectIdentifier Prime192v1 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A3A RID: 31290
|
||||
[Token(Token = "0x4007A3A")]
|
||||
public static readonly DerObjectIdentifier Prime192v2 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A3B RID: 31291
|
||||
[Token(Token = "0x4007A3B")]
|
||||
public static readonly DerObjectIdentifier Prime192v3 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A3C RID: 31292
|
||||
[Token(Token = "0x4007A3C")]
|
||||
public static readonly DerObjectIdentifier Prime239v1 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A3D RID: 31293
|
||||
[Token(Token = "0x4007A3D")]
|
||||
public static readonly DerObjectIdentifier Prime239v2 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A3E RID: 31294
|
||||
[Token(Token = "0x4007A3E")]
|
||||
public static readonly DerObjectIdentifier Prime239v3 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A3F RID: 31295
|
||||
[Token(Token = "0x4007A3F")]
|
||||
public static readonly DerObjectIdentifier Prime256v1 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A40 RID: 31296
|
||||
[Token(Token = "0x4007A40")]
|
||||
public static readonly DerObjectIdentifier IdDsa = new DerObjectIdentifier("1.2.840.10040.4.1");
|
||||
|
||||
// Token: 0x04007A41 RID: 31297
|
||||
[Token(Token = "0x4007A41")]
|
||||
public static readonly DerObjectIdentifier IdDsaWithSha1 = new DerObjectIdentifier("1.2.840.10040.4.3");
|
||||
|
||||
// Token: 0x04007A42 RID: 31298
|
||||
[Token(Token = "0x4007A42")]
|
||||
public static readonly DerObjectIdentifier X9x63Scheme = new DerObjectIdentifier("1.3.133.16.840.63.0");
|
||||
|
||||
// Token: 0x04007A43 RID: 31299
|
||||
[Token(Token = "0x4007A43")]
|
||||
public static readonly DerObjectIdentifier DHSinglePassStdDHSha1KdfScheme = X9ObjectIdentifiers.X9x63Scheme.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A44 RID: 31300
|
||||
[Token(Token = "0x4007A44")]
|
||||
public static readonly DerObjectIdentifier DHSinglePassCofactorDHSha1KdfScheme = X9ObjectIdentifiers.X9x63Scheme.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A45 RID: 31301
|
||||
[Token(Token = "0x4007A45")]
|
||||
public static readonly DerObjectIdentifier MqvSinglePassSha1KdfScheme = X9ObjectIdentifiers.X9x63Scheme.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A46 RID: 31302
|
||||
[Token(Token = "0x4007A46")]
|
||||
public static readonly DerObjectIdentifier ansi_x9_42 = new DerObjectIdentifier("1.2.840.10046");
|
||||
|
||||
// Token: 0x04007A47 RID: 31303
|
||||
[Token(Token = "0x4007A47")]
|
||||
public static readonly DerObjectIdentifier DHPublicNumber = X9ObjectIdentifiers.ansi_x9_42.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A48 RID: 31304
|
||||
[Token(Token = "0x4007A48")]
|
||||
public static readonly DerObjectIdentifier X9x42Schemes = X9ObjectIdentifiers.ansi_x9_42.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A49 RID: 31305
|
||||
[Token(Token = "0x4007A49")]
|
||||
public static readonly DerObjectIdentifier DHStatic = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A4A RID: 31306
|
||||
[Token(Token = "0x4007A4A")]
|
||||
public static readonly DerObjectIdentifier DHEphem = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A4B RID: 31307
|
||||
[Token(Token = "0x4007A4B")]
|
||||
public static readonly DerObjectIdentifier DHOneFlow = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A4C RID: 31308
|
||||
[Token(Token = "0x4007A4C")]
|
||||
public static readonly DerObjectIdentifier DHHybrid1 = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A4D RID: 31309
|
||||
[Token(Token = "0x4007A4D")]
|
||||
public static readonly DerObjectIdentifier DHHybrid2 = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A4E RID: 31310
|
||||
[Token(Token = "0x4007A4E")]
|
||||
public static readonly DerObjectIdentifier DHHybridOneFlow = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A4F RID: 31311
|
||||
[Token(Token = "0x4007A4F")]
|
||||
public static readonly DerObjectIdentifier Mqv2 = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007A50 RID: 31312
|
||||
[Token(Token = "0x4007A50")]
|
||||
public static readonly DerObjectIdentifier Mqv1 = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user