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() { } } }