using System; using System.Runtime.InteropServices; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1; using BestHTTP.SecureProtocol.Org.BouncyCastle.Math; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers { // Token: 0x020015DF RID: 5599 [Token(Token = "0x20015DF")] [StructLayout(3)] public class StandardDsaEncoding : IDsaEncoding { // Token: 0x060095C7 RID: 38343 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x60095C7")] [Address(RVA = "0x1E4CB70", Offset = "0x1E4B570", VA = "0x181E4CB70", Slot = "6")] public virtual BigInteger[] Decode(BigInteger n, byte[] encoding) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060095C8 RID: 38344 RVA: 0x002136DC File Offset: 0x002118DC [Token(Token = "0x60095C8")] [Address(RVA = "0x1E4CE50", Offset = "0x1E4B850", VA = "0x181E4CE50", Slot = "7")] public virtual byte[] Encode(BigInteger n, BigInteger r, BigInteger s) { Asn1Encodable[] array = new Asn1Encodable[2]; BigInteger bigInteger; if (bigInteger != 0) { } array[0] = bigInteger; BigInteger bigInteger2; if (bigInteger2 != 0) { } array[1] = bigInteger2; return new DerSequence(array).GetEncoded("DER"); } // Token: 0x060095C9 RID: 38345 RVA: 0x00213720 File Offset: 0x00211920 [Token(Token = "0x60095C9")] [Address(RVA = "0x1E4C9B0", Offset = "0x1E4B3B0", VA = "0x181E4C9B0", Slot = "8")] protected virtual BigInteger CheckValue(BigInteger n, BigInteger x) { if (n != 0) { int num = x.CompareTo(n); } return x; } // Token: 0x060095CA RID: 38346 RVA: 0x00213740 File Offset: 0x00211940 [Token(Token = "0x60095CA")] [Address(RVA = "0x1E4CA50", Offset = "0x1E4B450", VA = "0x181E4CA50", Slot = "9")] protected virtual BigInteger DecodeValue(BigInteger n, Asn1Sequence s, int pos) { Asn1SequenceParser parser; do { parser = s.Parser; } while (parser == 0 || parser == 0); BigInteger bigInteger; return bigInteger; } // Token: 0x060095CB RID: 38347 RVA: 0x00213768 File Offset: 0x00211968 [Token(Token = "0x60095CB")] [Address(RVA = "0x1E4CDD0", Offset = "0x1E4B7D0", VA = "0x181E4CDD0", Slot = "10")] protected virtual DerInteger EncodeValue(BigInteger n, BigInteger x) { DerInteger derInteger; return derInteger; } // Token: 0x060095CC RID: 38348 RVA: 0x00213778 File Offset: 0x00211978 [Token(Token = "0x60095CC")] [Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")] public StandardDsaEncoding() { } // Token: 0x060095CD RID: 38349 RVA: 0x0021378C File Offset: 0x0021198C // Note: this type is marked as 'beforefieldinit'. [Token(Token = "0x60095CD")] [Address(RVA = "0x1E4CFE0", Offset = "0x1E4B9E0", VA = "0x181E4CFE0")] static StandardDsaEncoding() { StandardDsaEncoding standardDsaEncoding = new StandardDsaEncoding(); } // Token: 0x040062DF RID: 25311 [Token(Token = "0x40062DF")] public static readonly StandardDsaEncoding Instance; } }