oh dear
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: 0x02001DEA RID: 7658
|
||||
[Token(Token = "0x2001DEA")]
|
||||
public abstract class X9IntegerConverter
|
||||
{
|
||||
// Token: 0x0600C1B0 RID: 49584 RVA: 0x002C1008 File Offset: 0x002BF208
|
||||
[Token(Token = "0x600C1B0")]
|
||||
[Address(RVA = "0x1674AC0", Offset = "0x16738C0", VA = "0x181674AC0")]
|
||||
public static int GetByteLength(ECFieldElement fe)
|
||||
{
|
||||
string text = fe.FieldName;
|
||||
text += 0;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C1B1 RID: 49585 RVA: 0x002C1028 File Offset: 0x002BF228
|
||||
[Token(Token = "0x600C1B1")]
|
||||
[Address(RVA = "0x1674A90", Offset = "0x1673890", VA = "0x181674A90")]
|
||||
public static int GetByteLength(ECCurve c)
|
||||
{
|
||||
string text = c.ToString();
|
||||
text += 0;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C1B2 RID: 49586 RVA: 0x002C1048 File Offset: 0x002BF248
|
||||
[Token(Token = "0x600C1B2")]
|
||||
[Address(RVA = "0x1674AF0", Offset = "0x16738F0", VA = "0x181674AF0")]
|
||||
public static byte[] IntegerToBytes(BigInteger s, int qLength)
|
||||
{
|
||||
byte[] array = s.ToByteArrayUnsigned();
|
||||
if (qLength > array.Length)
|
||||
{
|
||||
byte[] array2 = new byte[qLength];
|
||||
int length = array.Length;
|
||||
int num = array2.Length;
|
||||
num -= length;
|
||||
int num2 = 0;
|
||||
Array.Copy(array, num2, array2, num, length);
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x0600C1B3 RID: 49587 RVA: 0x002C10A0 File Offset: 0x002BF2A0
|
||||
[Token(Token = "0x600C1B3")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected X9IntegerConverter()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user