m
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: 0x02001EA5 RID: 7845
|
||||
[Token(Token = "0x2001EA5")]
|
||||
public class DHDomainParameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C4D1 RID: 50385 RVA: 0x002C72FC File Offset: 0x002C54FC
|
||||
[Token(Token = "0x600C4D1")]
|
||||
[Address(RVA = "0x214D000", Offset = "0x214C000", VA = "0x18214D000")]
|
||||
public static DHDomainParameters GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return DHDomainParameters.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600C4D2 RID: 50386 RVA: 0x002C7318 File Offset: 0x002C5518
|
||||
[Token(Token = "0x600C4D2")]
|
||||
[Address(RVA = "0x214D020", Offset = "0x214C020", VA = "0x18214D020")]
|
||||
public static DHDomainParameters GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C4D2)
|
||||
|
||||
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: 0x0600C4D3 RID: 50387 RVA: 0x002C736C File Offset: 0x002C556C
|
||||
[Token(Token = "0x600C4D3")]
|
||||
[Address(RVA = "0x214D570", Offset = "0x214C570", VA = "0x18214D570")]
|
||||
public DHDomainParameters(DerInteger p, DerInteger g, DerInteger q, DerInteger j, DHValidationParms validationParms)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C4D3)
|
||||
|
||||
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: 0x0600C4D4 RID: 50388 RVA: 0x002C73C4 File Offset: 0x002C55C4
|
||||
[Token(Token = "0x600C4D4")]
|
||||
[Address(RVA = "0x214D690", Offset = "0x214C690", VA = "0x18214D690")]
|
||||
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: 0x0600C4D5 RID: 50389 RVA: 0x002C7468 File Offset: 0x002C5668
|
||||
[Token(Token = "0x600C4D5")]
|
||||
[Address(RVA = "0x214D220", Offset = "0x214C220", VA = "0x18214D220")]
|
||||
private static Asn1Encodable GetNext(IEnumerator e)
|
||||
{
|
||||
while (e == 0)
|
||||
{
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001E5A RID: 7770
|
||||
// (get) Token: 0x0600C4D6 RID: 50390 RVA: 0x002C7484 File Offset: 0x002C5684
|
||||
[Token(Token = "0x17001E5A")]
|
||||
public DerInteger P
|
||||
{
|
||||
[Token(Token = "0x600C4D6")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.p;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E5B RID: 7771
|
||||
// (get) Token: 0x0600C4D7 RID: 50391 RVA: 0x002C7498 File Offset: 0x002C5698
|
||||
[Token(Token = "0x17001E5B")]
|
||||
public DerInteger G
|
||||
{
|
||||
[Token(Token = "0x600C4D7")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.g;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E5C RID: 7772
|
||||
// (get) Token: 0x0600C4D8 RID: 50392 RVA: 0x002C74AC File Offset: 0x002C56AC
|
||||
[Token(Token = "0x17001E5C")]
|
||||
public DerInteger Q
|
||||
{
|
||||
[Token(Token = "0x600C4D8")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return this.q;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E5D RID: 7773
|
||||
// (get) Token: 0x0600C4D9 RID: 50393 RVA: 0x002C74C0 File Offset: 0x002C56C0
|
||||
[Token(Token = "0x17001E5D")]
|
||||
public DerInteger J
|
||||
{
|
||||
[Token(Token = "0x600C4D9")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
|
||||
get
|
||||
{
|
||||
return this.j;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E5E RID: 7774
|
||||
// (get) Token: 0x0600C4DA RID: 50394 RVA: 0x002C74D4 File Offset: 0x002C56D4
|
||||
[Token(Token = "0x17001E5E")]
|
||||
public DHValidationParms ValidationParms
|
||||
{
|
||||
[Token(Token = "0x600C4DA")]
|
||||
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
|
||||
get
|
||||
{
|
||||
return this.validationParms;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C4DB RID: 50395 RVA: 0x002C74E8 File Offset: 0x002C56E8
|
||||
[Token(Token = "0x600C4DB")]
|
||||
[Address(RVA = "0x214D2D0", Offset = "0x214C2D0", VA = "0x18214D2D0", 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: 0x04007B90 RID: 31632
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007B90")]
|
||||
private readonly DerInteger p;
|
||||
|
||||
// Token: 0x04007B91 RID: 31633
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007B91")]
|
||||
private readonly DerInteger g;
|
||||
|
||||
// Token: 0x04007B92 RID: 31634
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007B92")]
|
||||
private readonly DerInteger q;
|
||||
|
||||
// Token: 0x04007B93 RID: 31635
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007B93")]
|
||||
private readonly DerInteger j;
|
||||
|
||||
// Token: 0x04007B94 RID: 31636
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4007B94")]
|
||||
private readonly DHValidationParms validationParms;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001EA6 RID: 7846
|
||||
[Token(Token = "0x2001EA6")]
|
||||
public class DHPublicKey : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C4DC RID: 50396 RVA: 0x002C75B4 File Offset: 0x002C57B4
|
||||
[Token(Token = "0x600C4DC")]
|
||||
[Address(RVA = "0x214DA70", Offset = "0x214CA70", VA = "0x18214DA70")]
|
||||
public static DHPublicKey GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return DHPublicKey.GetInstance(DerInteger.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600C4DD RID: 50397 RVA: 0x002C75D0 File Offset: 0x002C57D0
|
||||
[Token(Token = "0x600C4DD")]
|
||||
[Address(RVA = "0x214D860", Offset = "0x214C860", VA = "0x18214D860")]
|
||||
public static DHPublicKey GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C4DD)
|
||||
|
||||
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: 0x0600C4DE RID: 50398 RVA: 0x002C762C File Offset: 0x002C582C
|
||||
[Token(Token = "0x600C4DE")]
|
||||
[Address(RVA = "0x214DA90", Offset = "0x214CA90", VA = "0x18214DA90")]
|
||||
public DHPublicKey(DerInteger y)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C4DE)
|
||||
|
||||
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: 0x17001E5F RID: 7775
|
||||
// (get) Token: 0x0600C4DF RID: 50399 RVA: 0x002C7658 File Offset: 0x002C5858
|
||||
[Token(Token = "0x17001E5F")]
|
||||
public DerInteger Y
|
||||
{
|
||||
[Token(Token = "0x600C4DF")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.y;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C4E0 RID: 50400 RVA: 0x002C766C File Offset: 0x002C586C
|
||||
[Token(Token = "0x600C4E0")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C4E0)
|
||||
|
||||
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: 0x04007B95 RID: 31637
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007B95")]
|
||||
private readonly DerInteger y;
|
||||
}
|
||||
}
|
||||
+146
@@ -0,0 +1,146 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001EA7 RID: 7847
|
||||
[Token(Token = "0x2001EA7")]
|
||||
public class DHValidationParms : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C4E1 RID: 50401 RVA: 0x002C7680 File Offset: 0x002C5880
|
||||
[Token(Token = "0x600C4E1")]
|
||||
[Address(RVA = "0x214DB10", Offset = "0x214CB10", VA = "0x18214DB10")]
|
||||
public static DHValidationParms GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return DHValidationParms.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600C4E2 RID: 50402 RVA: 0x002C769C File Offset: 0x002C589C
|
||||
[Token(Token = "0x600C4E2")]
|
||||
[Address(RVA = "0x214DB30", Offset = "0x214CB30", VA = "0x18214DB30")]
|
||||
public static DHValidationParms GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C4E2)
|
||||
|
||||
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: 0x0600C4E3 RID: 50403 RVA: 0x002C76FC File Offset: 0x002C58FC
|
||||
[Token(Token = "0x600C4E3")]
|
||||
[Address(RVA = "0x214DF50", Offset = "0x214CF50", VA = "0x18214DF50")]
|
||||
public DHValidationParms(DerBitString seed, DerInteger pgenCounter)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C4E3)
|
||||
|
||||
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: 0x0600C4E4 RID: 50404 RVA: 0x002C773C File Offset: 0x002C593C
|
||||
[Token(Token = "0x600C4E4")]
|
||||
[Address(RVA = "0x214E020", Offset = "0x214D020", VA = "0x18214E020")]
|
||||
private DHValidationParms(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DerBitString derBitString;
|
||||
this.seed = derBitString;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
DerInteger derInteger;
|
||||
this.pgenCounter = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x17001E60 RID: 7776
|
||||
// (get) Token: 0x0600C4E5 RID: 50405 RVA: 0x002C7774 File Offset: 0x002C5974
|
||||
[Token(Token = "0x17001E60")]
|
||||
public DerBitString Seed
|
||||
{
|
||||
[Token(Token = "0x600C4E5")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.seed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E61 RID: 7777
|
||||
// (get) Token: 0x0600C4E6 RID: 50406 RVA: 0x002C7788 File Offset: 0x002C5988
|
||||
[Token(Token = "0x17001E61")]
|
||||
public DerInteger PgenCounter
|
||||
{
|
||||
[Token(Token = "0x600C4E6")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.pgenCounter;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C4E7 RID: 50407 RVA: 0x002C779C File Offset: 0x002C599C
|
||||
[Token(Token = "0x600C4E7")]
|
||||
[Address(RVA = "0x214DE40", Offset = "0x214CE40", VA = "0x18214DE40", 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: 0x04007B96 RID: 31638
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007B96")]
|
||||
private readonly DerBitString seed;
|
||||
|
||||
// Token: 0x04007B97 RID: 31639
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007B97")]
|
||||
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: 0x02001EA8 RID: 7848
|
||||
[Token(Token = "0x2001EA8")]
|
||||
public class ECNamedCurveTable
|
||||
{
|
||||
// Token: 0x0600C4E8 RID: 50408 RVA: 0x002C77E4 File Offset: 0x002C59E4
|
||||
[Token(Token = "0x600C4E8")]
|
||||
[Address(RVA = "0x214E230", Offset = "0x214D230", VA = "0x18214E230")]
|
||||
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: 0x0600C4E9 RID: 50409 RVA: 0x002C7840 File Offset: 0x002C5A40
|
||||
[Token(Token = "0x600C4E9")]
|
||||
[Address(RVA = "0x214E570", Offset = "0x214D570", VA = "0x18214E570")]
|
||||
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: 0x0600C4EA RID: 50410 RVA: 0x002C788C File Offset: 0x002C5A8C
|
||||
[Token(Token = "0x600C4EA")]
|
||||
[Address(RVA = "0x214E770", Offset = "0x214D770", VA = "0x18214E770")]
|
||||
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: 0x0600C4EB RID: 50411 RVA: 0x002C78DC File Offset: 0x002C5ADC
|
||||
[Token(Token = "0x600C4EB")]
|
||||
[Address(RVA = "0x214E420", Offset = "0x214D420", VA = "0x18214E420")]
|
||||
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: 0x17001E62 RID: 7778
|
||||
// (get) Token: 0x0600C4EC RID: 50412 RVA: 0x002C7928 File Offset: 0x002C5B28
|
||||
[Token(Token = "0x17001E62")]
|
||||
public static IEnumerable Names
|
||||
{
|
||||
[Token(Token = "0x600C4EC")]
|
||||
[Address(RVA = "0x214E8E0", Offset = "0x214D8E0", VA = "0x18214E8E0")]
|
||||
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: 0x0600C4ED RID: 50413 RVA: 0x002C79BC File Offset: 0x002C5BBC
|
||||
[Token(Token = "0x600C4ED")]
|
||||
[Address(RVA = "0x214E170", Offset = "0x214D170", VA = "0x18214E170")]
|
||||
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: 0x0600C4EE RID: 50414 RVA: 0x002C7A00 File Offset: 0x002C5C00
|
||||
[Token(Token = "0x600C4EE")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
public ECNamedCurveTable()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001EA9 RID: 7849
|
||||
[Token(Token = "0x2001EA9")]
|
||||
public class KeySpecificInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C4EF RID: 50415 RVA: 0x002C7A14 File Offset: 0x002C5C14
|
||||
[Token(Token = "0x600C4EF")]
|
||||
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
|
||||
public KeySpecificInfo(DerObjectIdentifier algorithm, Asn1OctetString counter)
|
||||
{
|
||||
this.algorithm = algorithm;
|
||||
this.counter = counter;
|
||||
}
|
||||
|
||||
// Token: 0x0600C4F0 RID: 50416 RVA: 0x002C7A38 File Offset: 0x002C5C38
|
||||
[Token(Token = "0x600C4F0")]
|
||||
[Address(RVA = "0x214EC50", Offset = "0x214DC50", VA = "0x18214EC50")]
|
||||
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: 0x17001E63 RID: 7779
|
||||
// (get) Token: 0x0600C4F1 RID: 50417 RVA: 0x002C7A7C File Offset: 0x002C5C7C
|
||||
[Token(Token = "0x17001E63")]
|
||||
public DerObjectIdentifier Algorithm
|
||||
{
|
||||
[Token(Token = "0x600C4F1")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.algorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E64 RID: 7780
|
||||
// (get) Token: 0x0600C4F2 RID: 50418 RVA: 0x002C7A90 File Offset: 0x002C5C90
|
||||
[Token(Token = "0x17001E64")]
|
||||
public Asn1OctetString Counter
|
||||
{
|
||||
[Token(Token = "0x600C4F2")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.counter;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C4F3 RID: 50419 RVA: 0x002C7AA4 File Offset: 0x002C5CA4
|
||||
[Token(Token = "0x600C4F3")]
|
||||
[Address(RVA = "0x214EB40", Offset = "0x214DB40", VA = "0x18214EB40", 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: 0x04007B98 RID: 31640
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007B98")]
|
||||
private DerObjectIdentifier algorithm;
|
||||
|
||||
// Token: 0x04007B99 RID: 31641
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007B99")]
|
||||
private Asn1OctetString counter;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,166 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001EAA RID: 7850
|
||||
[Token(Token = "0x2001EAA")]
|
||||
public class OtherInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C4F4 RID: 50420 RVA: 0x002C7AEC File Offset: 0x002C5CEC
|
||||
[Token(Token = "0x600C4F4")]
|
||||
[Address(RVA = "0xED6DA0", Offset = "0xED5DA0", VA = "0x180ED6DA0")]
|
||||
public OtherInfo(KeySpecificInfo keyInfo, Asn1OctetString partyAInfo, Asn1OctetString suppPubInfo)
|
||||
{
|
||||
this.keyInfo = keyInfo;
|
||||
this.partyAInfo = partyAInfo;
|
||||
this.suppPubInfo = suppPubInfo;
|
||||
}
|
||||
|
||||
// Token: 0x0600C4F5 RID: 50421 RVA: 0x002C7B14 File Offset: 0x002C5D14
|
||||
[Token(Token = "0x600C4F5")]
|
||||
[Address(RVA = "0x214F010", Offset = "0x214E010", VA = "0x18214F010")]
|
||||
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: 0x17001E65 RID: 7781
|
||||
// (get) Token: 0x0600C4F6 RID: 50422 RVA: 0x002C7BA0 File Offset: 0x002C5DA0
|
||||
[Token(Token = "0x17001E65")]
|
||||
public KeySpecificInfo KeyInfo
|
||||
{
|
||||
[Token(Token = "0x600C4F6")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.keyInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E66 RID: 7782
|
||||
// (get) Token: 0x0600C4F7 RID: 50423 RVA: 0x002C7BB4 File Offset: 0x002C5DB4
|
||||
[Token(Token = "0x17001E66")]
|
||||
public Asn1OctetString PartyAInfo
|
||||
{
|
||||
[Token(Token = "0x600C4F7")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.partyAInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E67 RID: 7783
|
||||
// (get) Token: 0x0600C4F8 RID: 50424 RVA: 0x002C7BC8 File Offset: 0x002C5DC8
|
||||
[Token(Token = "0x17001E67")]
|
||||
public Asn1OctetString SuppPubInfo
|
||||
{
|
||||
[Token(Token = "0x600C4F8")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return this.suppPubInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C4F9 RID: 50425 RVA: 0x002C7BDC File Offset: 0x002C5DDC
|
||||
[Token(Token = "0x600C4F9")]
|
||||
[Address(RVA = "0x214EDC0", Offset = "0x214DDC0", VA = "0x18214EDC0", 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: 0x04007B9A RID: 31642
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007B9A")]
|
||||
private KeySpecificInfo keyInfo;
|
||||
|
||||
// Token: 0x04007B9B RID: 31643
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007B9B")]
|
||||
private Asn1OctetString partyAInfo;
|
||||
|
||||
// Token: 0x04007B9C RID: 31644
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007B9C")]
|
||||
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: 0x02001EAB RID: 7851
|
||||
[Token(Token = "0x2001EAB")]
|
||||
public sealed class X962NamedCurves
|
||||
{
|
||||
// Token: 0x0600C4FA RID: 50426 RVA: 0x002C7C88 File Offset: 0x002C5E88
|
||||
[Token(Token = "0x600C4FA")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private X962NamedCurves()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C4FB RID: 50427 RVA: 0x002C7C9C File Offset: 0x002C5E9C
|
||||
[Token(Token = "0x600C4FB")]
|
||||
[Address(RVA = "0x21517C0", Offset = "0x21507C0", VA = "0x1821517C0")]
|
||||
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: 0x0600C4FC RID: 50428 RVA: 0x002C7CC8 File Offset: 0x002C5EC8
|
||||
[Token(Token = "0x600C4FC")]
|
||||
[Address(RVA = "0x2151C10", Offset = "0x2150C10", VA = "0x182151C10")]
|
||||
static X962NamedCurves()
|
||||
{
|
||||
IDictionary dictionary = Platform.CreateHashtable();
|
||||
X962NamedCurves.objIds = dictionary;
|
||||
IDictionary dictionary2 = Platform.CreateHashtable();
|
||||
X962NamedCurves.curves = dictionary2;
|
||||
X962NamedCurves.names = Platform.CreateHashtable();
|
||||
}
|
||||
|
||||
// Token: 0x0600C4FD RID: 50429 RVA: 0x002C7D00 File Offset: 0x002C5F00
|
||||
[Token(Token = "0x600C4FD")]
|
||||
[Address(RVA = "0x2151900", Offset = "0x2150900", VA = "0x182151900")]
|
||||
public static X9ECParameters GetByName(string name)
|
||||
{
|
||||
DerObjectIdentifier oid = X962NamedCurves.GetOid(name);
|
||||
if (oid == 0)
|
||||
{
|
||||
}
|
||||
return X962NamedCurves.GetByOid(oid);
|
||||
}
|
||||
|
||||
// Token: 0x0600C4FE RID: 50430 RVA: 0x002C7D20 File Offset: 0x002C5F20
|
||||
[Token(Token = "0x600C4FE")]
|
||||
[Address(RVA = "0x2151990", Offset = "0x2150990", VA = "0x182151990")]
|
||||
public static X9ECParameters GetByOid(DerObjectIdentifier oid)
|
||||
{
|
||||
IDictionary dictionary = X962NamedCurves.curves;
|
||||
IDictionary dictionary2 = X962NamedCurves.objIds;
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C4FF RID: 50431 RVA: 0x002C7D48 File Offset: 0x002C5F48
|
||||
[Token(Token = "0x600C4FF")]
|
||||
[Address(RVA = "0x2151B10", Offset = "0x2150B10", VA = "0x182151B10")]
|
||||
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: 0x0600C500 RID: 50432 RVA: 0x002C7D74 File Offset: 0x002C5F74
|
||||
[Token(Token = "0x600C500")]
|
||||
[Address(RVA = "0x2151A70", Offset = "0x2150A70", VA = "0x182151A70")]
|
||||
public static string GetName(DerObjectIdentifier oid)
|
||||
{
|
||||
IDictionary dictionary = X962NamedCurves.names;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001E68 RID: 7784
|
||||
// (get) Token: 0x0600C501 RID: 50433 RVA: 0x002C7D8C File Offset: 0x002C5F8C
|
||||
[Token(Token = "0x17001E68")]
|
||||
public static IEnumerable Names
|
||||
{
|
||||
[Token(Token = "0x600C501")]
|
||||
[Address(RVA = "0x21524F0", Offset = "0x21514F0", VA = "0x1821524F0")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = X962NamedCurves.names;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04007B9D RID: 31645
|
||||
[Token(Token = "0x4007B9D")]
|
||||
private static readonly IDictionary objIds;
|
||||
|
||||
// Token: 0x04007B9E RID: 31646
|
||||
[Token(Token = "0x4007B9E")]
|
||||
private static readonly IDictionary curves;
|
||||
|
||||
// Token: 0x04007B9F RID: 31647
|
||||
[Token(Token = "0x4007B9F")]
|
||||
private static readonly IDictionary names;
|
||||
|
||||
// Token: 0x02001EAC RID: 7852
|
||||
[Token(Token = "0x2001EAC")]
|
||||
internal class Prime192v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C502 RID: 50434 RVA: 0x002C7DA4 File Offset: 0x002C5FA4
|
||||
[Token(Token = "0x600C502")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private Prime192v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C503 RID: 50435 RVA: 0x002C7DB8 File Offset: 0x002C5FB8
|
||||
[Token(Token = "0x600C503")]
|
||||
[Address(RVA = "0x214F410", Offset = "0x214E410", VA = "0x18214F410", 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: 0x0600C504 RID: 50436 RVA: 0x002C7E40 File Offset: 0x002C6040
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C504")]
|
||||
[Address(RVA = "0x214F5F0", Offset = "0x214E5F0", VA = "0x18214F5F0")]
|
||||
static Prime192v1Holder()
|
||||
{
|
||||
X962NamedCurves.Prime192v1Holder prime192v1Holder = new X962NamedCurves.Prime192v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BA0 RID: 31648
|
||||
[Token(Token = "0x4007BA0")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EAD RID: 7853
|
||||
[Token(Token = "0x2001EAD")]
|
||||
internal class Prime192v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C505 RID: 50437 RVA: 0x002C7E54 File Offset: 0x002C6054
|
||||
[Token(Token = "0x600C505")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private Prime192v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C506 RID: 50438 RVA: 0x002C7E68 File Offset: 0x002C6068
|
||||
[Token(Token = "0x600C506")]
|
||||
[Address(RVA = "0x214F650", Offset = "0x214E650", VA = "0x18214F650", 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: 0x0600C507 RID: 50439 RVA: 0x002C7EF0 File Offset: 0x002C60F0
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C507")]
|
||||
[Address(RVA = "0x214F830", Offset = "0x214E830", VA = "0x18214F830")]
|
||||
static Prime192v2Holder()
|
||||
{
|
||||
X962NamedCurves.Prime192v2Holder prime192v2Holder = new X962NamedCurves.Prime192v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BA1 RID: 31649
|
||||
[Token(Token = "0x4007BA1")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EAE RID: 7854
|
||||
[Token(Token = "0x2001EAE")]
|
||||
internal class Prime192v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C508 RID: 50440 RVA: 0x002C7F04 File Offset: 0x002C6104
|
||||
[Token(Token = "0x600C508")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private Prime192v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C509 RID: 50441 RVA: 0x002C7F18 File Offset: 0x002C6118
|
||||
[Token(Token = "0x600C509")]
|
||||
[Address(RVA = "0x214F890", Offset = "0x214E890", VA = "0x18214F890", 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: 0x0600C50A RID: 50442 RVA: 0x002C7FA0 File Offset: 0x002C61A0
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C50A")]
|
||||
[Address(RVA = "0x214FA70", Offset = "0x214EA70", VA = "0x18214FA70")]
|
||||
static Prime192v3Holder()
|
||||
{
|
||||
X962NamedCurves.Prime192v3Holder prime192v3Holder = new X962NamedCurves.Prime192v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BA2 RID: 31650
|
||||
[Token(Token = "0x4007BA2")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EAF RID: 7855
|
||||
[Token(Token = "0x2001EAF")]
|
||||
internal class Prime239v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C50B RID: 50443 RVA: 0x002C7FB4 File Offset: 0x002C61B4
|
||||
[Token(Token = "0x600C50B")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private Prime239v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C50C RID: 50444 RVA: 0x002C7FC8 File Offset: 0x002C61C8
|
||||
[Token(Token = "0x600C50C")]
|
||||
[Address(RVA = "0x214FAD0", Offset = "0x214EAD0", VA = "0x18214FAD0", 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: 0x0600C50D RID: 50445 RVA: 0x002C804C File Offset: 0x002C624C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C50D")]
|
||||
[Address(RVA = "0x214FCA0", Offset = "0x214ECA0", VA = "0x18214FCA0")]
|
||||
static Prime239v1Holder()
|
||||
{
|
||||
X962NamedCurves.Prime239v1Holder prime239v1Holder = new X962NamedCurves.Prime239v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BA3 RID: 31651
|
||||
[Token(Token = "0x4007BA3")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EB0 RID: 7856
|
||||
[Token(Token = "0x2001EB0")]
|
||||
internal class Prime239v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C50E RID: 50446 RVA: 0x002C8060 File Offset: 0x002C6260
|
||||
[Token(Token = "0x600C50E")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private Prime239v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C50F RID: 50447 RVA: 0x002C8074 File Offset: 0x002C6274
|
||||
[Token(Token = "0x600C50F")]
|
||||
[Address(RVA = "0x214FD00", Offset = "0x214ED00", VA = "0x18214FD00", 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: 0x0600C510 RID: 50448 RVA: 0x002C80F8 File Offset: 0x002C62F8
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C510")]
|
||||
[Address(RVA = "0x214FED0", Offset = "0x214EED0", VA = "0x18214FED0")]
|
||||
static Prime239v2Holder()
|
||||
{
|
||||
X962NamedCurves.Prime239v2Holder prime239v2Holder = new X962NamedCurves.Prime239v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BA4 RID: 31652
|
||||
[Token(Token = "0x4007BA4")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EB1 RID: 7857
|
||||
[Token(Token = "0x2001EB1")]
|
||||
internal class Prime239v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C511 RID: 50449 RVA: 0x002C810C File Offset: 0x002C630C
|
||||
[Token(Token = "0x600C511")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private Prime239v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C512 RID: 50450 RVA: 0x002C8120 File Offset: 0x002C6320
|
||||
[Token(Token = "0x600C512")]
|
||||
[Address(RVA = "0x214FF30", Offset = "0x214EF30", VA = "0x18214FF30", 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: 0x0600C513 RID: 50451 RVA: 0x002C81A4 File Offset: 0x002C63A4
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C513")]
|
||||
[Address(RVA = "0x2150100", Offset = "0x214F100", VA = "0x182150100")]
|
||||
static Prime239v3Holder()
|
||||
{
|
||||
X962NamedCurves.Prime239v3Holder prime239v3Holder = new X962NamedCurves.Prime239v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BA5 RID: 31653
|
||||
[Token(Token = "0x4007BA5")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EB2 RID: 7858
|
||||
[Token(Token = "0x2001EB2")]
|
||||
internal class Prime256v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C514 RID: 50452 RVA: 0x002C81B8 File Offset: 0x002C63B8
|
||||
[Token(Token = "0x600C514")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private Prime256v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C515 RID: 50453 RVA: 0x002C81CC File Offset: 0x002C63CC
|
||||
[Token(Token = "0x600C515")]
|
||||
[Address(RVA = "0x2150160", Offset = "0x214F160", VA = "0x182150160", 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: 0x0600C516 RID: 50454 RVA: 0x002C8250 File Offset: 0x002C6450
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C516")]
|
||||
[Address(RVA = "0x2150330", Offset = "0x214F330", VA = "0x182150330")]
|
||||
static Prime256v1Holder()
|
||||
{
|
||||
X962NamedCurves.Prime256v1Holder prime256v1Holder = new X962NamedCurves.Prime256v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BA6 RID: 31654
|
||||
[Token(Token = "0x4007BA6")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EB3 RID: 7859
|
||||
[Token(Token = "0x2001EB3")]
|
||||
internal class C2pnb163v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C517 RID: 50455 RVA: 0x002C8264 File Offset: 0x002C6464
|
||||
[Token(Token = "0x600C517")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2pnb163v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C518 RID: 50456 RVA: 0x002C8278 File Offset: 0x002C6478
|
||||
[Token(Token = "0x600C518")]
|
||||
[Address(RVA = "0x213E150", Offset = "0x213D150", VA = "0x18213E150", 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: 0x0600C519 RID: 50457 RVA: 0x002C82F8 File Offset: 0x002C64F8
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C519")]
|
||||
[Address(RVA = "0x213E320", Offset = "0x213D320", VA = "0x18213E320")]
|
||||
static C2pnb163v1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb163v1Holder c2pnb163v1Holder = new X962NamedCurves.C2pnb163v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BA7 RID: 31655
|
||||
[Token(Token = "0x4007BA7")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EB4 RID: 7860
|
||||
[Token(Token = "0x2001EB4")]
|
||||
internal class C2pnb163v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C51A RID: 50458 RVA: 0x002C830C File Offset: 0x002C650C
|
||||
[Token(Token = "0x600C51A")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2pnb163v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C51B RID: 50459 RVA: 0x002C8320 File Offset: 0x002C6520
|
||||
[Token(Token = "0x600C51B")]
|
||||
[Address(RVA = "0x213E380", Offset = "0x213D380", VA = "0x18213E380", 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: 0x0600C51C RID: 50460 RVA: 0x002C8388 File Offset: 0x002C6588
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C51C")]
|
||||
[Address(RVA = "0x213E540", Offset = "0x213D540", VA = "0x18213E540")]
|
||||
static C2pnb163v2Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb163v2Holder c2pnb163v2Holder = new X962NamedCurves.C2pnb163v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BA8 RID: 31656
|
||||
[Token(Token = "0x4007BA8")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EB5 RID: 7861
|
||||
[Token(Token = "0x2001EB5")]
|
||||
internal class C2pnb163v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C51D RID: 50461 RVA: 0x002C839C File Offset: 0x002C659C
|
||||
[Token(Token = "0x600C51D")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2pnb163v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C51E RID: 50462 RVA: 0x002C83B0 File Offset: 0x002C65B0
|
||||
[Token(Token = "0x600C51E")]
|
||||
[Address(RVA = "0x213E5A0", Offset = "0x213D5A0", VA = "0x18213E5A0", 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: 0x0600C51F RID: 50463 RVA: 0x002C8418 File Offset: 0x002C6618
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C51F")]
|
||||
[Address(RVA = "0x213E760", Offset = "0x213D760", VA = "0x18213E760")]
|
||||
static C2pnb163v3Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb163v3Holder c2pnb163v3Holder = new X962NamedCurves.C2pnb163v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BA9 RID: 31657
|
||||
[Token(Token = "0x4007BA9")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EB6 RID: 7862
|
||||
[Token(Token = "0x2001EB6")]
|
||||
internal class C2pnb176w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C520 RID: 50464 RVA: 0x002C842C File Offset: 0x002C662C
|
||||
[Token(Token = "0x600C520")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2pnb176w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C521 RID: 50465 RVA: 0x002C8440 File Offset: 0x002C6640
|
||||
[Token(Token = "0x600C521")]
|
||||
[Address(RVA = "0x213E7C0", Offset = "0x213D7C0", VA = "0x18213E7C0", 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: 0x0600C522 RID: 50466 RVA: 0x002C84A4 File Offset: 0x002C66A4
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C522")]
|
||||
[Address(RVA = "0x213E980", Offset = "0x213D980", VA = "0x18213E980")]
|
||||
static C2pnb176w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb176w1Holder c2pnb176w1Holder = new X962NamedCurves.C2pnb176w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BAA RID: 31658
|
||||
[Token(Token = "0x4007BAA")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EB7 RID: 7863
|
||||
[Token(Token = "0x2001EB7")]
|
||||
internal class C2tnb191v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C523 RID: 50467 RVA: 0x002C84B8 File Offset: 0x002C66B8
|
||||
[Token(Token = "0x600C523")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2tnb191v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C524 RID: 50468 RVA: 0x002C84CC File Offset: 0x002C66CC
|
||||
[Token(Token = "0x600C524")]
|
||||
[Address(RVA = "0x213F260", Offset = "0x213E260", VA = "0x18213F260", 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: 0x0600C525 RID: 50469 RVA: 0x002C8548 File Offset: 0x002C6748
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C525")]
|
||||
[Address(RVA = "0x213F420", Offset = "0x213E420", VA = "0x18213F420")]
|
||||
static C2tnb191v1Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb191v1Holder c2tnb191v1Holder = new X962NamedCurves.C2tnb191v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BAB RID: 31659
|
||||
[Token(Token = "0x4007BAB")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EB8 RID: 7864
|
||||
[Token(Token = "0x2001EB8")]
|
||||
internal class C2tnb191v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C526 RID: 50470 RVA: 0x002C855C File Offset: 0x002C675C
|
||||
[Token(Token = "0x600C526")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2tnb191v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C527 RID: 50471 RVA: 0x002C8570 File Offset: 0x002C6770
|
||||
[Token(Token = "0x600C527")]
|
||||
[Address(RVA = "0x213F480", Offset = "0x213E480", VA = "0x18213F480", 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: 0x0600C528 RID: 50472 RVA: 0x002C85D0 File Offset: 0x002C67D0
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C528")]
|
||||
[Address(RVA = "0x213F630", Offset = "0x213E630", VA = "0x18213F630")]
|
||||
static C2tnb191v2Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb191v2Holder c2tnb191v2Holder = new X962NamedCurves.C2tnb191v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BAC RID: 31660
|
||||
[Token(Token = "0x4007BAC")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EB9 RID: 7865
|
||||
[Token(Token = "0x2001EB9")]
|
||||
internal class C2tnb191v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C529 RID: 50473 RVA: 0x002C85E4 File Offset: 0x002C67E4
|
||||
[Token(Token = "0x600C529")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2tnb191v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C52A RID: 50474 RVA: 0x002C85F8 File Offset: 0x002C67F8
|
||||
[Token(Token = "0x600C52A")]
|
||||
[Address(RVA = "0x213F690", Offset = "0x213E690", VA = "0x18213F690", 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: 0x0600C52B RID: 50475 RVA: 0x002C8658 File Offset: 0x002C6858
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C52B")]
|
||||
[Address(RVA = "0x213F840", Offset = "0x213E840", VA = "0x18213F840")]
|
||||
static C2tnb191v3Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb191v3Holder c2tnb191v3Holder = new X962NamedCurves.C2tnb191v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BAD RID: 31661
|
||||
[Token(Token = "0x4007BAD")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EBA RID: 7866
|
||||
[Token(Token = "0x2001EBA")]
|
||||
internal class C2pnb208w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C52C RID: 50476 RVA: 0x002C866C File Offset: 0x002C686C
|
||||
[Token(Token = "0x600C52C")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2pnb208w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C52D RID: 50477 RVA: 0x002C8680 File Offset: 0x002C6880
|
||||
[Token(Token = "0x600C52D")]
|
||||
[Address(RVA = "0x213E9E0", Offset = "0x213D9E0", VA = "0x18213E9E0", 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: 0x0600C52E RID: 50478 RVA: 0x002C86E4 File Offset: 0x002C68E4
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C52E")]
|
||||
[Address(RVA = "0x213EBA0", Offset = "0x213DBA0", VA = "0x18213EBA0")]
|
||||
static C2pnb208w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb208w1Holder c2pnb208w1Holder = new X962NamedCurves.C2pnb208w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BAE RID: 31662
|
||||
[Token(Token = "0x4007BAE")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EBB RID: 7867
|
||||
[Token(Token = "0x2001EBB")]
|
||||
internal class C2tnb239v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C52F RID: 50479 RVA: 0x002C86F8 File Offset: 0x002C68F8
|
||||
[Token(Token = "0x600C52F")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2tnb239v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C530 RID: 50480 RVA: 0x002C870C File Offset: 0x002C690C
|
||||
[Token(Token = "0x600C530")]
|
||||
[Address(RVA = "0x213F8A0", Offset = "0x213E8A0", VA = "0x18213F8A0", 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: 0x0600C531 RID: 50481 RVA: 0x002C876C File Offset: 0x002C696C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C531")]
|
||||
[Address(RVA = "0x213FA50", Offset = "0x213EA50", VA = "0x18213FA50")]
|
||||
static C2tnb239v1Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb239v1Holder c2tnb239v1Holder = new X962NamedCurves.C2tnb239v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BAF RID: 31663
|
||||
[Token(Token = "0x4007BAF")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EBC RID: 7868
|
||||
[Token(Token = "0x2001EBC")]
|
||||
internal class C2tnb239v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C532 RID: 50482 RVA: 0x002C8780 File Offset: 0x002C6980
|
||||
[Token(Token = "0x600C532")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2tnb239v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C533 RID: 50483 RVA: 0x002C8794 File Offset: 0x002C6994
|
||||
[Token(Token = "0x600C533")]
|
||||
[Address(RVA = "0x213FAB0", Offset = "0x213EAB0", VA = "0x18213FAB0", 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: 0x0600C534 RID: 50484 RVA: 0x002C87F4 File Offset: 0x002C69F4
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C534")]
|
||||
[Address(RVA = "0x213FC60", Offset = "0x213EC60", VA = "0x18213FC60")]
|
||||
static C2tnb239v2Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb239v2Holder c2tnb239v2Holder = new X962NamedCurves.C2tnb239v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BB0 RID: 31664
|
||||
[Token(Token = "0x4007BB0")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EBD RID: 7869
|
||||
[Token(Token = "0x2001EBD")]
|
||||
internal class C2tnb239v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C535 RID: 50485 RVA: 0x002C8808 File Offset: 0x002C6A08
|
||||
[Token(Token = "0x600C535")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2tnb239v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C536 RID: 50486 RVA: 0x002C881C File Offset: 0x002C6A1C
|
||||
[Token(Token = "0x600C536")]
|
||||
[Address(RVA = "0x213FCC0", Offset = "0x213ECC0", VA = "0x18213FCC0", 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: 0x0600C537 RID: 50487 RVA: 0x002C887C File Offset: 0x002C6A7C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C537")]
|
||||
[Address(RVA = "0x213FE70", Offset = "0x213EE70", VA = "0x18213FE70")]
|
||||
static C2tnb239v3Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb239v3Holder c2tnb239v3Holder = new X962NamedCurves.C2tnb239v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BB1 RID: 31665
|
||||
[Token(Token = "0x4007BB1")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EBE RID: 7870
|
||||
[Token(Token = "0x2001EBE")]
|
||||
internal class C2pnb272w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C538 RID: 50488 RVA: 0x002C8890 File Offset: 0x002C6A90
|
||||
[Token(Token = "0x600C538")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2pnb272w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C539 RID: 50489 RVA: 0x002C88A4 File Offset: 0x002C6AA4
|
||||
[Token(Token = "0x600C539")]
|
||||
[Address(RVA = "0x213EC00", Offset = "0x213DC00", VA = "0x18213EC00", 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: 0x0600C53A RID: 50490 RVA: 0x002C8908 File Offset: 0x002C6B08
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C53A")]
|
||||
[Address(RVA = "0x213EDC0", Offset = "0x213DDC0", VA = "0x18213EDC0")]
|
||||
static C2pnb272w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb272w1Holder c2pnb272w1Holder = new X962NamedCurves.C2pnb272w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BB2 RID: 31666
|
||||
[Token(Token = "0x4007BB2")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EBF RID: 7871
|
||||
[Token(Token = "0x2001EBF")]
|
||||
internal class C2pnb304w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C53B RID: 50491 RVA: 0x002C891C File Offset: 0x002C6B1C
|
||||
[Token(Token = "0x600C53B")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2pnb304w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C53C RID: 50492 RVA: 0x002C8930 File Offset: 0x002C6B30
|
||||
[Token(Token = "0x600C53C")]
|
||||
[Address(RVA = "0x213EE20", Offset = "0x213DE20", VA = "0x18213EE20", 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: 0x0600C53D RID: 50493 RVA: 0x002C8994 File Offset: 0x002C6B94
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C53D")]
|
||||
[Address(RVA = "0x213EFE0", Offset = "0x213DFE0", VA = "0x18213EFE0")]
|
||||
static C2pnb304w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb304w1Holder c2pnb304w1Holder = new X962NamedCurves.C2pnb304w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BB3 RID: 31667
|
||||
[Token(Token = "0x4007BB3")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EC0 RID: 7872
|
||||
[Token(Token = "0x2001EC0")]
|
||||
internal class C2tnb359v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C53E RID: 50494 RVA: 0x002C89A8 File Offset: 0x002C6BA8
|
||||
[Token(Token = "0x600C53E")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2tnb359v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C53F RID: 50495 RVA: 0x002C89BC File Offset: 0x002C6BBC
|
||||
[Token(Token = "0x600C53F")]
|
||||
[Address(RVA = "0x213FED0", Offset = "0x213EED0", VA = "0x18213FED0", 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: 0x0600C540 RID: 50496 RVA: 0x002C8A1C File Offset: 0x002C6C1C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C540")]
|
||||
[Address(RVA = "0x2140080", Offset = "0x213F080", VA = "0x182140080")]
|
||||
static C2tnb359v1Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb359v1Holder c2tnb359v1Holder = new X962NamedCurves.C2tnb359v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BB4 RID: 31668
|
||||
[Token(Token = "0x4007BB4")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EC1 RID: 7873
|
||||
[Token(Token = "0x2001EC1")]
|
||||
internal class C2pnb368w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C541 RID: 50497 RVA: 0x002C8A30 File Offset: 0x002C6C30
|
||||
[Token(Token = "0x600C541")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2pnb368w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C542 RID: 50498 RVA: 0x002C8A44 File Offset: 0x002C6C44
|
||||
[Token(Token = "0x600C542")]
|
||||
[Address(RVA = "0x213F040", Offset = "0x213E040", VA = "0x18213F040", 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: 0x0600C543 RID: 50499 RVA: 0x002C8AA8 File Offset: 0x002C6CA8
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C543")]
|
||||
[Address(RVA = "0x213F200", Offset = "0x213E200", VA = "0x18213F200")]
|
||||
static C2pnb368w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb368w1Holder c2pnb368w1Holder = new X962NamedCurves.C2pnb368w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BB5 RID: 31669
|
||||
[Token(Token = "0x4007BB5")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001EC2 RID: 7874
|
||||
[Token(Token = "0x2001EC2")]
|
||||
internal class C2tnb431r1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600C544 RID: 50500 RVA: 0x002C8ABC File Offset: 0x002C6CBC
|
||||
[Token(Token = "0x600C544")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
private C2tnb431r1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C545 RID: 50501 RVA: 0x002C8AD0 File Offset: 0x002C6CD0
|
||||
[Token(Token = "0x600C545")]
|
||||
[Address(RVA = "0x21400E0", Offset = "0x213F0E0", VA = "0x1821400E0", 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: 0x0600C546 RID: 50502 RVA: 0x002C8B30 File Offset: 0x002C6D30
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C546")]
|
||||
[Address(RVA = "0x21402A0", Offset = "0x213F2A0", VA = "0x1821402A0")]
|
||||
static C2tnb431r1Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb431r1Holder c2tnb431r1Holder = new X962NamedCurves.C2tnb431r1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04007BB6 RID: 31670
|
||||
[Token(Token = "0x4007BB6")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001EC3 RID: 7875
|
||||
[Token(Token = "0x2001EC3")]
|
||||
public class X962Parameters : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600C547 RID: 50503 RVA: 0x002C8B44 File Offset: 0x002C6D44
|
||||
[Token(Token = "0x600C547")]
|
||||
[Address(RVA = "0x21525A0", Offset = "0x21515A0", VA = "0x1821525A0")]
|
||||
public static X962Parameters GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C547)
|
||||
|
||||
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: 0x0600C548 RID: 50504 RVA: 0x002C8B98 File Offset: 0x002C6D98
|
||||
[Token(Token = "0x600C548")]
|
||||
[Address(RVA = "0x2152840", Offset = "0x2151840", VA = "0x182152840")]
|
||||
public X962Parameters(X9ECParameters ecParameters)
|
||||
{
|
||||
Asn1Object asn1Object = ecParameters.ToAsn1Object();
|
||||
this._params = asn1Object;
|
||||
}
|
||||
|
||||
// Token: 0x0600C549 RID: 50505 RVA: 0x002C8BC0 File Offset: 0x002C6DC0
|
||||
[Token(Token = "0x600C549")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public X962Parameters(DerObjectIdentifier namedCurve)
|
||||
{
|
||||
this._params = namedCurve;
|
||||
}
|
||||
|
||||
// Token: 0x0600C54A RID: 50506 RVA: 0x002C8BDC File Offset: 0x002C6DDC
|
||||
[Token(Token = "0x600C54A")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public X962Parameters(Asn1Object obj)
|
||||
{
|
||||
this._params = obj;
|
||||
}
|
||||
|
||||
// Token: 0x17001E69 RID: 7785
|
||||
// (get) Token: 0x0600C54B RID: 50507 RVA: 0x002C8BF8 File Offset: 0x002C6DF8
|
||||
[Token(Token = "0x17001E69")]
|
||||
public bool IsNamedCurve
|
||||
{
|
||||
[Token(Token = "0x600C54B")]
|
||||
[Address(RVA = "0x2152910", Offset = "0x2151910", VA = "0x182152910")]
|
||||
get
|
||||
{
|
||||
Asn1Object @params = this._params;
|
||||
if (@params == 0)
|
||||
{
|
||||
return 0 != 0;
|
||||
}
|
||||
return @params != 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E6A RID: 7786
|
||||
// (get) Token: 0x0600C54C RID: 50508 RVA: 0x002C8C24 File Offset: 0x002C6E24
|
||||
[Token(Token = "0x17001E6A")]
|
||||
public bool IsImplicitlyCA
|
||||
{
|
||||
[Token(Token = "0x600C54C")]
|
||||
[Address(RVA = "0x2152890", Offset = "0x2151890", VA = "0x182152890")]
|
||||
get
|
||||
{
|
||||
Asn1Object @params = this._params;
|
||||
if (@params == 0)
|
||||
{
|
||||
return 0 != 0;
|
||||
}
|
||||
return @params != 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E6B RID: 7787
|
||||
// (get) Token: 0x0600C54D RID: 50509 RVA: 0x002C8C50 File Offset: 0x002C6E50
|
||||
[Token(Token = "0x17001E6B")]
|
||||
public Asn1Object Parameters
|
||||
{
|
||||
[Token(Token = "0x600C54D")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this._params;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C54E RID: 50510 RVA: 0x002C8C64 File Offset: 0x002C6E64
|
||||
[Token(Token = "0x600C54E")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
return this._params;
|
||||
}
|
||||
|
||||
// Token: 0x04007BB7 RID: 31671
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007BB7")]
|
||||
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: 0x02001EC4 RID: 7876
|
||||
[Token(Token = "0x2001EC4")]
|
||||
public class X9Curve : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C54F RID: 50511 RVA: 0x002C8C78 File Offset: 0x002C6E78
|
||||
[Token(Token = "0x600C54F")]
|
||||
[Address(RVA = "0x2152D90", Offset = "0x2151D90", VA = "0x182152D90")]
|
||||
public X9Curve(ECCurve curve)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C550 RID: 50512 RVA: 0x002C8C88 File Offset: 0x002C6E88
|
||||
[Token(Token = "0x600C550")]
|
||||
[Address(RVA = "0x2152DD0", Offset = "0x2151DD0", VA = "0x182152DD0")]
|
||||
public X9Curve(ECCurve curve, byte[] seed)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C550)
|
||||
|
||||
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: 0x0600C551 RID: 50513 RVA: 0x002C8CEC File Offset: 0x002C6EEC
|
||||
[Token(Token = "0x600C551")]
|
||||
[Address(RVA = "0x2152DA0", Offset = "0x2151DA0", VA = "0x182152DA0")]
|
||||
[Obsolete]
|
||||
public X9Curve(X9FieldID fieldID, Asn1Sequence seq)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C552 RID: 50514 RVA: 0x002C8D00 File Offset: 0x002C6F00
|
||||
[Token(Token = "0x600C552")]
|
||||
[Address(RVA = "0x2152F50", Offset = "0x2151F50", VA = "0x182152F50")]
|
||||
public X9Curve(X9FieldID fieldID, BigInteger order, BigInteger cofactor, Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C552)
|
||||
|
||||
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: 0x17001E6C RID: 7788
|
||||
// (get) Token: 0x0600C553 RID: 50515 RVA: 0x002C8DF4 File Offset: 0x002C6FF4
|
||||
[Token(Token = "0x17001E6C")]
|
||||
public ECCurve Curve
|
||||
{
|
||||
[Token(Token = "0x600C553")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.curve;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C554 RID: 50516 RVA: 0x002C8E08 File Offset: 0x002C7008
|
||||
[Token(Token = "0x600C554")]
|
||||
[Address(RVA = "0x2152990", Offset = "0x2151990", VA = "0x182152990")]
|
||||
public byte[] GetSeed()
|
||||
{
|
||||
return Arrays.Clone(this.seed);
|
||||
}
|
||||
|
||||
// Token: 0x0600C555 RID: 50517 RVA: 0x002C8E20 File Offset: 0x002C7020
|
||||
[Token(Token = "0x600C555")]
|
||||
[Address(RVA = "0x21529F0", Offset = "0x21519F0", VA = "0x1821529F0", 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: 0x04007BB8 RID: 31672
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007BB8")]
|
||||
private readonly ECCurve curve;
|
||||
|
||||
// Token: 0x04007BB9 RID: 31673
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007BB9")]
|
||||
private readonly byte[] seed;
|
||||
|
||||
// Token: 0x04007BBA RID: 31674
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007BBA")]
|
||||
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: 0x02001EC5 RID: 7877
|
||||
[Token(Token = "0x2001EC5")]
|
||||
public class X9ECParameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C556 RID: 50518 RVA: 0x002C8EF8 File Offset: 0x002C70F8
|
||||
[Token(Token = "0x600C556")]
|
||||
[Address(RVA = "0x2153780", Offset = "0x2152780", VA = "0x182153780")]
|
||||
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: 0x0600C557 RID: 50519 RVA: 0x002C8F2C File Offset: 0x002C712C
|
||||
[Token(Token = "0x600C557")]
|
||||
[Address(RVA = "0x2154020", Offset = "0x2153020", VA = "0x182154020")]
|
||||
public X9ECParameters(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C557)
|
||||
|
||||
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: 0x0600C558 RID: 50520 RVA: 0x002C9048 File Offset: 0x002C7248
|
||||
[Token(Token = "0x600C558")]
|
||||
[Address(RVA = "0x2153C20", Offset = "0x2152C20", VA = "0x182153C20")]
|
||||
public X9ECParameters(ECCurve curve, ECPoint g, BigInteger n)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C559 RID: 50521 RVA: 0x002C9058 File Offset: 0x002C7258
|
||||
[Token(Token = "0x600C559")]
|
||||
[Address(RVA = "0x2153BF0", Offset = "0x2152BF0", VA = "0x182153BF0")]
|
||||
public X9ECParameters(ECCurve curve, X9ECPoint g, BigInteger n, BigInteger h)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C55A RID: 50522 RVA: 0x002C9068 File Offset: 0x002C7268
|
||||
[Token(Token = "0x600C55A")]
|
||||
[Address(RVA = "0x2154650", Offset = "0x2153650", VA = "0x182154650")]
|
||||
public X9ECParameters(ECCurve curve, ECPoint g, BigInteger n, BigInteger h)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C55B RID: 50523 RVA: 0x002C9078 File Offset: 0x002C7278
|
||||
[Token(Token = "0x600C55B")]
|
||||
[Address(RVA = "0x2154540", Offset = "0x2153540", VA = "0x182154540")]
|
||||
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: 0x0600C55C RID: 50524 RVA: 0x002C90AC File Offset: 0x002C72AC
|
||||
[Token(Token = "0x600C55C")]
|
||||
[Address(RVA = "0x2153C40", Offset = "0x2152C40", VA = "0x182153C40")]
|
||||
public X9ECParameters(ECCurve curve, X9ECPoint g, BigInteger n, BigInteger h, byte[] seed)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C55C)
|
||||
|
||||
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: 0x17001E6D RID: 7789
|
||||
// (get) Token: 0x0600C55D RID: 50525 RVA: 0x002C918C File Offset: 0x002C738C
|
||||
[Token(Token = "0x17001E6D")]
|
||||
public ECCurve Curve
|
||||
{
|
||||
[Token(Token = "0x600C55D")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.curve;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E6E RID: 7790
|
||||
// (get) Token: 0x0600C55E RID: 50526 RVA: 0x002C91A0 File Offset: 0x002C73A0
|
||||
[Token(Token = "0x17001E6E")]
|
||||
public ECPoint G
|
||||
{
|
||||
[Token(Token = "0x600C55E")]
|
||||
[Address(RVA = "0x21546F0", Offset = "0x21536F0", VA = "0x1821546F0")]
|
||||
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: 0x17001E6F RID: 7791
|
||||
// (get) Token: 0x0600C55F RID: 50527 RVA: 0x002C91E4 File Offset: 0x002C73E4
|
||||
[Token(Token = "0x17001E6F")]
|
||||
public BigInteger N
|
||||
{
|
||||
[Token(Token = "0x600C55F")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
|
||||
get
|
||||
{
|
||||
return this.n;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E70 RID: 7792
|
||||
// (get) Token: 0x0600C560 RID: 50528 RVA: 0x002C91F8 File Offset: 0x002C73F8
|
||||
[Token(Token = "0x17001E70")]
|
||||
public BigInteger H
|
||||
{
|
||||
[Token(Token = "0x600C560")]
|
||||
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
|
||||
get
|
||||
{
|
||||
return this.h;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C561 RID: 50529 RVA: 0x002C920C File Offset: 0x002C740C
|
||||
[Token(Token = "0x600C561")]
|
||||
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0")]
|
||||
public byte[] GetSeed()
|
||||
{
|
||||
return this.seed;
|
||||
}
|
||||
|
||||
// Token: 0x17001E71 RID: 7793
|
||||
// (get) Token: 0x0600C562 RID: 50530 RVA: 0x002C9220 File Offset: 0x002C7420
|
||||
[Token(Token = "0x17001E71")]
|
||||
public X9Curve CurveEntry
|
||||
{
|
||||
[Token(Token = "0x600C562")]
|
||||
[Address(RVA = "0x2154680", Offset = "0x2153680", VA = "0x182154680")]
|
||||
get
|
||||
{
|
||||
ECCurve eccurve = this.curve;
|
||||
byte[] array = this.seed;
|
||||
return new X9Curve(eccurve, array);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E72 RID: 7794
|
||||
// (get) Token: 0x0600C563 RID: 50531 RVA: 0x002C9244 File Offset: 0x002C7444
|
||||
[Token(Token = "0x17001E72")]
|
||||
public X9FieldID FieldIDEntry
|
||||
{
|
||||
[Token(Token = "0x600C563")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.fieldID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E73 RID: 7795
|
||||
// (get) Token: 0x0600C564 RID: 50532 RVA: 0x002C9258 File Offset: 0x002C7458
|
||||
[Token(Token = "0x17001E73")]
|
||||
public X9ECPoint BaseEntry
|
||||
{
|
||||
[Token(Token = "0x600C564")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return this.g;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C565 RID: 50533 RVA: 0x002C926C File Offset: 0x002C746C
|
||||
[Token(Token = "0x600C565")]
|
||||
[Address(RVA = "0x2153880", Offset = "0x2152880", VA = "0x182153880", 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: 0x04007BBB RID: 31675
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007BBB")]
|
||||
private X9FieldID fieldID;
|
||||
|
||||
// Token: 0x04007BBC RID: 31676
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007BBC")]
|
||||
private ECCurve curve;
|
||||
|
||||
// Token: 0x04007BBD RID: 31677
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007BBD")]
|
||||
private X9ECPoint g;
|
||||
|
||||
// Token: 0x04007BBE RID: 31678
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007BBE")]
|
||||
private BigInteger n;
|
||||
|
||||
// Token: 0x04007BBF RID: 31679
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4007BBF")]
|
||||
private BigInteger h;
|
||||
|
||||
// Token: 0x04007BC0 RID: 31680
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4007BC0")]
|
||||
private byte[] seed;
|
||||
}
|
||||
}
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001EC6 RID: 7878
|
||||
[Token(Token = "0x2001EC6")]
|
||||
public abstract class X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x17001E74 RID: 7796
|
||||
// (get) Token: 0x0600C566 RID: 50534 RVA: 0x002C9350 File Offset: 0x002C7550
|
||||
[Token(Token = "0x17001E74")]
|
||||
public X9ECParameters Parameters
|
||||
{
|
||||
[Token(Token = "0x600C566")]
|
||||
[Address(RVA = "0x21536D0", Offset = "0x21526D0", VA = "0x1821536D0")]
|
||||
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: 0x0600C567 RID: 50535
|
||||
[Token(Token = "0x600C567")]
|
||||
[Address(Slot = "4")]
|
||||
protected abstract X9ECParameters CreateParameters();
|
||||
|
||||
// Token: 0x0600C568 RID: 50536 RVA: 0x002C9384 File Offset: 0x002C7584
|
||||
[Token(Token = "0x600C568")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
protected X9ECParametersHolder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04007BC1 RID: 31681
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007BC1")]
|
||||
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: 0x02001EC7 RID: 7879
|
||||
[Token(Token = "0x2001EC7")]
|
||||
public class X9ECPoint : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C569 RID: 50537 RVA: 0x002C9398 File Offset: 0x002C7598
|
||||
[Token(Token = "0x600C569")]
|
||||
[Address(RVA = "0x2154850", Offset = "0x2153850", VA = "0x182154850")]
|
||||
public X9ECPoint(ECPoint p)
|
||||
{
|
||||
bool flag = p.IsNormalized();
|
||||
this.p = flag;
|
||||
byte[] array;
|
||||
DerOctetString derOctetString = new DerOctetString(array);
|
||||
this.encoding = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600C56A RID: 50538 RVA: 0x002C93D0 File Offset: 0x002C75D0
|
||||
[Token(Token = "0x600C56A")]
|
||||
[Address(RVA = "0x2154900", Offset = "0x2153900", VA = "0x182154900")]
|
||||
public X9ECPoint(ECPoint p, bool compressed)
|
||||
{
|
||||
bool flag = p.IsNormalized();
|
||||
this.p = flag;
|
||||
byte[] array;
|
||||
DerOctetString derOctetString = new DerOctetString(array);
|
||||
this.encoding = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600C56B RID: 50539 RVA: 0x002C9408 File Offset: 0x002C7608
|
||||
[Token(Token = "0x600C56B")]
|
||||
[Address(RVA = "0x21549B0", Offset = "0x21539B0", VA = "0x1821549B0")]
|
||||
public X9ECPoint(ECCurve c, byte[] encoding)
|
||||
{
|
||||
this.c = c;
|
||||
DerOctetString derOctetString = new DerOctetString(Arrays.Clone(encoding));
|
||||
this.encoding = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600C56C RID: 50540 RVA: 0x002C9438 File Offset: 0x002C7638
|
||||
[Token(Token = "0x600C56C")]
|
||||
[Address(RVA = "0x2154800", Offset = "0x2153800", VA = "0x182154800")]
|
||||
public X9ECPoint(ECCurve c, Asn1OctetString s)
|
||||
{
|
||||
Stream octetStream = s.GetOctetStream();
|
||||
}
|
||||
|
||||
// Token: 0x0600C56D RID: 50541 RVA: 0x002C9454 File Offset: 0x002C7654
|
||||
[Token(Token = "0x600C56D")]
|
||||
[Address(RVA = "0x2154780", Offset = "0x2153780", VA = "0x182154780")]
|
||||
public byte[] GetPointEncoding()
|
||||
{
|
||||
Stream octetStream = this.encoding.GetOctetStream();
|
||||
byte[] array;
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x17001E75 RID: 7797
|
||||
// (get) Token: 0x0600C56E RID: 50542 RVA: 0x002C9474 File Offset: 0x002C7674
|
||||
[Token(Token = "0x17001E75")]
|
||||
public ECPoint Point
|
||||
{
|
||||
[Token(Token = "0x600C56E")]
|
||||
[Address(RVA = "0x2154AC0", Offset = "0x2153AC0", VA = "0x182154AC0")]
|
||||
get
|
||||
{
|
||||
ECPoint ecpoint = this.p;
|
||||
if (ecpoint == 0)
|
||||
{
|
||||
ECCurve eccurve = this.c;
|
||||
Stream octetStream = this.encoding.GetOctetStream();
|
||||
ECMultiplier multiplier = eccurve.GetMultiplier();
|
||||
}
|
||||
return ecpoint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E76 RID: 7798
|
||||
// (get) Token: 0x0600C56F RID: 50543 RVA: 0x002C94B0 File Offset: 0x002C76B0
|
||||
[Token(Token = "0x17001E76")]
|
||||
public bool IsPointCompressed
|
||||
{
|
||||
[Token(Token = "0x600C56F")]
|
||||
[Address(RVA = "0x2154A50", Offset = "0x2153A50", VA = "0x182154A50")]
|
||||
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: 0x0600C570 RID: 50544 RVA: 0x002C94F4 File Offset: 0x002C76F4
|
||||
[Token(Token = "0x600C570")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C570)
|
||||
|
||||
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: 0x04007BC2 RID: 31682
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007BC2")]
|
||||
private readonly Asn1OctetString encoding;
|
||||
|
||||
// Token: 0x04007BC3 RID: 31683
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007BC3")]
|
||||
private ECCurve c;
|
||||
|
||||
// Token: 0x04007BC4 RID: 31684
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007BC4")]
|
||||
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: 0x02001EC8 RID: 7880
|
||||
[Token(Token = "0x2001EC8")]
|
||||
public class X9FieldElement : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C571 RID: 50545 RVA: 0x002C9508 File Offset: 0x002C7708
|
||||
[Token(Token = "0x600C571")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public X9FieldElement(ECFieldElement f)
|
||||
{
|
||||
this.f = f;
|
||||
}
|
||||
|
||||
// Token: 0x0600C572 RID: 50546 RVA: 0x002C9524 File Offset: 0x002C7724
|
||||
[Token(Token = "0x600C572")]
|
||||
[Address(RVA = "0x2154CA0", Offset = "0x2153CA0", VA = "0x182154CA0")]
|
||||
[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: 0x0600C573 RID: 50547 RVA: 0x002C9554 File Offset: 0x002C7754
|
||||
[Token(Token = "0x600C573")]
|
||||
[Address(RVA = "0x2154D60", Offset = "0x2153D60", VA = "0x182154D60")]
|
||||
[Obsolete]
|
||||
public X9FieldElement(int m, int k1, int k2, int k3, Asn1OctetString s)
|
||||
{
|
||||
F2mFieldElement f2mFieldElement;
|
||||
this.f = f2mFieldElement;
|
||||
}
|
||||
|
||||
// Token: 0x17001E77 RID: 7799
|
||||
// (get) Token: 0x0600C574 RID: 50548 RVA: 0x002C9574 File Offset: 0x002C7774
|
||||
[Token(Token = "0x17001E77")]
|
||||
public ECFieldElement Value
|
||||
{
|
||||
[Token(Token = "0x600C574")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.f;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C575 RID: 50549 RVA: 0x002C9588 File Offset: 0x002C7788
|
||||
[Token(Token = "0x600C575")]
|
||||
[Address(RVA = "0x2154B40", Offset = "0x2153B40", VA = "0x182154B40", 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: 0x04007BC5 RID: 31685
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007BC5")]
|
||||
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: 0x02001EC9 RID: 7881
|
||||
[Token(Token = "0x2001EC9")]
|
||||
public class X9FieldID : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C576 RID: 50550 RVA: 0x002C9614 File Offset: 0x002C7814
|
||||
[Token(Token = "0x600C576")]
|
||||
[Address(RVA = "0x21551F0", Offset = "0x21541F0", VA = "0x1821551F0")]
|
||||
public X9FieldID(BigInteger primeP)
|
||||
{
|
||||
DerObjectIdentifier primeField = X9ObjectIdentifiers.PrimeField;
|
||||
this.id = primeField;
|
||||
DerInteger derInteger = new DerInteger(primeP);
|
||||
this.parameters = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x0600C577 RID: 50551 RVA: 0x002C9644 File Offset: 0x002C7844
|
||||
[Token(Token = "0x600C577")]
|
||||
[Address(RVA = "0x21552A0", Offset = "0x21542A0", VA = "0x1821552A0")]
|
||||
public X9FieldID(int m, int k1)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C578 RID: 50552 RVA: 0x002C9658 File Offset: 0x002C7858
|
||||
[Token(Token = "0x600C578")]
|
||||
[Address(RVA = "0x21552C0", Offset = "0x21542C0", VA = "0x1821552C0")]
|
||||
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: 0x0600C579 RID: 50553 RVA: 0x002C9774 File Offset: 0x002C7974
|
||||
[Token(Token = "0x600C579")]
|
||||
[Address(RVA = "0x2155110", Offset = "0x2154110", VA = "0x182155110")]
|
||||
private X9FieldID(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DerObjectIdentifier derObjectIdentifier;
|
||||
this.id = derObjectIdentifier;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
this.parameters = parser2;
|
||||
}
|
||||
|
||||
// Token: 0x0600C57A RID: 50554 RVA: 0x002C97AC File Offset: 0x002C79AC
|
||||
[Token(Token = "0x600C57A")]
|
||||
[Address(RVA = "0x2154E50", Offset = "0x2153E50", VA = "0x182154E50")]
|
||||
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: 0x17001E78 RID: 7800
|
||||
// (get) Token: 0x0600C57B RID: 50555 RVA: 0x002C97FC File Offset: 0x002C79FC
|
||||
[Token(Token = "0x17001E78")]
|
||||
public DerObjectIdentifier Identifier
|
||||
{
|
||||
[Token(Token = "0x600C57B")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.id;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E79 RID: 7801
|
||||
// (get) Token: 0x0600C57C RID: 50556 RVA: 0x002C9810 File Offset: 0x002C7A10
|
||||
[Token(Token = "0x17001E79")]
|
||||
public Asn1Object Parameters
|
||||
{
|
||||
[Token(Token = "0x600C57C")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.parameters;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C57D RID: 50557 RVA: 0x002C9824 File Offset: 0x002C7A24
|
||||
[Token(Token = "0x600C57D")]
|
||||
[Address(RVA = "0x2155000", Offset = "0x2154000", VA = "0x182155000", 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: 0x04007BC6 RID: 31686
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007BC6")]
|
||||
private readonly DerObjectIdentifier id;
|
||||
|
||||
// Token: 0x04007BC7 RID: 31687
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007BC7")]
|
||||
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: 0x02001ECA RID: 7882
|
||||
[Token(Token = "0x2001ECA")]
|
||||
public abstract class X9IntegerConverter
|
||||
{
|
||||
// Token: 0x0600C57E RID: 50558 RVA: 0x002C986C File Offset: 0x002C7A6C
|
||||
[Token(Token = "0x600C57E")]
|
||||
[Address(RVA = "0x2155860", Offset = "0x2154860", VA = "0x182155860")]
|
||||
public static int GetByteLength(ECFieldElement fe)
|
||||
{
|
||||
string text = fe.FieldName;
|
||||
text += 0;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C57F RID: 50559 RVA: 0x002C988C File Offset: 0x002C7A8C
|
||||
[Token(Token = "0x600C57F")]
|
||||
[Address(RVA = "0x2155830", Offset = "0x2154830", VA = "0x182155830")]
|
||||
public static int GetByteLength(ECCurve c)
|
||||
{
|
||||
string text = c.ToString();
|
||||
text += 0;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C580 RID: 50560 RVA: 0x002C98AC File Offset: 0x002C7AAC
|
||||
[Token(Token = "0x600C580")]
|
||||
[Address(RVA = "0x2155890", Offset = "0x2154890", VA = "0x182155890")]
|
||||
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: 0x0600C581 RID: 50561 RVA: 0x002C9904 File Offset: 0x002C7B04
|
||||
[Token(Token = "0x600C581")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
protected X9IntegerConverter()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+283
@@ -0,0 +1,283 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001ECB RID: 7883
|
||||
[Token(Token = "0x2001ECB")]
|
||||
public abstract class X9ObjectIdentifiers
|
||||
{
|
||||
// Token: 0x0600C582 RID: 50562 RVA: 0x002C9918 File Offset: 0x002C7B18
|
||||
[Token(Token = "0x600C582")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
protected X9ObjectIdentifiers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04007BC8 RID: 31688
|
||||
[Token(Token = "0x4007BC8")]
|
||||
internal const string AnsiX962 = "1.2.840.10045";
|
||||
|
||||
// Token: 0x04007BC9 RID: 31689
|
||||
[Token(Token = "0x4007BC9")]
|
||||
public static readonly DerObjectIdentifier ansi_X9_62 = new DerObjectIdentifier("1.2.840.10045");
|
||||
|
||||
// Token: 0x04007BCA RID: 31690
|
||||
[Token(Token = "0x4007BCA")]
|
||||
public static readonly DerObjectIdentifier IdFieldType = X9ObjectIdentifiers.ansi_X9_62.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BCB RID: 31691
|
||||
[Token(Token = "0x4007BCB")]
|
||||
public static readonly DerObjectIdentifier PrimeField = X9ObjectIdentifiers.IdFieldType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BCC RID: 31692
|
||||
[Token(Token = "0x4007BCC")]
|
||||
public static readonly DerObjectIdentifier CharacteristicTwoField = X9ObjectIdentifiers.IdFieldType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BCD RID: 31693
|
||||
[Token(Token = "0x4007BCD")]
|
||||
public static readonly DerObjectIdentifier GNBasis = X9ObjectIdentifiers.CharacteristicTwoField.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BCE RID: 31694
|
||||
[Token(Token = "0x4007BCE")]
|
||||
public static readonly DerObjectIdentifier TPBasis = X9ObjectIdentifiers.CharacteristicTwoField.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BCF RID: 31695
|
||||
[Token(Token = "0x4007BCF")]
|
||||
public static readonly DerObjectIdentifier PPBasis = X9ObjectIdentifiers.CharacteristicTwoField.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BD0 RID: 31696
|
||||
[Token(Token = "0x4007BD0")]
|
||||
[Obsolete]
|
||||
public const string IdECSigType = "1.2.840.10045.4";
|
||||
|
||||
// Token: 0x04007BD1 RID: 31697
|
||||
[Token(Token = "0x4007BD1")]
|
||||
public static readonly DerObjectIdentifier id_ecSigType = X9ObjectIdentifiers.ansi_X9_62.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BD2 RID: 31698
|
||||
[Token(Token = "0x4007BD2")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha1 = X9ObjectIdentifiers.id_ecSigType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BD3 RID: 31699
|
||||
[Token(Token = "0x4007BD3")]
|
||||
[Obsolete]
|
||||
public const string IdPublicKeyType = "1.2.840.10045.2";
|
||||
|
||||
// Token: 0x04007BD4 RID: 31700
|
||||
[Token(Token = "0x4007BD4")]
|
||||
public static readonly DerObjectIdentifier id_publicKeyType = X9ObjectIdentifiers.ansi_X9_62.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BD5 RID: 31701
|
||||
[Token(Token = "0x4007BD5")]
|
||||
public static readonly DerObjectIdentifier IdECPublicKey = X9ObjectIdentifiers.id_publicKeyType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BD6 RID: 31702
|
||||
[Token(Token = "0x4007BD6")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha2 = X9ObjectIdentifiers.id_ecSigType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BD7 RID: 31703
|
||||
[Token(Token = "0x4007BD7")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha224 = X9ObjectIdentifiers.ECDsaWithSha2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BD8 RID: 31704
|
||||
[Token(Token = "0x4007BD8")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha256 = X9ObjectIdentifiers.ECDsaWithSha2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BD9 RID: 31705
|
||||
[Token(Token = "0x4007BD9")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha384 = X9ObjectIdentifiers.ECDsaWithSha2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BDA RID: 31706
|
||||
[Token(Token = "0x4007BDA")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha512 = X9ObjectIdentifiers.ECDsaWithSha2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BDB RID: 31707
|
||||
[Token(Token = "0x4007BDB")]
|
||||
public static readonly DerObjectIdentifier EllipticCurve = X9ObjectIdentifiers.ansi_X9_62.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BDC RID: 31708
|
||||
[Token(Token = "0x4007BDC")]
|
||||
public static readonly DerObjectIdentifier CTwoCurve = X9ObjectIdentifiers.EllipticCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BDD RID: 31709
|
||||
[Token(Token = "0x4007BDD")]
|
||||
public static readonly DerObjectIdentifier C2Pnb163v1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BDE RID: 31710
|
||||
[Token(Token = "0x4007BDE")]
|
||||
public static readonly DerObjectIdentifier C2Pnb163v2 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BDF RID: 31711
|
||||
[Token(Token = "0x4007BDF")]
|
||||
public static readonly DerObjectIdentifier C2Pnb163v3 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BE0 RID: 31712
|
||||
[Token(Token = "0x4007BE0")]
|
||||
public static readonly DerObjectIdentifier C2Pnb176w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BE1 RID: 31713
|
||||
[Token(Token = "0x4007BE1")]
|
||||
public static readonly DerObjectIdentifier C2Tnb191v1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BE2 RID: 31714
|
||||
[Token(Token = "0x4007BE2")]
|
||||
public static readonly DerObjectIdentifier C2Tnb191v2 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BE3 RID: 31715
|
||||
[Token(Token = "0x4007BE3")]
|
||||
public static readonly DerObjectIdentifier C2Tnb191v3 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BE4 RID: 31716
|
||||
[Token(Token = "0x4007BE4")]
|
||||
public static readonly DerObjectIdentifier C2Onb191v4 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BE5 RID: 31717
|
||||
[Token(Token = "0x4007BE5")]
|
||||
public static readonly DerObjectIdentifier C2Onb191v5 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BE6 RID: 31718
|
||||
[Token(Token = "0x4007BE6")]
|
||||
public static readonly DerObjectIdentifier C2Pnb208w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BE7 RID: 31719
|
||||
[Token(Token = "0x4007BE7")]
|
||||
public static readonly DerObjectIdentifier C2Tnb239v1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BE8 RID: 31720
|
||||
[Token(Token = "0x4007BE8")]
|
||||
public static readonly DerObjectIdentifier C2Tnb239v2 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BE9 RID: 31721
|
||||
[Token(Token = "0x4007BE9")]
|
||||
public static readonly DerObjectIdentifier C2Tnb239v3 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BEA RID: 31722
|
||||
[Token(Token = "0x4007BEA")]
|
||||
public static readonly DerObjectIdentifier C2Onb239v4 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BEB RID: 31723
|
||||
[Token(Token = "0x4007BEB")]
|
||||
public static readonly DerObjectIdentifier C2Onb239v5 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BEC RID: 31724
|
||||
[Token(Token = "0x4007BEC")]
|
||||
public static readonly DerObjectIdentifier C2Pnb272w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BED RID: 31725
|
||||
[Token(Token = "0x4007BED")]
|
||||
public static readonly DerObjectIdentifier C2Pnb304w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BEE RID: 31726
|
||||
[Token(Token = "0x4007BEE")]
|
||||
public static readonly DerObjectIdentifier C2Tnb359v1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BEF RID: 31727
|
||||
[Token(Token = "0x4007BEF")]
|
||||
public static readonly DerObjectIdentifier C2Pnb368w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BF0 RID: 31728
|
||||
[Token(Token = "0x4007BF0")]
|
||||
public static readonly DerObjectIdentifier C2Tnb431r1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BF1 RID: 31729
|
||||
[Token(Token = "0x4007BF1")]
|
||||
public static readonly DerObjectIdentifier PrimeCurve = X9ObjectIdentifiers.EllipticCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BF2 RID: 31730
|
||||
[Token(Token = "0x4007BF2")]
|
||||
public static readonly DerObjectIdentifier Prime192v1 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BF3 RID: 31731
|
||||
[Token(Token = "0x4007BF3")]
|
||||
public static readonly DerObjectIdentifier Prime192v2 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BF4 RID: 31732
|
||||
[Token(Token = "0x4007BF4")]
|
||||
public static readonly DerObjectIdentifier Prime192v3 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BF5 RID: 31733
|
||||
[Token(Token = "0x4007BF5")]
|
||||
public static readonly DerObjectIdentifier Prime239v1 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BF6 RID: 31734
|
||||
[Token(Token = "0x4007BF6")]
|
||||
public static readonly DerObjectIdentifier Prime239v2 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BF7 RID: 31735
|
||||
[Token(Token = "0x4007BF7")]
|
||||
public static readonly DerObjectIdentifier Prime239v3 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BF8 RID: 31736
|
||||
[Token(Token = "0x4007BF8")]
|
||||
public static readonly DerObjectIdentifier Prime256v1 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BF9 RID: 31737
|
||||
[Token(Token = "0x4007BF9")]
|
||||
public static readonly DerObjectIdentifier IdDsa = new DerObjectIdentifier("1.2.840.10040.4.1");
|
||||
|
||||
// Token: 0x04007BFA RID: 31738
|
||||
[Token(Token = "0x4007BFA")]
|
||||
public static readonly DerObjectIdentifier IdDsaWithSha1 = new DerObjectIdentifier("1.2.840.10040.4.3");
|
||||
|
||||
// Token: 0x04007BFB RID: 31739
|
||||
[Token(Token = "0x4007BFB")]
|
||||
public static readonly DerObjectIdentifier X9x63Scheme = new DerObjectIdentifier("1.3.133.16.840.63.0");
|
||||
|
||||
// Token: 0x04007BFC RID: 31740
|
||||
[Token(Token = "0x4007BFC")]
|
||||
public static readonly DerObjectIdentifier DHSinglePassStdDHSha1KdfScheme = X9ObjectIdentifiers.X9x63Scheme.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BFD RID: 31741
|
||||
[Token(Token = "0x4007BFD")]
|
||||
public static readonly DerObjectIdentifier DHSinglePassCofactorDHSha1KdfScheme = X9ObjectIdentifiers.X9x63Scheme.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BFE RID: 31742
|
||||
[Token(Token = "0x4007BFE")]
|
||||
public static readonly DerObjectIdentifier MqvSinglePassSha1KdfScheme = X9ObjectIdentifiers.X9x63Scheme.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007BFF RID: 31743
|
||||
[Token(Token = "0x4007BFF")]
|
||||
public static readonly DerObjectIdentifier ansi_x9_42 = new DerObjectIdentifier("1.2.840.10046");
|
||||
|
||||
// Token: 0x04007C00 RID: 31744
|
||||
[Token(Token = "0x4007C00")]
|
||||
public static readonly DerObjectIdentifier DHPublicNumber = X9ObjectIdentifiers.ansi_x9_42.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007C01 RID: 31745
|
||||
[Token(Token = "0x4007C01")]
|
||||
public static readonly DerObjectIdentifier X9x42Schemes = X9ObjectIdentifiers.ansi_x9_42.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007C02 RID: 31746
|
||||
[Token(Token = "0x4007C02")]
|
||||
public static readonly DerObjectIdentifier DHStatic = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007C03 RID: 31747
|
||||
[Token(Token = "0x4007C03")]
|
||||
public static readonly DerObjectIdentifier DHEphem = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007C04 RID: 31748
|
||||
[Token(Token = "0x4007C04")]
|
||||
public static readonly DerObjectIdentifier DHOneFlow = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007C05 RID: 31749
|
||||
[Token(Token = "0x4007C05")]
|
||||
public static readonly DerObjectIdentifier DHHybrid1 = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007C06 RID: 31750
|
||||
[Token(Token = "0x4007C06")]
|
||||
public static readonly DerObjectIdentifier DHHybrid2 = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007C07 RID: 31751
|
||||
[Token(Token = "0x4007C07")]
|
||||
public static readonly DerObjectIdentifier DHHybridOneFlow = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007C08 RID: 31752
|
||||
[Token(Token = "0x4007C08")]
|
||||
public static readonly DerObjectIdentifier Mqv2 = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007C09 RID: 31753
|
||||
[Token(Token = "0x4007C09")]
|
||||
public static readonly DerObjectIdentifier Mqv1 = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user