m
This commit is contained in:
+57
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
// Token: 0x02001ECA RID: 7882
|
||||
[Token(Token = "0x2001ECA")]
|
||||
public abstract class X9IntegerConverter
|
||||
{
|
||||
// Token: 0x0600C57E RID: 50558 RVA: 0x002C986C File Offset: 0x002C7A6C
|
||||
[Token(Token = "0x600C57E")]
|
||||
[Address(RVA = "0x2155860", Offset = "0x2154860", VA = "0x182155860")]
|
||||
public static int GetByteLength(ECFieldElement fe)
|
||||
{
|
||||
string text = fe.FieldName;
|
||||
text += 0;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C57F RID: 50559 RVA: 0x002C988C File Offset: 0x002C7A8C
|
||||
[Token(Token = "0x600C57F")]
|
||||
[Address(RVA = "0x2155830", Offset = "0x2154830", VA = "0x182155830")]
|
||||
public static int GetByteLength(ECCurve c)
|
||||
{
|
||||
string text = c.ToString();
|
||||
text += 0;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C580 RID: 50560 RVA: 0x002C98AC File Offset: 0x002C7AAC
|
||||
[Token(Token = "0x600C580")]
|
||||
[Address(RVA = "0x2155890", Offset = "0x2154890", VA = "0x182155890")]
|
||||
public static byte[] IntegerToBytes(BigInteger s, int qLength)
|
||||
{
|
||||
byte[] array = s.ToByteArrayUnsigned();
|
||||
if (qLength > array.Length)
|
||||
{
|
||||
byte[] array2 = new byte[qLength];
|
||||
int length = array.Length;
|
||||
int num = array2.Length;
|
||||
num -= length;
|
||||
int num2 = 0;
|
||||
Array.Copy(array, num2, array2, num, length);
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x0600C581 RID: 50561 RVA: 0x002C9904 File Offset: 0x002C7B04
|
||||
[Token(Token = "0x600C581")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
protected X9IntegerConverter()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user