scripts
This commit is contained in:
+250
@@ -0,0 +1,250 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x020017E8 RID: 6120
|
||||
[Token(Token = "0x20017E8")]
|
||||
[StructLayout(3)]
|
||||
public class DHDomainParameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A529 RID: 42281 RVA: 0x002664B8 File Offset: 0x002646B8
|
||||
[Token(Token = "0x600A529")]
|
||||
[Address(RVA = "0x27733B0", Offset = "0x2771DB0", VA = "0x1827733B0")]
|
||||
public static DHDomainParameters GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return DHDomainParameters.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600A52A RID: 42282 RVA: 0x002664D4 File Offset: 0x002646D4
|
||||
[Token(Token = "0x600A52A")]
|
||||
[Address(RVA = "0x27733D0", Offset = "0x2771DD0", VA = "0x1827733D0")]
|
||||
public static DHDomainParameters GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A52A)
|
||||
|
||||
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: 0x0600A52B RID: 42283 RVA: 0x00266528 File Offset: 0x00264728
|
||||
[Token(Token = "0x600A52B")]
|
||||
[Address(RVA = "0x2773920", Offset = "0x2772320", VA = "0x182773920")]
|
||||
public DHDomainParameters(DerInteger p, DerInteger g, DerInteger q, DerInteger j, DHValidationParms validationParms)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A52B)
|
||||
|
||||
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: 0x0600A52C RID: 42284 RVA: 0x00266580 File Offset: 0x00264780
|
||||
[Token(Token = "0x600A52C")]
|
||||
[Address(RVA = "0x2773A40", Offset = "0x2772440", VA = "0x182773A40")]
|
||||
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: 0x0600A52D RID: 42285 RVA: 0x00266624 File Offset: 0x00264824
|
||||
[Token(Token = "0x600A52D")]
|
||||
[Address(RVA = "0x27735D0", Offset = "0x2771FD0", VA = "0x1827735D0")]
|
||||
private static Asn1Encodable GetNext(IEnumerator e)
|
||||
{
|
||||
while (e == 0)
|
||||
{
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x170019BC RID: 6588
|
||||
// (get) Token: 0x0600A52E RID: 42286 RVA: 0x00266640 File Offset: 0x00264840
|
||||
[Token(Token = "0x170019BC")]
|
||||
public DerInteger P
|
||||
{
|
||||
[Token(Token = "0x600A52E")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.p;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019BD RID: 6589
|
||||
// (get) Token: 0x0600A52F RID: 42287 RVA: 0x00266654 File Offset: 0x00264854
|
||||
[Token(Token = "0x170019BD")]
|
||||
public DerInteger G
|
||||
{
|
||||
[Token(Token = "0x600A52F")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.g;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019BE RID: 6590
|
||||
// (get) Token: 0x0600A530 RID: 42288 RVA: 0x00266668 File Offset: 0x00264868
|
||||
[Token(Token = "0x170019BE")]
|
||||
public DerInteger Q
|
||||
{
|
||||
[Token(Token = "0x600A530")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.q;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019BF RID: 6591
|
||||
// (get) Token: 0x0600A531 RID: 42289 RVA: 0x0026667C File Offset: 0x0026487C
|
||||
[Token(Token = "0x170019BF")]
|
||||
public DerInteger J
|
||||
{
|
||||
[Token(Token = "0x600A531")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230")]
|
||||
get
|
||||
{
|
||||
return this.j;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019C0 RID: 6592
|
||||
// (get) Token: 0x0600A532 RID: 42290 RVA: 0x00266690 File Offset: 0x00264890
|
||||
[Token(Token = "0x170019C0")]
|
||||
public DHValidationParms ValidationParms
|
||||
{
|
||||
[Token(Token = "0x600A532")]
|
||||
[Address(RVA = "0x3C1250", Offset = "0x3BFC50", VA = "0x1803C1250")]
|
||||
get
|
||||
{
|
||||
return this.validationParms;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A533 RID: 42291 RVA: 0x002666A4 File Offset: 0x002648A4
|
||||
[Token(Token = "0x600A533")]
|
||||
[Address(RVA = "0x2773680", Offset = "0x2772080", VA = "0x182773680", 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: 0x04006B94 RID: 27540
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006B94")]
|
||||
private readonly DerInteger p;
|
||||
|
||||
// Token: 0x04006B95 RID: 27541
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006B95")]
|
||||
private readonly DerInteger g;
|
||||
|
||||
// Token: 0x04006B96 RID: 27542
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006B96")]
|
||||
private readonly DerInteger q;
|
||||
|
||||
// Token: 0x04006B97 RID: 27543
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006B97")]
|
||||
private readonly DerInteger j;
|
||||
|
||||
// Token: 0x04006B98 RID: 27544
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006B98")]
|
||||
private readonly DHValidationParms validationParms;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x020017E9 RID: 6121
|
||||
[Token(Token = "0x20017E9")]
|
||||
[StructLayout(3)]
|
||||
public class DHPublicKey : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A534 RID: 42292 RVA: 0x00266770 File Offset: 0x00264970
|
||||
[Token(Token = "0x600A534")]
|
||||
[Address(RVA = "0x2773E20", Offset = "0x2772820", VA = "0x182773E20")]
|
||||
public static DHPublicKey GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return DHPublicKey.GetInstance(DerInteger.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600A535 RID: 42293 RVA: 0x0026678C File Offset: 0x0026498C
|
||||
[Token(Token = "0x600A535")]
|
||||
[Address(RVA = "0x2773C10", Offset = "0x2772610", VA = "0x182773C10")]
|
||||
public static DHPublicKey GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A535)
|
||||
|
||||
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: 0x0600A536 RID: 42294 RVA: 0x002667E8 File Offset: 0x002649E8
|
||||
[Token(Token = "0x600A536")]
|
||||
[Address(RVA = "0x2773E40", Offset = "0x2772840", VA = "0x182773E40")]
|
||||
public DHPublicKey(DerInteger y)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A536)
|
||||
|
||||
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: 0x170019C1 RID: 6593
|
||||
// (get) Token: 0x0600A537 RID: 42295 RVA: 0x00266814 File Offset: 0x00264A14
|
||||
[Token(Token = "0x170019C1")]
|
||||
public DerInteger Y
|
||||
{
|
||||
[Token(Token = "0x600A537")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.y;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A538 RID: 42296 RVA: 0x00266828 File Offset: 0x00264A28
|
||||
[Token(Token = "0x600A538")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A538)
|
||||
|
||||
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: 0x04006B99 RID: 27545
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006B99")]
|
||||
private readonly DerInteger y;
|
||||
}
|
||||
}
|
||||
+148
@@ -0,0 +1,148 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x020017EA RID: 6122
|
||||
[Token(Token = "0x20017EA")]
|
||||
[StructLayout(3)]
|
||||
public class DHValidationParms : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A539 RID: 42297 RVA: 0x0026683C File Offset: 0x00264A3C
|
||||
[Token(Token = "0x600A539")]
|
||||
[Address(RVA = "0x2773EC0", Offset = "0x27728C0", VA = "0x182773EC0")]
|
||||
public static DHValidationParms GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return DHValidationParms.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600A53A RID: 42298 RVA: 0x00266858 File Offset: 0x00264A58
|
||||
[Token(Token = "0x600A53A")]
|
||||
[Address(RVA = "0x2773EE0", Offset = "0x27728E0", VA = "0x182773EE0")]
|
||||
public static DHValidationParms GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A53A)
|
||||
|
||||
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: 0x0600A53B RID: 42299 RVA: 0x002668B8 File Offset: 0x00264AB8
|
||||
[Token(Token = "0x600A53B")]
|
||||
[Address(RVA = "0x2774300", Offset = "0x2772D00", VA = "0x182774300")]
|
||||
public DHValidationParms(DerBitString seed, DerInteger pgenCounter)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A53B)
|
||||
|
||||
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: 0x0600A53C RID: 42300 RVA: 0x002668F8 File Offset: 0x00264AF8
|
||||
[Token(Token = "0x600A53C")]
|
||||
[Address(RVA = "0x27743D0", Offset = "0x2772DD0", VA = "0x1827743D0")]
|
||||
private DHValidationParms(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DerBitString derBitString;
|
||||
this.seed = derBitString;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
DerInteger derInteger;
|
||||
this.pgenCounter = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x170019C2 RID: 6594
|
||||
// (get) Token: 0x0600A53D RID: 42301 RVA: 0x00266930 File Offset: 0x00264B30
|
||||
[Token(Token = "0x170019C2")]
|
||||
public DerBitString Seed
|
||||
{
|
||||
[Token(Token = "0x600A53D")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.seed;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019C3 RID: 6595
|
||||
// (get) Token: 0x0600A53E RID: 42302 RVA: 0x00266944 File Offset: 0x00264B44
|
||||
[Token(Token = "0x170019C3")]
|
||||
public DerInteger PgenCounter
|
||||
{
|
||||
[Token(Token = "0x600A53E")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.pgenCounter;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A53F RID: 42303 RVA: 0x00266958 File Offset: 0x00264B58
|
||||
[Token(Token = "0x600A53F")]
|
||||
[Address(RVA = "0x27741F0", Offset = "0x2772BF0", VA = "0x1827741F0", 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: 0x04006B9A RID: 27546
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006B9A")]
|
||||
private readonly DerBitString seed;
|
||||
|
||||
// Token: 0x04006B9B RID: 27547
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006B9B")]
|
||||
private readonly DerInteger pgenCounter;
|
||||
}
|
||||
}
|
||||
+132
@@ -0,0 +1,132 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
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: 0x020017EB RID: 6123
|
||||
[Token(Token = "0x20017EB")]
|
||||
[StructLayout(3)]
|
||||
public class ECNamedCurveTable
|
||||
{
|
||||
// Token: 0x0600A540 RID: 42304 RVA: 0x002669A0 File Offset: 0x00264BA0
|
||||
[Token(Token = "0x600A540")]
|
||||
[Address(RVA = "0x27745E0", Offset = "0x2772FE0", VA = "0x1827745E0")]
|
||||
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: 0x0600A541 RID: 42305 RVA: 0x002669FC File Offset: 0x00264BFC
|
||||
[Token(Token = "0x600A541")]
|
||||
[Address(RVA = "0x2774920", Offset = "0x2773320", VA = "0x182774920")]
|
||||
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: 0x0600A542 RID: 42306 RVA: 0x00266A48 File Offset: 0x00264C48
|
||||
[Token(Token = "0x600A542")]
|
||||
[Address(RVA = "0x2774B20", Offset = "0x2773520", VA = "0x182774B20")]
|
||||
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: 0x0600A543 RID: 42307 RVA: 0x00266A98 File Offset: 0x00264C98
|
||||
[Token(Token = "0x600A543")]
|
||||
[Address(RVA = "0x27747D0", Offset = "0x27731D0", VA = "0x1827747D0")]
|
||||
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: 0x170019C4 RID: 6596
|
||||
// (get) Token: 0x0600A544 RID: 42308 RVA: 0x00266AE4 File Offset: 0x00264CE4
|
||||
[Token(Token = "0x170019C4")]
|
||||
public static IEnumerable Names
|
||||
{
|
||||
[Token(Token = "0x600A544")]
|
||||
[Address(RVA = "0x2774C90", Offset = "0x2773690", VA = "0x182774C90")]
|
||||
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: 0x0600A545 RID: 42309 RVA: 0x00266B78 File Offset: 0x00264D78
|
||||
[Token(Token = "0x600A545")]
|
||||
[Address(RVA = "0x2774520", Offset = "0x2772F20", VA = "0x182774520")]
|
||||
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: 0x0600A546 RID: 42310 RVA: 0x00266BBC File Offset: 0x00264DBC
|
||||
[Token(Token = "0x600A546")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public ECNamedCurveTable()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x020017EC RID: 6124
|
||||
[Token(Token = "0x20017EC")]
|
||||
[StructLayout(3)]
|
||||
public class KeySpecificInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A547 RID: 42311 RVA: 0x00266BD0 File Offset: 0x00264DD0
|
||||
[Token(Token = "0x600A547")]
|
||||
[Address(RVA = "0x937E20", Offset = "0x936820", VA = "0x180937E20")]
|
||||
public KeySpecificInfo(DerObjectIdentifier algorithm, Asn1OctetString counter)
|
||||
{
|
||||
this.algorithm = algorithm;
|
||||
this.counter = counter;
|
||||
}
|
||||
|
||||
// Token: 0x0600A548 RID: 42312 RVA: 0x00266BF4 File Offset: 0x00264DF4
|
||||
[Token(Token = "0x600A548")]
|
||||
[Address(RVA = "0x2775000", Offset = "0x2773A00", VA = "0x182775000")]
|
||||
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: 0x170019C5 RID: 6597
|
||||
// (get) Token: 0x0600A549 RID: 42313 RVA: 0x00266C38 File Offset: 0x00264E38
|
||||
[Token(Token = "0x170019C5")]
|
||||
public DerObjectIdentifier Algorithm
|
||||
{
|
||||
[Token(Token = "0x600A549")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.algorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019C6 RID: 6598
|
||||
// (get) Token: 0x0600A54A RID: 42314 RVA: 0x00266C4C File Offset: 0x00264E4C
|
||||
[Token(Token = "0x170019C6")]
|
||||
public Asn1OctetString Counter
|
||||
{
|
||||
[Token(Token = "0x600A54A")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.counter;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A54B RID: 42315 RVA: 0x00266C60 File Offset: 0x00264E60
|
||||
[Token(Token = "0x600A54B")]
|
||||
[Address(RVA = "0x2774EF0", Offset = "0x27738F0", VA = "0x182774EF0", 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: 0x04006B9C RID: 27548
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006B9C")]
|
||||
private DerObjectIdentifier algorithm;
|
||||
|
||||
// Token: 0x04006B9D RID: 27549
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006B9D")]
|
||||
private Asn1OctetString counter;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,168 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x020017ED RID: 6125
|
||||
[Token(Token = "0x20017ED")]
|
||||
[StructLayout(3)]
|
||||
public class OtherInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A54C RID: 42316 RVA: 0x00266CA8 File Offset: 0x00264EA8
|
||||
[Token(Token = "0x600A54C")]
|
||||
[Address(RVA = "0xC54A80", Offset = "0xC53480", VA = "0x180C54A80")]
|
||||
public OtherInfo(KeySpecificInfo keyInfo, Asn1OctetString partyAInfo, Asn1OctetString suppPubInfo)
|
||||
{
|
||||
this.keyInfo = keyInfo;
|
||||
this.partyAInfo = partyAInfo;
|
||||
this.suppPubInfo = suppPubInfo;
|
||||
}
|
||||
|
||||
// Token: 0x0600A54D RID: 42317 RVA: 0x00266CD0 File Offset: 0x00264ED0
|
||||
[Token(Token = "0x600A54D")]
|
||||
[Address(RVA = "0x27753C0", Offset = "0x2773DC0", VA = "0x1827753C0")]
|
||||
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: 0x170019C7 RID: 6599
|
||||
// (get) Token: 0x0600A54E RID: 42318 RVA: 0x00266D5C File Offset: 0x00264F5C
|
||||
[Token(Token = "0x170019C7")]
|
||||
public KeySpecificInfo KeyInfo
|
||||
{
|
||||
[Token(Token = "0x600A54E")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.keyInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019C8 RID: 6600
|
||||
// (get) Token: 0x0600A54F RID: 42319 RVA: 0x00266D70 File Offset: 0x00264F70
|
||||
[Token(Token = "0x170019C8")]
|
||||
public Asn1OctetString PartyAInfo
|
||||
{
|
||||
[Token(Token = "0x600A54F")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.partyAInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019C9 RID: 6601
|
||||
// (get) Token: 0x0600A550 RID: 42320 RVA: 0x00266D84 File Offset: 0x00264F84
|
||||
[Token(Token = "0x170019C9")]
|
||||
public Asn1OctetString SuppPubInfo
|
||||
{
|
||||
[Token(Token = "0x600A550")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.suppPubInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A551 RID: 42321 RVA: 0x00266D98 File Offset: 0x00264F98
|
||||
[Token(Token = "0x600A551")]
|
||||
[Address(RVA = "0x2775170", Offset = "0x2773B70", VA = "0x182775170", 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: 0x04006B9E RID: 27550
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006B9E")]
|
||||
private KeySpecificInfo keyInfo;
|
||||
|
||||
// Token: 0x04006B9F RID: 27551
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006B9F")]
|
||||
private Asn1OctetString partyAInfo;
|
||||
|
||||
// Token: 0x04006BA0 RID: 27552
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006BA0")]
|
||||
private Asn1OctetString suppPubInfo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,1081 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
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: 0x020017EE RID: 6126
|
||||
[Token(Token = "0x20017EE")]
|
||||
[StructLayout(3)]
|
||||
public sealed class X962NamedCurves
|
||||
{
|
||||
// Token: 0x0600A552 RID: 42322 RVA: 0x00266E44 File Offset: 0x00265044
|
||||
[Token(Token = "0x600A552")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private X962NamedCurves()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A553 RID: 42323 RVA: 0x00266E58 File Offset: 0x00265058
|
||||
[Token(Token = "0x600A553")]
|
||||
[Address(RVA = "0x2783DE0", Offset = "0x27827E0", VA = "0x182783DE0")]
|
||||
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: 0x0600A554 RID: 42324 RVA: 0x00266E84 File Offset: 0x00265084
|
||||
[Token(Token = "0x600A554")]
|
||||
[Address(RVA = "0x2784230", Offset = "0x2782C30", VA = "0x182784230")]
|
||||
static X962NamedCurves()
|
||||
{
|
||||
IDictionary dictionary = Platform.CreateHashtable();
|
||||
X962NamedCurves.objIds = dictionary;
|
||||
IDictionary dictionary2 = Platform.CreateHashtable();
|
||||
X962NamedCurves.curves = dictionary2;
|
||||
X962NamedCurves.names = Platform.CreateHashtable();
|
||||
}
|
||||
|
||||
// Token: 0x0600A555 RID: 42325 RVA: 0x00266EBC File Offset: 0x002650BC
|
||||
[Token(Token = "0x600A555")]
|
||||
[Address(RVA = "0x2783F20", Offset = "0x2782920", VA = "0x182783F20")]
|
||||
public static X9ECParameters GetByName(string name)
|
||||
{
|
||||
DerObjectIdentifier oid = X962NamedCurves.GetOid(name);
|
||||
if (oid == 0)
|
||||
{
|
||||
}
|
||||
return X962NamedCurves.GetByOid(oid);
|
||||
}
|
||||
|
||||
// Token: 0x0600A556 RID: 42326 RVA: 0x00266EDC File Offset: 0x002650DC
|
||||
[Token(Token = "0x600A556")]
|
||||
[Address(RVA = "0x2783FB0", Offset = "0x27829B0", VA = "0x182783FB0")]
|
||||
public static X9ECParameters GetByOid(DerObjectIdentifier oid)
|
||||
{
|
||||
IDictionary dictionary = X962NamedCurves.curves;
|
||||
IDictionary dictionary2 = X962NamedCurves.objIds;
|
||||
X9ECParameters x9ECParameters;
|
||||
return x9ECParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600A557 RID: 42327 RVA: 0x00266F04 File Offset: 0x00265104
|
||||
[Token(Token = "0x600A557")]
|
||||
[Address(RVA = "0x2784130", Offset = "0x2782B30", VA = "0x182784130")]
|
||||
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: 0x0600A558 RID: 42328 RVA: 0x00266F30 File Offset: 0x00265130
|
||||
[Token(Token = "0x600A558")]
|
||||
[Address(RVA = "0x2784090", Offset = "0x2782A90", VA = "0x182784090")]
|
||||
public static string GetName(DerObjectIdentifier oid)
|
||||
{
|
||||
IDictionary dictionary = X962NamedCurves.names;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x170019CA RID: 6602
|
||||
// (get) Token: 0x0600A559 RID: 42329 RVA: 0x00266F48 File Offset: 0x00265148
|
||||
[Token(Token = "0x170019CA")]
|
||||
public static IEnumerable Names
|
||||
{
|
||||
[Token(Token = "0x600A559")]
|
||||
[Address(RVA = "0x2784B10", Offset = "0x2783510", VA = "0x182784B10")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = X962NamedCurves.names;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04006BA1 RID: 27553
|
||||
[Token(Token = "0x4006BA1")]
|
||||
private static readonly IDictionary objIds;
|
||||
|
||||
// Token: 0x04006BA2 RID: 27554
|
||||
[Token(Token = "0x4006BA2")]
|
||||
private static readonly IDictionary curves;
|
||||
|
||||
// Token: 0x04006BA3 RID: 27555
|
||||
[Token(Token = "0x4006BA3")]
|
||||
private static readonly IDictionary names;
|
||||
|
||||
// Token: 0x020017EF RID: 6127
|
||||
[Token(Token = "0x20017EF")]
|
||||
internal class Prime192v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A55A RID: 42330 RVA: 0x00266F60 File Offset: 0x00265160
|
||||
[Token(Token = "0x600A55A")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private Prime192v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A55B RID: 42331 RVA: 0x00266F74 File Offset: 0x00265174
|
||||
[Token(Token = "0x600A55B")]
|
||||
[Address(RVA = "0x27757C0", Offset = "0x27741C0", VA = "0x1827757C0", 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: 0x0600A55C RID: 42332 RVA: 0x00266FFC File Offset: 0x002651FC
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A55C")]
|
||||
[Address(RVA = "0x27759A0", Offset = "0x27743A0", VA = "0x1827759A0")]
|
||||
static Prime192v1Holder()
|
||||
{
|
||||
X962NamedCurves.Prime192v1Holder prime192v1Holder = new X962NamedCurves.Prime192v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BA4 RID: 27556
|
||||
[Token(Token = "0x4006BA4")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017F0 RID: 6128
|
||||
[Token(Token = "0x20017F0")]
|
||||
internal class Prime192v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A55D RID: 42333 RVA: 0x00267010 File Offset: 0x00265210
|
||||
[Token(Token = "0x600A55D")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private Prime192v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A55E RID: 42334 RVA: 0x00267024 File Offset: 0x00265224
|
||||
[Token(Token = "0x600A55E")]
|
||||
[Address(RVA = "0x2775A00", Offset = "0x2774400", VA = "0x182775A00", 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: 0x0600A55F RID: 42335 RVA: 0x002670AC File Offset: 0x002652AC
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A55F")]
|
||||
[Address(RVA = "0x2775BE0", Offset = "0x27745E0", VA = "0x182775BE0")]
|
||||
static Prime192v2Holder()
|
||||
{
|
||||
X962NamedCurves.Prime192v2Holder prime192v2Holder = new X962NamedCurves.Prime192v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BA5 RID: 27557
|
||||
[Token(Token = "0x4006BA5")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017F1 RID: 6129
|
||||
[Token(Token = "0x20017F1")]
|
||||
internal class Prime192v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A560 RID: 42336 RVA: 0x002670C0 File Offset: 0x002652C0
|
||||
[Token(Token = "0x600A560")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private Prime192v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A561 RID: 42337 RVA: 0x002670D4 File Offset: 0x002652D4
|
||||
[Token(Token = "0x600A561")]
|
||||
[Address(RVA = "0x2775C40", Offset = "0x2774640", VA = "0x182775C40", 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: 0x0600A562 RID: 42338 RVA: 0x0026715C File Offset: 0x0026535C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A562")]
|
||||
[Address(RVA = "0x2775E20", Offset = "0x2774820", VA = "0x182775E20")]
|
||||
static Prime192v3Holder()
|
||||
{
|
||||
X962NamedCurves.Prime192v3Holder prime192v3Holder = new X962NamedCurves.Prime192v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BA6 RID: 27558
|
||||
[Token(Token = "0x4006BA6")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017F2 RID: 6130
|
||||
[Token(Token = "0x20017F2")]
|
||||
internal class Prime239v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A563 RID: 42339 RVA: 0x00267170 File Offset: 0x00265370
|
||||
[Token(Token = "0x600A563")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private Prime239v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A564 RID: 42340 RVA: 0x00267184 File Offset: 0x00265384
|
||||
[Token(Token = "0x600A564")]
|
||||
[Address(RVA = "0x2775E80", Offset = "0x2774880", VA = "0x182775E80", 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: 0x0600A565 RID: 42341 RVA: 0x00267208 File Offset: 0x00265408
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A565")]
|
||||
[Address(RVA = "0x2776050", Offset = "0x2774A50", VA = "0x182776050")]
|
||||
static Prime239v1Holder()
|
||||
{
|
||||
X962NamedCurves.Prime239v1Holder prime239v1Holder = new X962NamedCurves.Prime239v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BA7 RID: 27559
|
||||
[Token(Token = "0x4006BA7")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017F3 RID: 6131
|
||||
[Token(Token = "0x20017F3")]
|
||||
internal class Prime239v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A566 RID: 42342 RVA: 0x0026721C File Offset: 0x0026541C
|
||||
[Token(Token = "0x600A566")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private Prime239v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A567 RID: 42343 RVA: 0x00267230 File Offset: 0x00265430
|
||||
[Token(Token = "0x600A567")]
|
||||
[Address(RVA = "0x27760B0", Offset = "0x2774AB0", VA = "0x1827760B0", 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: 0x0600A568 RID: 42344 RVA: 0x002672B4 File Offset: 0x002654B4
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A568")]
|
||||
[Address(RVA = "0x2776280", Offset = "0x2774C80", VA = "0x182776280")]
|
||||
static Prime239v2Holder()
|
||||
{
|
||||
X962NamedCurves.Prime239v2Holder prime239v2Holder = new X962NamedCurves.Prime239v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BA8 RID: 27560
|
||||
[Token(Token = "0x4006BA8")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017F4 RID: 6132
|
||||
[Token(Token = "0x20017F4")]
|
||||
internal class Prime239v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A569 RID: 42345 RVA: 0x002672C8 File Offset: 0x002654C8
|
||||
[Token(Token = "0x600A569")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private Prime239v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A56A RID: 42346 RVA: 0x002672DC File Offset: 0x002654DC
|
||||
[Token(Token = "0x600A56A")]
|
||||
[Address(RVA = "0x27762E0", Offset = "0x2774CE0", VA = "0x1827762E0", 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: 0x0600A56B RID: 42347 RVA: 0x00267360 File Offset: 0x00265560
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A56B")]
|
||||
[Address(RVA = "0x27764B0", Offset = "0x2774EB0", VA = "0x1827764B0")]
|
||||
static Prime239v3Holder()
|
||||
{
|
||||
X962NamedCurves.Prime239v3Holder prime239v3Holder = new X962NamedCurves.Prime239v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BA9 RID: 27561
|
||||
[Token(Token = "0x4006BA9")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017F5 RID: 6133
|
||||
[Token(Token = "0x20017F5")]
|
||||
internal class Prime256v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A56C RID: 42348 RVA: 0x00267374 File Offset: 0x00265574
|
||||
[Token(Token = "0x600A56C")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private Prime256v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A56D RID: 42349 RVA: 0x00267388 File Offset: 0x00265588
|
||||
[Token(Token = "0x600A56D")]
|
||||
[Address(RVA = "0x2776510", Offset = "0x2774F10", VA = "0x182776510", 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: 0x0600A56E RID: 42350 RVA: 0x0026740C File Offset: 0x0026560C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A56E")]
|
||||
[Address(RVA = "0x27766E0", Offset = "0x27750E0", VA = "0x1827766E0")]
|
||||
static Prime256v1Holder()
|
||||
{
|
||||
X962NamedCurves.Prime256v1Holder prime256v1Holder = new X962NamedCurves.Prime256v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BAA RID: 27562
|
||||
[Token(Token = "0x4006BAA")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017F6 RID: 6134
|
||||
[Token(Token = "0x20017F6")]
|
||||
internal class C2pnb163v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A56F RID: 42351 RVA: 0x00267420 File Offset: 0x00265620
|
||||
[Token(Token = "0x600A56F")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2pnb163v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A570 RID: 42352 RVA: 0x00267434 File Offset: 0x00265634
|
||||
[Token(Token = "0x600A570")]
|
||||
[Address(RVA = "0x2771200", Offset = "0x276FC00", VA = "0x182771200", 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: 0x0600A571 RID: 42353 RVA: 0x002674B4 File Offset: 0x002656B4
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A571")]
|
||||
[Address(RVA = "0x27713D0", Offset = "0x276FDD0", VA = "0x1827713D0")]
|
||||
static C2pnb163v1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb163v1Holder c2pnb163v1Holder = new X962NamedCurves.C2pnb163v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BAB RID: 27563
|
||||
[Token(Token = "0x4006BAB")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017F7 RID: 6135
|
||||
[Token(Token = "0x20017F7")]
|
||||
internal class C2pnb163v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A572 RID: 42354 RVA: 0x002674C8 File Offset: 0x002656C8
|
||||
[Token(Token = "0x600A572")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2pnb163v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A573 RID: 42355 RVA: 0x002674DC File Offset: 0x002656DC
|
||||
[Token(Token = "0x600A573")]
|
||||
[Address(RVA = "0x2771430", Offset = "0x276FE30", VA = "0x182771430", 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: 0x0600A574 RID: 42356 RVA: 0x00267544 File Offset: 0x00265744
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A574")]
|
||||
[Address(RVA = "0x27715F0", Offset = "0x276FFF0", VA = "0x1827715F0")]
|
||||
static C2pnb163v2Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb163v2Holder c2pnb163v2Holder = new X962NamedCurves.C2pnb163v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BAC RID: 27564
|
||||
[Token(Token = "0x4006BAC")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017F8 RID: 6136
|
||||
[Token(Token = "0x20017F8")]
|
||||
internal class C2pnb163v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A575 RID: 42357 RVA: 0x00267558 File Offset: 0x00265758
|
||||
[Token(Token = "0x600A575")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2pnb163v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A576 RID: 42358 RVA: 0x0026756C File Offset: 0x0026576C
|
||||
[Token(Token = "0x600A576")]
|
||||
[Address(RVA = "0x2771650", Offset = "0x2770050", VA = "0x182771650", 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: 0x0600A577 RID: 42359 RVA: 0x002675D4 File Offset: 0x002657D4
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A577")]
|
||||
[Address(RVA = "0x2771810", Offset = "0x2770210", VA = "0x182771810")]
|
||||
static C2pnb163v3Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb163v3Holder c2pnb163v3Holder = new X962NamedCurves.C2pnb163v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BAD RID: 27565
|
||||
[Token(Token = "0x4006BAD")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017F9 RID: 6137
|
||||
[Token(Token = "0x20017F9")]
|
||||
internal class C2pnb176w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A578 RID: 42360 RVA: 0x002675E8 File Offset: 0x002657E8
|
||||
[Token(Token = "0x600A578")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2pnb176w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A579 RID: 42361 RVA: 0x002675FC File Offset: 0x002657FC
|
||||
[Token(Token = "0x600A579")]
|
||||
[Address(RVA = "0x2771870", Offset = "0x2770270", VA = "0x182771870", 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: 0x0600A57A RID: 42362 RVA: 0x00267660 File Offset: 0x00265860
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A57A")]
|
||||
[Address(RVA = "0x2771A30", Offset = "0x2770430", VA = "0x182771A30")]
|
||||
static C2pnb176w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb176w1Holder c2pnb176w1Holder = new X962NamedCurves.C2pnb176w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BAE RID: 27566
|
||||
[Token(Token = "0x4006BAE")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017FA RID: 6138
|
||||
[Token(Token = "0x20017FA")]
|
||||
internal class C2tnb191v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A57B RID: 42363 RVA: 0x00267674 File Offset: 0x00265874
|
||||
[Token(Token = "0x600A57B")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2tnb191v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A57C RID: 42364 RVA: 0x00267688 File Offset: 0x00265888
|
||||
[Token(Token = "0x600A57C")]
|
||||
[Address(RVA = "0x2772310", Offset = "0x2770D10", VA = "0x182772310", 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: 0x0600A57D RID: 42365 RVA: 0x00267704 File Offset: 0x00265904
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A57D")]
|
||||
[Address(RVA = "0x27724D0", Offset = "0x2770ED0", VA = "0x1827724D0")]
|
||||
static C2tnb191v1Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb191v1Holder c2tnb191v1Holder = new X962NamedCurves.C2tnb191v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BAF RID: 27567
|
||||
[Token(Token = "0x4006BAF")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017FB RID: 6139
|
||||
[Token(Token = "0x20017FB")]
|
||||
internal class C2tnb191v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A57E RID: 42366 RVA: 0x00267718 File Offset: 0x00265918
|
||||
[Token(Token = "0x600A57E")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2tnb191v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A57F RID: 42367 RVA: 0x0026772C File Offset: 0x0026592C
|
||||
[Token(Token = "0x600A57F")]
|
||||
[Address(RVA = "0x2772530", Offset = "0x2770F30", VA = "0x182772530", 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: 0x0600A580 RID: 42368 RVA: 0x0026778C File Offset: 0x0026598C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A580")]
|
||||
[Address(RVA = "0x27726E0", Offset = "0x27710E0", VA = "0x1827726E0")]
|
||||
static C2tnb191v2Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb191v2Holder c2tnb191v2Holder = new X962NamedCurves.C2tnb191v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BB0 RID: 27568
|
||||
[Token(Token = "0x4006BB0")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017FC RID: 6140
|
||||
[Token(Token = "0x20017FC")]
|
||||
internal class C2tnb191v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A581 RID: 42369 RVA: 0x002677A0 File Offset: 0x002659A0
|
||||
[Token(Token = "0x600A581")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2tnb191v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A582 RID: 42370 RVA: 0x002677B4 File Offset: 0x002659B4
|
||||
[Token(Token = "0x600A582")]
|
||||
[Address(RVA = "0x2772740", Offset = "0x2771140", VA = "0x182772740", 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: 0x0600A583 RID: 42371 RVA: 0x00267814 File Offset: 0x00265A14
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A583")]
|
||||
[Address(RVA = "0x27728F0", Offset = "0x27712F0", VA = "0x1827728F0")]
|
||||
static C2tnb191v3Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb191v3Holder c2tnb191v3Holder = new X962NamedCurves.C2tnb191v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BB1 RID: 27569
|
||||
[Token(Token = "0x4006BB1")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017FD RID: 6141
|
||||
[Token(Token = "0x20017FD")]
|
||||
internal class C2pnb208w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A584 RID: 42372 RVA: 0x00267828 File Offset: 0x00265A28
|
||||
[Token(Token = "0x600A584")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2pnb208w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A585 RID: 42373 RVA: 0x0026783C File Offset: 0x00265A3C
|
||||
[Token(Token = "0x600A585")]
|
||||
[Address(RVA = "0x2771A90", Offset = "0x2770490", VA = "0x182771A90", 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: 0x0600A586 RID: 42374 RVA: 0x002678A0 File Offset: 0x00265AA0
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A586")]
|
||||
[Address(RVA = "0x2771C50", Offset = "0x2770650", VA = "0x182771C50")]
|
||||
static C2pnb208w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb208w1Holder c2pnb208w1Holder = new X962NamedCurves.C2pnb208w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BB2 RID: 27570
|
||||
[Token(Token = "0x4006BB2")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017FE RID: 6142
|
||||
[Token(Token = "0x20017FE")]
|
||||
internal class C2tnb239v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A587 RID: 42375 RVA: 0x002678B4 File Offset: 0x00265AB4
|
||||
[Token(Token = "0x600A587")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2tnb239v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A588 RID: 42376 RVA: 0x002678C8 File Offset: 0x00265AC8
|
||||
[Token(Token = "0x600A588")]
|
||||
[Address(RVA = "0x2772950", Offset = "0x2771350", VA = "0x182772950", 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: 0x0600A589 RID: 42377 RVA: 0x00267928 File Offset: 0x00265B28
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A589")]
|
||||
[Address(RVA = "0x2772B00", Offset = "0x2771500", VA = "0x182772B00")]
|
||||
static C2tnb239v1Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb239v1Holder c2tnb239v1Holder = new X962NamedCurves.C2tnb239v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BB3 RID: 27571
|
||||
[Token(Token = "0x4006BB3")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x020017FF RID: 6143
|
||||
[Token(Token = "0x20017FF")]
|
||||
internal class C2tnb239v2Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A58A RID: 42378 RVA: 0x0026793C File Offset: 0x00265B3C
|
||||
[Token(Token = "0x600A58A")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2tnb239v2Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A58B RID: 42379 RVA: 0x00267950 File Offset: 0x00265B50
|
||||
[Token(Token = "0x600A58B")]
|
||||
[Address(RVA = "0x2772B60", Offset = "0x2771560", VA = "0x182772B60", 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: 0x0600A58C RID: 42380 RVA: 0x002679B0 File Offset: 0x00265BB0
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A58C")]
|
||||
[Address(RVA = "0x2772D10", Offset = "0x2771710", VA = "0x182772D10")]
|
||||
static C2tnb239v2Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb239v2Holder c2tnb239v2Holder = new X962NamedCurves.C2tnb239v2Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BB4 RID: 27572
|
||||
[Token(Token = "0x4006BB4")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001800 RID: 6144
|
||||
[Token(Token = "0x2001800")]
|
||||
internal class C2tnb239v3Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A58D RID: 42381 RVA: 0x002679C4 File Offset: 0x00265BC4
|
||||
[Token(Token = "0x600A58D")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2tnb239v3Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A58E RID: 42382 RVA: 0x002679D8 File Offset: 0x00265BD8
|
||||
[Token(Token = "0x600A58E")]
|
||||
[Address(RVA = "0x2772D70", Offset = "0x2771770", VA = "0x182772D70", 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: 0x0600A58F RID: 42383 RVA: 0x00267A38 File Offset: 0x00265C38
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A58F")]
|
||||
[Address(RVA = "0x2772F20", Offset = "0x2771920", VA = "0x182772F20")]
|
||||
static C2tnb239v3Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb239v3Holder c2tnb239v3Holder = new X962NamedCurves.C2tnb239v3Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BB5 RID: 27573
|
||||
[Token(Token = "0x4006BB5")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001801 RID: 6145
|
||||
[Token(Token = "0x2001801")]
|
||||
internal class C2pnb272w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A590 RID: 42384 RVA: 0x00267A4C File Offset: 0x00265C4C
|
||||
[Token(Token = "0x600A590")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2pnb272w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A591 RID: 42385 RVA: 0x00267A60 File Offset: 0x00265C60
|
||||
[Token(Token = "0x600A591")]
|
||||
[Address(RVA = "0x2771CB0", Offset = "0x27706B0", VA = "0x182771CB0", 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: 0x0600A592 RID: 42386 RVA: 0x00267AC4 File Offset: 0x00265CC4
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A592")]
|
||||
[Address(RVA = "0x2771E70", Offset = "0x2770870", VA = "0x182771E70")]
|
||||
static C2pnb272w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb272w1Holder c2pnb272w1Holder = new X962NamedCurves.C2pnb272w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BB6 RID: 27574
|
||||
[Token(Token = "0x4006BB6")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001802 RID: 6146
|
||||
[Token(Token = "0x2001802")]
|
||||
internal class C2pnb304w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A593 RID: 42387 RVA: 0x00267AD8 File Offset: 0x00265CD8
|
||||
[Token(Token = "0x600A593")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2pnb304w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A594 RID: 42388 RVA: 0x00267AEC File Offset: 0x00265CEC
|
||||
[Token(Token = "0x600A594")]
|
||||
[Address(RVA = "0x2771ED0", Offset = "0x27708D0", VA = "0x182771ED0", 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: 0x0600A595 RID: 42389 RVA: 0x00267B50 File Offset: 0x00265D50
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A595")]
|
||||
[Address(RVA = "0x2772090", Offset = "0x2770A90", VA = "0x182772090")]
|
||||
static C2pnb304w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb304w1Holder c2pnb304w1Holder = new X962NamedCurves.C2pnb304w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BB7 RID: 27575
|
||||
[Token(Token = "0x4006BB7")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001803 RID: 6147
|
||||
[Token(Token = "0x2001803")]
|
||||
internal class C2tnb359v1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A596 RID: 42390 RVA: 0x00267B64 File Offset: 0x00265D64
|
||||
[Token(Token = "0x600A596")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2tnb359v1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A597 RID: 42391 RVA: 0x00267B78 File Offset: 0x00265D78
|
||||
[Token(Token = "0x600A597")]
|
||||
[Address(RVA = "0x2772F80", Offset = "0x2771980", VA = "0x182772F80", 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: 0x0600A598 RID: 42392 RVA: 0x00267BD8 File Offset: 0x00265DD8
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A598")]
|
||||
[Address(RVA = "0x2773130", Offset = "0x2771B30", VA = "0x182773130")]
|
||||
static C2tnb359v1Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb359v1Holder c2tnb359v1Holder = new X962NamedCurves.C2tnb359v1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BB8 RID: 27576
|
||||
[Token(Token = "0x4006BB8")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001804 RID: 6148
|
||||
[Token(Token = "0x2001804")]
|
||||
internal class C2pnb368w1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A599 RID: 42393 RVA: 0x00267BEC File Offset: 0x00265DEC
|
||||
[Token(Token = "0x600A599")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2pnb368w1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A59A RID: 42394 RVA: 0x00267C00 File Offset: 0x00265E00
|
||||
[Token(Token = "0x600A59A")]
|
||||
[Address(RVA = "0x27720F0", Offset = "0x2770AF0", VA = "0x1827720F0", 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: 0x0600A59B RID: 42395 RVA: 0x00267C64 File Offset: 0x00265E64
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A59B")]
|
||||
[Address(RVA = "0x27722B0", Offset = "0x2770CB0", VA = "0x1827722B0")]
|
||||
static C2pnb368w1Holder()
|
||||
{
|
||||
X962NamedCurves.C2pnb368w1Holder c2pnb368w1Holder = new X962NamedCurves.C2pnb368w1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BB9 RID: 27577
|
||||
[Token(Token = "0x4006BB9")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
|
||||
// Token: 0x02001805 RID: 6149
|
||||
[Token(Token = "0x2001805")]
|
||||
internal class C2tnb431r1Holder : X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x0600A59C RID: 42396 RVA: 0x00267C78 File Offset: 0x00265E78
|
||||
[Token(Token = "0x600A59C")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
private C2tnb431r1Holder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A59D RID: 42397 RVA: 0x00267C8C File Offset: 0x00265E8C
|
||||
[Token(Token = "0x600A59D")]
|
||||
[Address(RVA = "0x2773190", Offset = "0x2771B90", VA = "0x182773190", 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: 0x0600A59E RID: 42398 RVA: 0x00267CEC File Offset: 0x00265EEC
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A59E")]
|
||||
[Address(RVA = "0x2773350", Offset = "0x2771D50", VA = "0x182773350")]
|
||||
static C2tnb431r1Holder()
|
||||
{
|
||||
X962NamedCurves.C2tnb431r1Holder c2tnb431r1Holder = new X962NamedCurves.C2tnb431r1Holder();
|
||||
}
|
||||
|
||||
// Token: 0x04006BBA RID: 27578
|
||||
[Token(Token = "0x4006BBA")]
|
||||
internal static readonly X9ECParametersHolder Instance;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001806 RID: 6150
|
||||
[Token(Token = "0x2001806")]
|
||||
[StructLayout(3)]
|
||||
public class X962Parameters : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600A59F RID: 42399 RVA: 0x00267D00 File Offset: 0x00265F00
|
||||
[Token(Token = "0x600A59F")]
|
||||
[Address(RVA = "0x2784BC0", Offset = "0x27835C0", VA = "0x182784BC0")]
|
||||
public static X962Parameters GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A59F)
|
||||
|
||||
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: 0x0600A5A0 RID: 42400 RVA: 0x00267D54 File Offset: 0x00265F54
|
||||
[Token(Token = "0x600A5A0")]
|
||||
[Address(RVA = "0x2784E60", Offset = "0x2783860", VA = "0x182784E60")]
|
||||
public X962Parameters(X9ECParameters ecParameters)
|
||||
{
|
||||
Asn1Object asn1Object = ecParameters.ToAsn1Object();
|
||||
this._params = asn1Object;
|
||||
}
|
||||
|
||||
// Token: 0x0600A5A1 RID: 42401 RVA: 0x00267D7C File Offset: 0x00265F7C
|
||||
[Token(Token = "0x600A5A1")]
|
||||
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
||||
public X962Parameters(DerObjectIdentifier namedCurve)
|
||||
{
|
||||
this._params = namedCurve;
|
||||
}
|
||||
|
||||
// Token: 0x0600A5A2 RID: 42402 RVA: 0x00267D98 File Offset: 0x00265F98
|
||||
[Token(Token = "0x600A5A2")]
|
||||
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
||||
public X962Parameters(Asn1Object obj)
|
||||
{
|
||||
this._params = obj;
|
||||
}
|
||||
|
||||
// Token: 0x170019CB RID: 6603
|
||||
// (get) Token: 0x0600A5A3 RID: 42403 RVA: 0x00267DB4 File Offset: 0x00265FB4
|
||||
[Token(Token = "0x170019CB")]
|
||||
public bool IsNamedCurve
|
||||
{
|
||||
[Token(Token = "0x600A5A3")]
|
||||
[Address(RVA = "0x2784F30", Offset = "0x2783930", VA = "0x182784F30")]
|
||||
get
|
||||
{
|
||||
Asn1Object @params = this._params;
|
||||
if (@params == 0)
|
||||
{
|
||||
return 0 != 0;
|
||||
}
|
||||
return @params != 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019CC RID: 6604
|
||||
// (get) Token: 0x0600A5A4 RID: 42404 RVA: 0x00267DE0 File Offset: 0x00265FE0
|
||||
[Token(Token = "0x170019CC")]
|
||||
public bool IsImplicitlyCA
|
||||
{
|
||||
[Token(Token = "0x600A5A4")]
|
||||
[Address(RVA = "0x2784EB0", Offset = "0x27838B0", VA = "0x182784EB0")]
|
||||
get
|
||||
{
|
||||
Asn1Object @params = this._params;
|
||||
if (@params == 0)
|
||||
{
|
||||
return 0 != 0;
|
||||
}
|
||||
return @params != 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019CD RID: 6605
|
||||
// (get) Token: 0x0600A5A5 RID: 42405 RVA: 0x00267E0C File Offset: 0x0026600C
|
||||
[Token(Token = "0x170019CD")]
|
||||
public Asn1Object Parameters
|
||||
{
|
||||
[Token(Token = "0x600A5A5")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this._params;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A5A6 RID: 42406 RVA: 0x00267E20 File Offset: 0x00266020
|
||||
[Token(Token = "0x600A5A6")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
return this._params;
|
||||
}
|
||||
|
||||
// Token: 0x04006BBB RID: 27579
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006BBB")]
|
||||
private readonly Asn1Object _params;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,165 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
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: 0x02001807 RID: 6151
|
||||
[Token(Token = "0x2001807")]
|
||||
[StructLayout(3)]
|
||||
public class X9Curve : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A5A7 RID: 42407 RVA: 0x00267E34 File Offset: 0x00266034
|
||||
[Token(Token = "0x600A5A7")]
|
||||
[Address(RVA = "0x27853B0", Offset = "0x2783DB0", VA = "0x1827853B0")]
|
||||
public X9Curve(ECCurve curve)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A5A8 RID: 42408 RVA: 0x00267E44 File Offset: 0x00266044
|
||||
[Token(Token = "0x600A5A8")]
|
||||
[Address(RVA = "0x27853F0", Offset = "0x2783DF0", VA = "0x1827853F0")]
|
||||
public X9Curve(ECCurve curve, byte[] seed)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A5A8)
|
||||
|
||||
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: 0x0600A5A9 RID: 42409 RVA: 0x00267EA8 File Offset: 0x002660A8
|
||||
[Token(Token = "0x600A5A9")]
|
||||
[Address(RVA = "0x27853C0", Offset = "0x2783DC0", VA = "0x1827853C0")]
|
||||
[Obsolete]
|
||||
public X9Curve(X9FieldID fieldID, Asn1Sequence seq)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A5AA RID: 42410 RVA: 0x00267EBC File Offset: 0x002660BC
|
||||
[Token(Token = "0x600A5AA")]
|
||||
[Address(RVA = "0x2785570", Offset = "0x2783F70", VA = "0x182785570")]
|
||||
public X9Curve(X9FieldID fieldID, BigInteger order, BigInteger cofactor, Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A5AA)
|
||||
|
||||
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: 0x170019CE RID: 6606
|
||||
// (get) Token: 0x0600A5AB RID: 42411 RVA: 0x00267FB0 File Offset: 0x002661B0
|
||||
[Token(Token = "0x170019CE")]
|
||||
public ECCurve Curve
|
||||
{
|
||||
[Token(Token = "0x600A5AB")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.curve;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A5AC RID: 42412 RVA: 0x00267FC4 File Offset: 0x002661C4
|
||||
[Token(Token = "0x600A5AC")]
|
||||
[Address(RVA = "0x2784FB0", Offset = "0x27839B0", VA = "0x182784FB0")]
|
||||
public byte[] GetSeed()
|
||||
{
|
||||
return Arrays.Clone(this.seed);
|
||||
}
|
||||
|
||||
// Token: 0x0600A5AD RID: 42413 RVA: 0x00267FDC File Offset: 0x002661DC
|
||||
[Token(Token = "0x600A5AD")]
|
||||
[Address(RVA = "0x2785010", Offset = "0x2783A10", VA = "0x182785010", 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: 0x04006BBC RID: 27580
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006BBC")]
|
||||
private readonly ECCurve curve;
|
||||
|
||||
// Token: 0x04006BBD RID: 27581
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006BBD")]
|
||||
private readonly byte[] seed;
|
||||
|
||||
// Token: 0x04006BBE RID: 27582
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006BBE")]
|
||||
private readonly DerObjectIdentifier fieldIdentifier;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,310 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
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: 0x02001808 RID: 6152
|
||||
[Token(Token = "0x2001808")]
|
||||
[StructLayout(3)]
|
||||
public class X9ECParameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A5AE RID: 42414 RVA: 0x002680B4 File Offset: 0x002662B4
|
||||
[Token(Token = "0x600A5AE")]
|
||||
[Address(RVA = "0x2785DE0", Offset = "0x27847E0", VA = "0x182785DE0")]
|
||||
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: 0x0600A5AF RID: 42415 RVA: 0x002680E8 File Offset: 0x002662E8
|
||||
[Token(Token = "0x600A5AF")]
|
||||
[Address(RVA = "0x2786680", Offset = "0x2785080", VA = "0x182786680")]
|
||||
public X9ECParameters(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A5AF)
|
||||
|
||||
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: 0x0600A5B0 RID: 42416 RVA: 0x00268204 File Offset: 0x00266404
|
||||
[Token(Token = "0x600A5B0")]
|
||||
[Address(RVA = "0x2786280", Offset = "0x2784C80", VA = "0x182786280")]
|
||||
public X9ECParameters(ECCurve curve, ECPoint g, BigInteger n)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A5B1 RID: 42417 RVA: 0x00268214 File Offset: 0x00266414
|
||||
[Token(Token = "0x600A5B1")]
|
||||
[Address(RVA = "0x2786250", Offset = "0x2784C50", VA = "0x182786250")]
|
||||
public X9ECParameters(ECCurve curve, X9ECPoint g, BigInteger n, BigInteger h)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A5B2 RID: 42418 RVA: 0x00268224 File Offset: 0x00266424
|
||||
[Token(Token = "0x600A5B2")]
|
||||
[Address(RVA = "0x2786CB0", Offset = "0x27856B0", VA = "0x182786CB0")]
|
||||
public X9ECParameters(ECCurve curve, ECPoint g, BigInteger n, BigInteger h)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A5B3 RID: 42419 RVA: 0x00268234 File Offset: 0x00266434
|
||||
[Token(Token = "0x600A5B3")]
|
||||
[Address(RVA = "0x2786BA0", Offset = "0x27855A0", VA = "0x182786BA0")]
|
||||
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: 0x0600A5B4 RID: 42420 RVA: 0x00268268 File Offset: 0x00266468
|
||||
[Token(Token = "0x600A5B4")]
|
||||
[Address(RVA = "0x27862A0", Offset = "0x2784CA0", VA = "0x1827862A0")]
|
||||
public X9ECParameters(ECCurve curve, X9ECPoint g, BigInteger n, BigInteger h, byte[] seed)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A5B4)
|
||||
|
||||
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: 0x170019CF RID: 6607
|
||||
// (get) Token: 0x0600A5B5 RID: 42421 RVA: 0x00268348 File Offset: 0x00266548
|
||||
[Token(Token = "0x170019CF")]
|
||||
public ECCurve Curve
|
||||
{
|
||||
[Token(Token = "0x600A5B5")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.curve;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019D0 RID: 6608
|
||||
// (get) Token: 0x0600A5B6 RID: 42422 RVA: 0x0026835C File Offset: 0x0026655C
|
||||
[Token(Token = "0x170019D0")]
|
||||
public ECPoint G
|
||||
{
|
||||
[Token(Token = "0x600A5B6")]
|
||||
[Address(RVA = "0x2786D50", Offset = "0x2785750", VA = "0x182786D50")]
|
||||
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: 0x170019D1 RID: 6609
|
||||
// (get) Token: 0x0600A5B7 RID: 42423 RVA: 0x002683A0 File Offset: 0x002665A0
|
||||
[Token(Token = "0x170019D1")]
|
||||
public BigInteger N
|
||||
{
|
||||
[Token(Token = "0x600A5B7")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230")]
|
||||
get
|
||||
{
|
||||
return this.n;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019D2 RID: 6610
|
||||
// (get) Token: 0x0600A5B8 RID: 42424 RVA: 0x002683B4 File Offset: 0x002665B4
|
||||
[Token(Token = "0x170019D2")]
|
||||
public BigInteger H
|
||||
{
|
||||
[Token(Token = "0x600A5B8")]
|
||||
[Address(RVA = "0x3C1250", Offset = "0x3BFC50", VA = "0x1803C1250")]
|
||||
get
|
||||
{
|
||||
return this.h;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A5B9 RID: 42425 RVA: 0x002683C8 File Offset: 0x002665C8
|
||||
[Token(Token = "0x600A5B9")]
|
||||
[Address(RVA = "0x3EE8E0", Offset = "0x3ED2E0", VA = "0x1803EE8E0")]
|
||||
public byte[] GetSeed()
|
||||
{
|
||||
return this.seed;
|
||||
}
|
||||
|
||||
// Token: 0x170019D3 RID: 6611
|
||||
// (get) Token: 0x0600A5BA RID: 42426 RVA: 0x002683DC File Offset: 0x002665DC
|
||||
[Token(Token = "0x170019D3")]
|
||||
public X9Curve CurveEntry
|
||||
{
|
||||
[Token(Token = "0x600A5BA")]
|
||||
[Address(RVA = "0x2786CE0", Offset = "0x27856E0", VA = "0x182786CE0")]
|
||||
get
|
||||
{
|
||||
ECCurve eccurve = this.curve;
|
||||
byte[] array = this.seed;
|
||||
return new X9Curve(eccurve, array);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019D4 RID: 6612
|
||||
// (get) Token: 0x0600A5BB RID: 42427 RVA: 0x00268400 File Offset: 0x00266600
|
||||
[Token(Token = "0x170019D4")]
|
||||
public X9FieldID FieldIDEntry
|
||||
{
|
||||
[Token(Token = "0x600A5BB")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.fieldID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019D5 RID: 6613
|
||||
// (get) Token: 0x0600A5BC RID: 42428 RVA: 0x00268414 File Offset: 0x00266614
|
||||
[Token(Token = "0x170019D5")]
|
||||
public X9ECPoint BaseEntry
|
||||
{
|
||||
[Token(Token = "0x600A5BC")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.g;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A5BD RID: 42429 RVA: 0x00268428 File Offset: 0x00266628
|
||||
[Token(Token = "0x600A5BD")]
|
||||
[Address(RVA = "0x2785EE0", Offset = "0x27848E0", VA = "0x182785EE0", 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: 0x04006BBF RID: 27583
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006BBF")]
|
||||
private X9FieldID fieldID;
|
||||
|
||||
// Token: 0x04006BC0 RID: 27584
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006BC0")]
|
||||
private ECCurve curve;
|
||||
|
||||
// Token: 0x04006BC1 RID: 27585
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006BC1")]
|
||||
private X9ECPoint g;
|
||||
|
||||
// Token: 0x04006BC2 RID: 27586
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006BC2")]
|
||||
private BigInteger n;
|
||||
|
||||
// Token: 0x04006BC3 RID: 27587
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006BC3")]
|
||||
private BigInteger h;
|
||||
|
||||
// Token: 0x04006BC4 RID: 27588
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006BC4")]
|
||||
private byte[] seed;
|
||||
}
|
||||
}
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001809 RID: 6153
|
||||
[Token(Token = "0x2001809")]
|
||||
[StructLayout(3)]
|
||||
public abstract class X9ECParametersHolder
|
||||
{
|
||||
// Token: 0x170019D6 RID: 6614
|
||||
// (get) Token: 0x0600A5BE RID: 42430 RVA: 0x0026850C File Offset: 0x0026670C
|
||||
[Token(Token = "0x170019D6")]
|
||||
public X9ECParameters Parameters
|
||||
{
|
||||
[Token(Token = "0x600A5BE")]
|
||||
[Address(RVA = "0x2785CF0", Offset = "0x27846F0", VA = "0x182785CF0")]
|
||||
get
|
||||
{
|
||||
int num;
|
||||
X9ECParameters x9ECParameters;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
x9ECParameters = this.parameters;
|
||||
if (x9ECParameters == 0)
|
||||
{
|
||||
string text = this.ToString();
|
||||
this.parameters = text;
|
||||
}
|
||||
Monitor.Exit(this);
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return x9ECParameters;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A5BF RID: 42431
|
||||
[Token(Token = "0x600A5BF")]
|
||||
[Address(Slot = "4")]
|
||||
protected abstract X9ECParameters CreateParameters();
|
||||
|
||||
// Token: 0x0600A5C0 RID: 42432 RVA: 0x00268544 File Offset: 0x00266744
|
||||
[Token(Token = "0x600A5C0")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected X9ECParametersHolder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04006BC5 RID: 27589
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006BC5")]
|
||||
private X9ECParameters parameters;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
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: 0x0200180A RID: 6154
|
||||
[Token(Token = "0x200180A")]
|
||||
[StructLayout(3)]
|
||||
public class X9ECPoint : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A5C1 RID: 42433 RVA: 0x00268558 File Offset: 0x00266758
|
||||
[Token(Token = "0x600A5C1")]
|
||||
[Address(RVA = "0x2786EB0", Offset = "0x27858B0", VA = "0x182786EB0")]
|
||||
public X9ECPoint(ECPoint p)
|
||||
{
|
||||
bool flag = p.IsNormalized();
|
||||
this.p = flag;
|
||||
byte[] array;
|
||||
DerOctetString derOctetString = new DerOctetString(array);
|
||||
this.encoding = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600A5C2 RID: 42434 RVA: 0x00268590 File Offset: 0x00266790
|
||||
[Token(Token = "0x600A5C2")]
|
||||
[Address(RVA = "0x2786F60", Offset = "0x2785960", VA = "0x182786F60")]
|
||||
public X9ECPoint(ECPoint p, bool compressed)
|
||||
{
|
||||
bool flag = p.IsNormalized();
|
||||
this.p = flag;
|
||||
byte[] array;
|
||||
DerOctetString derOctetString = new DerOctetString(array);
|
||||
this.encoding = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600A5C3 RID: 42435 RVA: 0x002685C8 File Offset: 0x002667C8
|
||||
[Token(Token = "0x600A5C3")]
|
||||
[Address(RVA = "0x2787010", Offset = "0x2785A10", VA = "0x182787010")]
|
||||
public X9ECPoint(ECCurve c, byte[] encoding)
|
||||
{
|
||||
this.c = c;
|
||||
DerOctetString derOctetString = new DerOctetString(Arrays.Clone(encoding));
|
||||
this.encoding = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600A5C4 RID: 42436 RVA: 0x002685F8 File Offset: 0x002667F8
|
||||
[Token(Token = "0x600A5C4")]
|
||||
[Address(RVA = "0x2786E60", Offset = "0x2785860", VA = "0x182786E60")]
|
||||
public X9ECPoint(ECCurve c, Asn1OctetString s)
|
||||
{
|
||||
Stream octetStream = s.GetOctetStream();
|
||||
}
|
||||
|
||||
// Token: 0x0600A5C5 RID: 42437 RVA: 0x00268614 File Offset: 0x00266814
|
||||
[Token(Token = "0x600A5C5")]
|
||||
[Address(RVA = "0x2786DE0", Offset = "0x27857E0", VA = "0x182786DE0")]
|
||||
public byte[] GetPointEncoding()
|
||||
{
|
||||
Stream octetStream = this.encoding.GetOctetStream();
|
||||
byte[] array;
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x170019D7 RID: 6615
|
||||
// (get) Token: 0x0600A5C6 RID: 42438 RVA: 0x00268634 File Offset: 0x00266834
|
||||
[Token(Token = "0x170019D7")]
|
||||
public ECPoint Point
|
||||
{
|
||||
[Token(Token = "0x600A5C6")]
|
||||
[Address(RVA = "0x2787120", Offset = "0x2785B20", VA = "0x182787120")]
|
||||
get
|
||||
{
|
||||
ECPoint ecpoint = this.p;
|
||||
if (ecpoint == 0)
|
||||
{
|
||||
ECCurve eccurve = this.c;
|
||||
Stream octetStream = this.encoding.GetOctetStream();
|
||||
ECMultiplier multiplier = eccurve.GetMultiplier();
|
||||
}
|
||||
return ecpoint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019D8 RID: 6616
|
||||
// (get) Token: 0x0600A5C7 RID: 42439 RVA: 0x00268670 File Offset: 0x00266870
|
||||
[Token(Token = "0x170019D8")]
|
||||
public bool IsPointCompressed
|
||||
{
|
||||
[Token(Token = "0x600A5C7")]
|
||||
[Address(RVA = "0x27870B0", Offset = "0x2785AB0", VA = "0x1827870B0")]
|
||||
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: 0x0600A5C8 RID: 42440 RVA: 0x002686B4 File Offset: 0x002668B4
|
||||
[Token(Token = "0x600A5C8")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A5C8)
|
||||
|
||||
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: 0x04006BC6 RID: 27590
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006BC6")]
|
||||
private readonly Asn1OctetString encoding;
|
||||
|
||||
// Token: 0x04006BC7 RID: 27591
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006BC7")]
|
||||
private ECCurve c;
|
||||
|
||||
// Token: 0x04006BC8 RID: 27592
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006BC8")]
|
||||
private ECPoint p;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x0200180B RID: 6155
|
||||
[Token(Token = "0x200180B")]
|
||||
[StructLayout(3)]
|
||||
public class X9FieldElement : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A5C9 RID: 42441 RVA: 0x002686C8 File Offset: 0x002668C8
|
||||
[Token(Token = "0x600A5C9")]
|
||||
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
||||
public X9FieldElement(ECFieldElement f)
|
||||
{
|
||||
this.f = f;
|
||||
}
|
||||
|
||||
// Token: 0x0600A5CA RID: 42442 RVA: 0x002686E4 File Offset: 0x002668E4
|
||||
[Token(Token = "0x600A5CA")]
|
||||
[Address(RVA = "0x2787300", Offset = "0x2785D00", VA = "0x182787300")]
|
||||
[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: 0x0600A5CB RID: 42443 RVA: 0x00268714 File Offset: 0x00266914
|
||||
[Token(Token = "0x600A5CB")]
|
||||
[Address(RVA = "0x27873C0", Offset = "0x2785DC0", VA = "0x1827873C0")]
|
||||
[Obsolete]
|
||||
public X9FieldElement(int m, int k1, int k2, int k3, Asn1OctetString s)
|
||||
{
|
||||
F2mFieldElement f2mFieldElement;
|
||||
this.f = f2mFieldElement;
|
||||
}
|
||||
|
||||
// Token: 0x170019D9 RID: 6617
|
||||
// (get) Token: 0x0600A5CC RID: 42444 RVA: 0x00268734 File Offset: 0x00266934
|
||||
[Token(Token = "0x170019D9")]
|
||||
public ECFieldElement Value
|
||||
{
|
||||
[Token(Token = "0x600A5CC")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.f;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A5CD RID: 42445 RVA: 0x00268748 File Offset: 0x00266948
|
||||
[Token(Token = "0x600A5CD")]
|
||||
[Address(RVA = "0x27871A0", Offset = "0x2785BA0", VA = "0x1827871A0", 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: 0x04006BC9 RID: 27593
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006BC9")]
|
||||
private ECFieldElement f;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,193 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x0200180C RID: 6156
|
||||
[Token(Token = "0x200180C")]
|
||||
[StructLayout(3)]
|
||||
public class X9FieldID : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A5CE RID: 42446 RVA: 0x002687D4 File Offset: 0x002669D4
|
||||
[Token(Token = "0x600A5CE")]
|
||||
[Address(RVA = "0x2787850", Offset = "0x2786250", VA = "0x182787850")]
|
||||
public X9FieldID(BigInteger primeP)
|
||||
{
|
||||
DerObjectIdentifier primeField = X9ObjectIdentifiers.PrimeField;
|
||||
this.id = primeField;
|
||||
DerInteger derInteger = new DerInteger(primeP);
|
||||
this.parameters = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x0600A5CF RID: 42447 RVA: 0x00268804 File Offset: 0x00266A04
|
||||
[Token(Token = "0x600A5CF")]
|
||||
[Address(RVA = "0x2787900", Offset = "0x2786300", VA = "0x182787900")]
|
||||
public X9FieldID(int m, int k1)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A5D0 RID: 42448 RVA: 0x00268818 File Offset: 0x00266A18
|
||||
[Token(Token = "0x600A5D0")]
|
||||
[Address(RVA = "0x2787920", Offset = "0x2786320", VA = "0x182787920")]
|
||||
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: 0x0600A5D1 RID: 42449 RVA: 0x00268934 File Offset: 0x00266B34
|
||||
[Token(Token = "0x600A5D1")]
|
||||
[Address(RVA = "0x2787770", Offset = "0x2786170", VA = "0x182787770")]
|
||||
private X9FieldID(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DerObjectIdentifier derObjectIdentifier;
|
||||
this.id = derObjectIdentifier;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
this.parameters = parser2;
|
||||
}
|
||||
|
||||
// Token: 0x0600A5D2 RID: 42450 RVA: 0x0026896C File Offset: 0x00266B6C
|
||||
[Token(Token = "0x600A5D2")]
|
||||
[Address(RVA = "0x27874B0", Offset = "0x2785EB0", VA = "0x1827874B0")]
|
||||
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: 0x170019DA RID: 6618
|
||||
// (get) Token: 0x0600A5D3 RID: 42451 RVA: 0x002689BC File Offset: 0x00266BBC
|
||||
[Token(Token = "0x170019DA")]
|
||||
public DerObjectIdentifier Identifier
|
||||
{
|
||||
[Token(Token = "0x600A5D3")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.id;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170019DB RID: 6619
|
||||
// (get) Token: 0x0600A5D4 RID: 42452 RVA: 0x002689D0 File Offset: 0x00266BD0
|
||||
[Token(Token = "0x170019DB")]
|
||||
public Asn1Object Parameters
|
||||
{
|
||||
[Token(Token = "0x600A5D4")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.parameters;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A5D5 RID: 42453 RVA: 0x002689E4 File Offset: 0x00266BE4
|
||||
[Token(Token = "0x600A5D5")]
|
||||
[Address(RVA = "0x2787660", Offset = "0x2786060", VA = "0x182787660", 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: 0x04006BCA RID: 27594
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006BCA")]
|
||||
private readonly DerObjectIdentifier id;
|
||||
|
||||
// Token: 0x04006BCB RID: 27595
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006BCB")]
|
||||
private readonly Asn1Object parameters;
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x0200180D RID: 6157
|
||||
[Token(Token = "0x200180D")]
|
||||
[StructLayout(3)]
|
||||
public abstract class X9IntegerConverter
|
||||
{
|
||||
// Token: 0x0600A5D6 RID: 42454 RVA: 0x00268A2C File Offset: 0x00266C2C
|
||||
[Token(Token = "0x600A5D6")]
|
||||
[Address(RVA = "0x2787EC0", Offset = "0x27868C0", VA = "0x182787EC0")]
|
||||
public static int GetByteLength(ECFieldElement fe)
|
||||
{
|
||||
string text = fe.FieldName;
|
||||
text += 0;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600A5D7 RID: 42455 RVA: 0x00268A4C File Offset: 0x00266C4C
|
||||
[Token(Token = "0x600A5D7")]
|
||||
[Address(RVA = "0x2787E90", Offset = "0x2786890", VA = "0x182787E90")]
|
||||
public static int GetByteLength(ECCurve c)
|
||||
{
|
||||
string text = c.ToString();
|
||||
text += 0;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600A5D8 RID: 42456 RVA: 0x00268A6C File Offset: 0x00266C6C
|
||||
[Token(Token = "0x600A5D8")]
|
||||
[Address(RVA = "0x2787EF0", Offset = "0x27868F0", VA = "0x182787EF0")]
|
||||
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: 0x0600A5D9 RID: 42457 RVA: 0x00268AC4 File Offset: 0x00266CC4
|
||||
[Token(Token = "0x600A5D9")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected X9IntegerConverter()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+285
@@ -0,0 +1,285 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x0200180E RID: 6158
|
||||
[Token(Token = "0x200180E")]
|
||||
[StructLayout(3)]
|
||||
public abstract class X9ObjectIdentifiers
|
||||
{
|
||||
// Token: 0x0600A5DA RID: 42458 RVA: 0x00268AD8 File Offset: 0x00266CD8
|
||||
[Token(Token = "0x600A5DA")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected X9ObjectIdentifiers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04006BCC RID: 27596
|
||||
[Token(Token = "0x4006BCC")]
|
||||
internal const string AnsiX962 = "1.2.840.10045";
|
||||
|
||||
// Token: 0x04006BCD RID: 27597
|
||||
[Token(Token = "0x4006BCD")]
|
||||
public static readonly DerObjectIdentifier ansi_X9_62 = new DerObjectIdentifier("1.2.840.10045");
|
||||
|
||||
// Token: 0x04006BCE RID: 27598
|
||||
[Token(Token = "0x4006BCE")]
|
||||
public static readonly DerObjectIdentifier IdFieldType = X9ObjectIdentifiers.ansi_X9_62.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BCF RID: 27599
|
||||
[Token(Token = "0x4006BCF")]
|
||||
public static readonly DerObjectIdentifier PrimeField = X9ObjectIdentifiers.IdFieldType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BD0 RID: 27600
|
||||
[Token(Token = "0x4006BD0")]
|
||||
public static readonly DerObjectIdentifier CharacteristicTwoField = X9ObjectIdentifiers.IdFieldType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BD1 RID: 27601
|
||||
[Token(Token = "0x4006BD1")]
|
||||
public static readonly DerObjectIdentifier GNBasis = X9ObjectIdentifiers.CharacteristicTwoField.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BD2 RID: 27602
|
||||
[Token(Token = "0x4006BD2")]
|
||||
public static readonly DerObjectIdentifier TPBasis = X9ObjectIdentifiers.CharacteristicTwoField.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BD3 RID: 27603
|
||||
[Token(Token = "0x4006BD3")]
|
||||
public static readonly DerObjectIdentifier PPBasis = X9ObjectIdentifiers.CharacteristicTwoField.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BD4 RID: 27604
|
||||
[Token(Token = "0x4006BD4")]
|
||||
[Obsolete]
|
||||
public const string IdECSigType = "1.2.840.10045.4";
|
||||
|
||||
// Token: 0x04006BD5 RID: 27605
|
||||
[Token(Token = "0x4006BD5")]
|
||||
public static readonly DerObjectIdentifier id_ecSigType = X9ObjectIdentifiers.ansi_X9_62.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BD6 RID: 27606
|
||||
[Token(Token = "0x4006BD6")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha1 = X9ObjectIdentifiers.id_ecSigType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BD7 RID: 27607
|
||||
[Token(Token = "0x4006BD7")]
|
||||
[Obsolete]
|
||||
public const string IdPublicKeyType = "1.2.840.10045.2";
|
||||
|
||||
// Token: 0x04006BD8 RID: 27608
|
||||
[Token(Token = "0x4006BD8")]
|
||||
public static readonly DerObjectIdentifier id_publicKeyType = X9ObjectIdentifiers.ansi_X9_62.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BD9 RID: 27609
|
||||
[Token(Token = "0x4006BD9")]
|
||||
public static readonly DerObjectIdentifier IdECPublicKey = X9ObjectIdentifiers.id_publicKeyType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BDA RID: 27610
|
||||
[Token(Token = "0x4006BDA")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha2 = X9ObjectIdentifiers.id_ecSigType.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BDB RID: 27611
|
||||
[Token(Token = "0x4006BDB")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha224 = X9ObjectIdentifiers.ECDsaWithSha2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BDC RID: 27612
|
||||
[Token(Token = "0x4006BDC")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha256 = X9ObjectIdentifiers.ECDsaWithSha2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BDD RID: 27613
|
||||
[Token(Token = "0x4006BDD")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha384 = X9ObjectIdentifiers.ECDsaWithSha2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BDE RID: 27614
|
||||
[Token(Token = "0x4006BDE")]
|
||||
public static readonly DerObjectIdentifier ECDsaWithSha512 = X9ObjectIdentifiers.ECDsaWithSha2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BDF RID: 27615
|
||||
[Token(Token = "0x4006BDF")]
|
||||
public static readonly DerObjectIdentifier EllipticCurve = X9ObjectIdentifiers.ansi_X9_62.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BE0 RID: 27616
|
||||
[Token(Token = "0x4006BE0")]
|
||||
public static readonly DerObjectIdentifier CTwoCurve = X9ObjectIdentifiers.EllipticCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BE1 RID: 27617
|
||||
[Token(Token = "0x4006BE1")]
|
||||
public static readonly DerObjectIdentifier C2Pnb163v1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BE2 RID: 27618
|
||||
[Token(Token = "0x4006BE2")]
|
||||
public static readonly DerObjectIdentifier C2Pnb163v2 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BE3 RID: 27619
|
||||
[Token(Token = "0x4006BE3")]
|
||||
public static readonly DerObjectIdentifier C2Pnb163v3 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BE4 RID: 27620
|
||||
[Token(Token = "0x4006BE4")]
|
||||
public static readonly DerObjectIdentifier C2Pnb176w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BE5 RID: 27621
|
||||
[Token(Token = "0x4006BE5")]
|
||||
public static readonly DerObjectIdentifier C2Tnb191v1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BE6 RID: 27622
|
||||
[Token(Token = "0x4006BE6")]
|
||||
public static readonly DerObjectIdentifier C2Tnb191v2 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BE7 RID: 27623
|
||||
[Token(Token = "0x4006BE7")]
|
||||
public static readonly DerObjectIdentifier C2Tnb191v3 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BE8 RID: 27624
|
||||
[Token(Token = "0x4006BE8")]
|
||||
public static readonly DerObjectIdentifier C2Onb191v4 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BE9 RID: 27625
|
||||
[Token(Token = "0x4006BE9")]
|
||||
public static readonly DerObjectIdentifier C2Onb191v5 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BEA RID: 27626
|
||||
[Token(Token = "0x4006BEA")]
|
||||
public static readonly DerObjectIdentifier C2Pnb208w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BEB RID: 27627
|
||||
[Token(Token = "0x4006BEB")]
|
||||
public static readonly DerObjectIdentifier C2Tnb239v1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BEC RID: 27628
|
||||
[Token(Token = "0x4006BEC")]
|
||||
public static readonly DerObjectIdentifier C2Tnb239v2 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BED RID: 27629
|
||||
[Token(Token = "0x4006BED")]
|
||||
public static readonly DerObjectIdentifier C2Tnb239v3 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BEE RID: 27630
|
||||
[Token(Token = "0x4006BEE")]
|
||||
public static readonly DerObjectIdentifier C2Onb239v4 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BEF RID: 27631
|
||||
[Token(Token = "0x4006BEF")]
|
||||
public static readonly DerObjectIdentifier C2Onb239v5 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BF0 RID: 27632
|
||||
[Token(Token = "0x4006BF0")]
|
||||
public static readonly DerObjectIdentifier C2Pnb272w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BF1 RID: 27633
|
||||
[Token(Token = "0x4006BF1")]
|
||||
public static readonly DerObjectIdentifier C2Pnb304w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BF2 RID: 27634
|
||||
[Token(Token = "0x4006BF2")]
|
||||
public static readonly DerObjectIdentifier C2Tnb359v1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BF3 RID: 27635
|
||||
[Token(Token = "0x4006BF3")]
|
||||
public static readonly DerObjectIdentifier C2Pnb368w1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BF4 RID: 27636
|
||||
[Token(Token = "0x4006BF4")]
|
||||
public static readonly DerObjectIdentifier C2Tnb431r1 = X9ObjectIdentifiers.CTwoCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BF5 RID: 27637
|
||||
[Token(Token = "0x4006BF5")]
|
||||
public static readonly DerObjectIdentifier PrimeCurve = X9ObjectIdentifiers.EllipticCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BF6 RID: 27638
|
||||
[Token(Token = "0x4006BF6")]
|
||||
public static readonly DerObjectIdentifier Prime192v1 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BF7 RID: 27639
|
||||
[Token(Token = "0x4006BF7")]
|
||||
public static readonly DerObjectIdentifier Prime192v2 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BF8 RID: 27640
|
||||
[Token(Token = "0x4006BF8")]
|
||||
public static readonly DerObjectIdentifier Prime192v3 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BF9 RID: 27641
|
||||
[Token(Token = "0x4006BF9")]
|
||||
public static readonly DerObjectIdentifier Prime239v1 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BFA RID: 27642
|
||||
[Token(Token = "0x4006BFA")]
|
||||
public static readonly DerObjectIdentifier Prime239v2 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BFB RID: 27643
|
||||
[Token(Token = "0x4006BFB")]
|
||||
public static readonly DerObjectIdentifier Prime239v3 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BFC RID: 27644
|
||||
[Token(Token = "0x4006BFC")]
|
||||
public static readonly DerObjectIdentifier Prime256v1 = X9ObjectIdentifiers.PrimeCurve.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006BFD RID: 27645
|
||||
[Token(Token = "0x4006BFD")]
|
||||
public static readonly DerObjectIdentifier IdDsa = new DerObjectIdentifier("1.2.840.10040.4.1");
|
||||
|
||||
// Token: 0x04006BFE RID: 27646
|
||||
[Token(Token = "0x4006BFE")]
|
||||
public static readonly DerObjectIdentifier IdDsaWithSha1 = new DerObjectIdentifier("1.2.840.10040.4.3");
|
||||
|
||||
// Token: 0x04006BFF RID: 27647
|
||||
[Token(Token = "0x4006BFF")]
|
||||
public static readonly DerObjectIdentifier X9x63Scheme = new DerObjectIdentifier("1.3.133.16.840.63.0");
|
||||
|
||||
// Token: 0x04006C00 RID: 27648
|
||||
[Token(Token = "0x4006C00")]
|
||||
public static readonly DerObjectIdentifier DHSinglePassStdDHSha1KdfScheme = X9ObjectIdentifiers.X9x63Scheme.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006C01 RID: 27649
|
||||
[Token(Token = "0x4006C01")]
|
||||
public static readonly DerObjectIdentifier DHSinglePassCofactorDHSha1KdfScheme = X9ObjectIdentifiers.X9x63Scheme.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006C02 RID: 27650
|
||||
[Token(Token = "0x4006C02")]
|
||||
public static readonly DerObjectIdentifier MqvSinglePassSha1KdfScheme = X9ObjectIdentifiers.X9x63Scheme.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006C03 RID: 27651
|
||||
[Token(Token = "0x4006C03")]
|
||||
public static readonly DerObjectIdentifier ansi_x9_42 = new DerObjectIdentifier("1.2.840.10046");
|
||||
|
||||
// Token: 0x04006C04 RID: 27652
|
||||
[Token(Token = "0x4006C04")]
|
||||
public static readonly DerObjectIdentifier DHPublicNumber = X9ObjectIdentifiers.ansi_x9_42.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006C05 RID: 27653
|
||||
[Token(Token = "0x4006C05")]
|
||||
public static readonly DerObjectIdentifier X9x42Schemes = X9ObjectIdentifiers.ansi_x9_42.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006C06 RID: 27654
|
||||
[Token(Token = "0x4006C06")]
|
||||
public static readonly DerObjectIdentifier DHStatic = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006C07 RID: 27655
|
||||
[Token(Token = "0x4006C07")]
|
||||
public static readonly DerObjectIdentifier DHEphem = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006C08 RID: 27656
|
||||
[Token(Token = "0x4006C08")]
|
||||
public static readonly DerObjectIdentifier DHOneFlow = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006C09 RID: 27657
|
||||
[Token(Token = "0x4006C09")]
|
||||
public static readonly DerObjectIdentifier DHHybrid1 = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006C0A RID: 27658
|
||||
[Token(Token = "0x4006C0A")]
|
||||
public static readonly DerObjectIdentifier DHHybrid2 = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006C0B RID: 27659
|
||||
[Token(Token = "0x4006C0B")]
|
||||
public static readonly DerObjectIdentifier DHHybridOneFlow = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006C0C RID: 27660
|
||||
[Token(Token = "0x4006C0C")]
|
||||
public static readonly DerObjectIdentifier Mqv2 = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04006C0D RID: 27661
|
||||
[Token(Token = "0x4006C0D")]
|
||||
public static readonly DerObjectIdentifier Mqv1 = X9ObjectIdentifiers.X9x42Schemes.Asn1GetHashCode();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user