a
This commit is contained in:
+113
@@ -0,0 +1,113 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro
|
||||
{
|
||||
// Token: 0x02001EFB RID: 7931
|
||||
[Token(Token = "0x2001EFB")]
|
||||
public abstract class CryptoProObjectIdentifiers
|
||||
{
|
||||
// Token: 0x0600C855 RID: 51285 RVA: 0x002DDD00 File Offset: 0x002DBF00
|
||||
[Token(Token = "0x600C855")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected CryptoProObjectIdentifiers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04007FCB RID: 32715
|
||||
[Token(Token = "0x4007FCB")]
|
||||
public const string GostID = "1.2.643.2.2";
|
||||
|
||||
// Token: 0x04007FCC RID: 32716
|
||||
[Token(Token = "0x4007FCC")]
|
||||
public static readonly DerObjectIdentifier GostR3411 = new DerObjectIdentifier("1.2.643.2.2.9");
|
||||
|
||||
// Token: 0x04007FCD RID: 32717
|
||||
[Token(Token = "0x4007FCD")]
|
||||
public static readonly DerObjectIdentifier GostR3411Hmac = new DerObjectIdentifier("1.2.643.2.2.10");
|
||||
|
||||
// Token: 0x04007FCE RID: 32718
|
||||
[Token(Token = "0x4007FCE")]
|
||||
public static readonly DerObjectIdentifier GostR28147Cbc = new DerObjectIdentifier("1.2.643.2.2.21");
|
||||
|
||||
// Token: 0x04007FCF RID: 32719
|
||||
[Token(Token = "0x4007FCF")]
|
||||
public static readonly DerObjectIdentifier ID_Gost28147_89_CryptoPro_A_ParamSet = new DerObjectIdentifier("1.2.643.2.2.31.1");
|
||||
|
||||
// Token: 0x04007FD0 RID: 32720
|
||||
[Token(Token = "0x4007FD0")]
|
||||
public static readonly DerObjectIdentifier GostR3410x94 = new DerObjectIdentifier("1.2.643.2.2.20");
|
||||
|
||||
// Token: 0x04007FD1 RID: 32721
|
||||
[Token(Token = "0x4007FD1")]
|
||||
public static readonly DerObjectIdentifier GostR3410x2001 = new DerObjectIdentifier("1.2.643.2.2.19");
|
||||
|
||||
// Token: 0x04007FD2 RID: 32722
|
||||
[Token(Token = "0x4007FD2")]
|
||||
public static readonly DerObjectIdentifier GostR3411x94WithGostR3410x94 = new DerObjectIdentifier("1.2.643.2.2.4");
|
||||
|
||||
// Token: 0x04007FD3 RID: 32723
|
||||
[Token(Token = "0x4007FD3")]
|
||||
public static readonly DerObjectIdentifier GostR3411x94WithGostR3410x2001 = new DerObjectIdentifier("1.2.643.2.2.3");
|
||||
|
||||
// Token: 0x04007FD4 RID: 32724
|
||||
[Token(Token = "0x4007FD4")]
|
||||
public static readonly DerObjectIdentifier GostR3411x94CryptoProParamSet = new DerObjectIdentifier("1.2.643.2.2.30.1");
|
||||
|
||||
// Token: 0x04007FD5 RID: 32725
|
||||
[Token(Token = "0x4007FD5")]
|
||||
public static readonly DerObjectIdentifier GostR3410x94CryptoProA = new DerObjectIdentifier("1.2.643.2.2.32.2");
|
||||
|
||||
// Token: 0x04007FD6 RID: 32726
|
||||
[Token(Token = "0x4007FD6")]
|
||||
public static readonly DerObjectIdentifier GostR3410x94CryptoProB = new DerObjectIdentifier("1.2.643.2.2.32.3");
|
||||
|
||||
// Token: 0x04007FD7 RID: 32727
|
||||
[Token(Token = "0x4007FD7")]
|
||||
public static readonly DerObjectIdentifier GostR3410x94CryptoProC = new DerObjectIdentifier("1.2.643.2.2.32.4");
|
||||
|
||||
// Token: 0x04007FD8 RID: 32728
|
||||
[Token(Token = "0x4007FD8")]
|
||||
public static readonly DerObjectIdentifier GostR3410x94CryptoProD = new DerObjectIdentifier("1.2.643.2.2.32.5");
|
||||
|
||||
// Token: 0x04007FD9 RID: 32729
|
||||
[Token(Token = "0x4007FD9")]
|
||||
public static readonly DerObjectIdentifier GostR3410x94CryptoProXchA = new DerObjectIdentifier("1.2.643.2.2.33.1");
|
||||
|
||||
// Token: 0x04007FDA RID: 32730
|
||||
[Token(Token = "0x4007FDA")]
|
||||
public static readonly DerObjectIdentifier GostR3410x94CryptoProXchB = new DerObjectIdentifier("1.2.643.2.2.33.2");
|
||||
|
||||
// Token: 0x04007FDB RID: 32731
|
||||
[Token(Token = "0x4007FDB")]
|
||||
public static readonly DerObjectIdentifier GostR3410x94CryptoProXchC = new DerObjectIdentifier("1.2.643.2.2.33.3");
|
||||
|
||||
// Token: 0x04007FDC RID: 32732
|
||||
[Token(Token = "0x4007FDC")]
|
||||
public static readonly DerObjectIdentifier GostR3410x2001CryptoProA = new DerObjectIdentifier("1.2.643.2.2.35.1");
|
||||
|
||||
// Token: 0x04007FDD RID: 32733
|
||||
[Token(Token = "0x4007FDD")]
|
||||
public static readonly DerObjectIdentifier GostR3410x2001CryptoProB = new DerObjectIdentifier("1.2.643.2.2.35.2");
|
||||
|
||||
// Token: 0x04007FDE RID: 32734
|
||||
[Token(Token = "0x4007FDE")]
|
||||
public static readonly DerObjectIdentifier GostR3410x2001CryptoProC = new DerObjectIdentifier("1.2.643.2.2.35.3");
|
||||
|
||||
// Token: 0x04007FDF RID: 32735
|
||||
[Token(Token = "0x4007FDF")]
|
||||
public static readonly DerObjectIdentifier GostR3410x2001CryptoProXchA = new DerObjectIdentifier("1.2.643.2.2.36.0");
|
||||
|
||||
// Token: 0x04007FE0 RID: 32736
|
||||
[Token(Token = "0x4007FE0")]
|
||||
public static readonly DerObjectIdentifier GostR3410x2001CryptoProXchB = new DerObjectIdentifier("1.2.643.2.2.36.1");
|
||||
|
||||
// Token: 0x04007FE1 RID: 32737
|
||||
[Token(Token = "0x4007FE1")]
|
||||
public static readonly DerObjectIdentifier GostElSgDH3410Default = new DerObjectIdentifier("1.2.643.2.2.36.0");
|
||||
|
||||
// Token: 0x04007FE2 RID: 32738
|
||||
[Token(Token = "0x4007FE2")]
|
||||
public static readonly DerObjectIdentifier GostElSgDH3410x1 = new DerObjectIdentifier("1.2.643.2.2.36.1");
|
||||
}
|
||||
}
|
||||
+235
@@ -0,0 +1,235 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro
|
||||
{
|
||||
// Token: 0x02001EFC RID: 7932
|
||||
[Token(Token = "0x2001EFC")]
|
||||
public sealed class ECGost3410NamedCurves
|
||||
{
|
||||
// Token: 0x0600C857 RID: 51287 RVA: 0x002DDE7C File Offset: 0x002DC07C
|
||||
[Token(Token = "0x600C857")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private ECGost3410NamedCurves()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C858 RID: 51288 RVA: 0x002DDE90 File Offset: 0x002DC090
|
||||
[Token(Token = "0x600C858")]
|
||||
[Address(RVA = "0x1885D90", Offset = "0x1884B90", VA = "0x181885D90")]
|
||||
static ECGost3410NamedCurves()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C858)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.ECGost3410NamedCurves::.cctor()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:IDictionary(var_1_07, call:IDictionary(Platform::CreateHashtable))
|
||||
stsfld:IDictionary(ECGost3410NamedCurves::objIds, ldloc:IDictionary(var_1_07))
|
||||
stloc:IDictionary(var_3_15, call:IDictionary(Platform::CreateHashtable))
|
||||
stsfld:IDictionary(ECGost3410NamedCurves::parameters, ldloc:IDictionary(var_3_15))
|
||||
stsfld:IDictionary(ECGost3410NamedCurves::names, call:IDictionary(Platform::CreateHashtable))
|
||||
stloc:BigInteger(var_5_33, newobj:BigInteger(BigInteger::.ctor, ldstr:string("115792089237316195423570985008687907853269984665640564039457584007913129639319")))
|
||||
stloc:BigInteger(var_6_3F, newobj:BigInteger(BigInteger::.ctor, ldstr:string("115792089237316195423570985008687907853073762908499243225378155805079068850323")))
|
||||
stloc:BigInteger(var_7_4B, newobj:BigInteger(BigInteger::.ctor, ldstr:string("115792089237316195423570985008687907853269984665640564039457584007913129639316")))
|
||||
stloc:BigInteger(var_8_57, newobj:BigInteger(BigInteger::.ctor, ldstr:string("166")))
|
||||
stloc:BigInteger(var_9_5E, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:FpCurve(var_10_6F, newobj:FpCurve(FpCurve::.ctor, ldloc:BigInteger(var_5_33), ldloc:BigInteger(var_7_4B), ldloc:BigInteger(var_8_57), ldloc:BigInteger(var_6_3F), ldloc:BigInteger(var_9_5E)))
|
||||
stloc:BigInteger(var_12_7E, newobj:BigInteger(BigInteger::.ctor, ldstr:string("1")))
|
||||
stloc:BigInteger(var_13_8A, newobj:BigInteger(BigInteger::.ctor, ldstr:string("64033881142927202683649881450433473985931760268884941288852745803908878638612")))
|
||||
stloc:BigInteger(var_15_91, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:ECDomainParameters(var_16_A0, newobj:ECDomainParameters(ECDomainParameters::.ctor, ldloc:FpCurve[exp:ECCurve](var_10_6F), ldloc:ECPoint(var_14), ldloc:BigInteger(var_6_3F), ldloc:BigInteger(var_15_91)))
|
||||
stloc:IDictionary(var_17_A7, ldsfld:IDictionary(ECGost3410NamedCurves::parameters))
|
||||
stloc:BigInteger(var_18_B3, newobj:BigInteger(BigInteger::.ctor, ldstr:string("115792089237316195423570985008687907853269984665640564039457584007913129639319")))
|
||||
stloc:BigInteger(var_19_BF, newobj:BigInteger(BigInteger::.ctor, ldstr:string("115792089237316195423570985008687907853073762908499243225378155805079068850323")))
|
||||
stloc:BigInteger(var_20_CB, newobj:BigInteger(BigInteger::.ctor, ldstr:string("115792089237316195423570985008687907853269984665640564039457584007913129639316")))
|
||||
stloc:BigInteger(var_21_D7, newobj:BigInteger(BigInteger::.ctor, ldstr:string("166")))
|
||||
stloc:BigInteger(var_22_DE, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:FpCurve(var_23_EF, newobj:FpCurve(FpCurve::.ctor, ldloc:BigInteger(var_18_B3), ldloc:BigInteger(var_20_CB), ldloc:BigInteger(var_21_D7), ldloc:BigInteger(var_19_BF), ldloc:BigInteger(var_22_DE)))
|
||||
stloc:BigInteger(var_24_FB, newobj:BigInteger(BigInteger::.ctor, ldstr:string("1")))
|
||||
stloc:BigInteger(var_25_107, newobj:BigInteger(BigInteger::.ctor, ldstr:string("64033881142927202683649881450433473985931760268884941288852745803908878638612")))
|
||||
stloc:BigInteger(var_27_10E, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:ECDomainParameters(var_28_11D, newobj:ECDomainParameters(ECDomainParameters::.ctor, ldloc:FpCurve[exp:ECCurve](var_23_EF), ldloc:ECPoint(var_26), ldloc:BigInteger(var_19_BF), ldloc:BigInteger(var_27_10E)))
|
||||
stloc:IDictionary(var_29_124, ldsfld:IDictionary(ECGost3410NamedCurves::parameters))
|
||||
stloc:BigInteger(var_30_130, newobj:BigInteger(BigInteger::.ctor, ldstr:string("57896044618658097711785492504343953926634992332820282019728792003956564823193")))
|
||||
stloc:BigInteger(var_31_13C, newobj:BigInteger(BigInteger::.ctor, ldstr:string("57896044618658097711785492504343953927102133160255826820068844496087732066703")))
|
||||
stloc:BigInteger(var_32_148, newobj:BigInteger(BigInteger::.ctor, ldstr:string("57896044618658097711785492504343953926634992332820282019728792003956564823190")))
|
||||
stloc:BigInteger(var_33_154, newobj:BigInteger(BigInteger::.ctor, ldstr:string("28091019353058090096996979000309560759124368558014865957655842872397301267595")))
|
||||
stloc:BigInteger(var_34_15B, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:FpCurve(var_35_16C, newobj:FpCurve(FpCurve::.ctor, ldloc:BigInteger(var_30_130), ldloc:BigInteger(var_32_148), ldloc:BigInteger(var_33_154), ldloc:BigInteger(var_31_13C), ldloc:BigInteger(var_34_15B)))
|
||||
stloc:BigInteger(var_36_178, newobj:BigInteger(BigInteger::.ctor, ldstr:string("1")))
|
||||
stloc:BigInteger(var_37_184, newobj:BigInteger(BigInteger::.ctor, ldstr:string("28792665814854611296992347458380284135028636778229113005756334730996303888124")))
|
||||
stloc:BigInteger(var_39_18B, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:ECDomainParameters(var_40_19A, newobj:ECDomainParameters(ECDomainParameters::.ctor, ldloc:FpCurve[exp:ECCurve](var_35_16C), ldloc:ECPoint(var_38), ldloc:BigInteger(var_31_13C), ldloc:BigInteger(var_39_18B)))
|
||||
stloc:IDictionary(var_41_1A1, ldsfld:IDictionary(ECGost3410NamedCurves::parameters))
|
||||
stloc:BigInteger(var_42_1AD, newobj:BigInteger(BigInteger::.ctor, ldstr:string("70390085352083305199547718019018437841079516630045180471284346843705633502619")))
|
||||
stloc:BigInteger(var_43_1B9, newobj:BigInteger(BigInteger::.ctor, ldstr:string("70390085352083305199547718019018437840920882647164081035322601458352298396601")))
|
||||
stloc:BigInteger(var_44_1C5, newobj:BigInteger(BigInteger::.ctor, ldstr:string("70390085352083305199547718019018437841079516630045180471284346843705633502616")))
|
||||
stloc:BigInteger(var_45_1D1, newobj:BigInteger(BigInteger::.ctor, ldstr:string("32858")))
|
||||
stloc:BigInteger(var_46_1D8, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:FpCurve(var_47_1E9, newobj:FpCurve(FpCurve::.ctor, ldloc:BigInteger(var_42_1AD), ldloc:BigInteger(var_44_1C5), ldloc:BigInteger(var_45_1D1), ldloc:BigInteger(var_43_1B9), ldloc:BigInteger(var_46_1D8)))
|
||||
stloc:BigInteger(var_48_1F5, newobj:BigInteger(BigInteger::.ctor, ldstr:string("0")))
|
||||
stloc:BigInteger(var_49_201, newobj:BigInteger(BigInteger::.ctor, ldstr:string("29818893917731240733471273240314769927240550812383695689146495261604565990247")))
|
||||
stloc:BigInteger(var_51_208, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:ECDomainParameters(var_52_217, newobj:ECDomainParameters(ECDomainParameters::.ctor, ldloc:FpCurve[exp:ECCurve](var_47_1E9), ldloc:ECPoint(var_50), ldloc:BigInteger(var_43_1B9), ldloc:BigInteger(var_51_208)))
|
||||
stloc:IDictionary(var_53_21E, ldsfld:IDictionary(ECGost3410NamedCurves::parameters))
|
||||
stloc:BigInteger(var_54_22A, newobj:BigInteger(BigInteger::.ctor, ldstr:string("70390085352083305199547718019018437841079516630045180471284346843705633502619")))
|
||||
stloc:BigInteger(var_55_236, newobj:BigInteger(BigInteger::.ctor, ldstr:string("70390085352083305199547718019018437840920882647164081035322601458352298396601")))
|
||||
stloc:BigInteger(var_56_242, newobj:BigInteger(BigInteger::.ctor, ldstr:string("70390085352083305199547718019018437841079516630045180471284346843705633502616")))
|
||||
stloc:BigInteger(var_57_24E, newobj:BigInteger(BigInteger::.ctor, ldstr:string("32858")))
|
||||
stloc:BigInteger(var_58_255, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:FpCurve(var_59_266, newobj:FpCurve(FpCurve::.ctor, ldloc:BigInteger(var_54_22A), ldloc:BigInteger(var_56_242), ldloc:BigInteger(var_57_24E), ldloc:BigInteger(var_55_236), ldloc:BigInteger(var_58_255)))
|
||||
stloc:BigInteger(var_60_272, newobj:BigInteger(BigInteger::.ctor, ldstr:string("0")))
|
||||
stloc:BigInteger(var_61_27E, newobj:BigInteger(BigInteger::.ctor, ldstr:string("29818893917731240733471273240314769927240550812383695689146495261604565990247")))
|
||||
stloc:BigInteger(var_63_285, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:ECDomainParameters(var_64_294, newobj:ECDomainParameters(ECDomainParameters::.ctor, ldloc:FpCurve[exp:ECCurve](var_59_266), ldloc:ECPoint(var_62), ldloc:BigInteger(var_55_236), ldloc:BigInteger(var_63_285)))
|
||||
stloc:IDictionary(var_65_29B, ldsfld:IDictionary(ECGost3410NamedCurves::parameters))
|
||||
stloc:BigInteger(var_66_2A7, newobj:BigInteger(BigInteger::.ctor, ldstr:string("115792089237316195423570985008687907853269984665640564039457584007913129639319")))
|
||||
stloc:BigInteger(var_67_2B3, newobj:BigInteger(BigInteger::.ctor, ldstr:string("115792089237316195423570985008687907853073762908499243225378155805079068850323")))
|
||||
stloc:BigInteger(var_68_2BF, newobj:BigInteger(BigInteger::.ctor, ldstr:string("115792089237316195423570985008687907853269984665640564039457584007913129639316")))
|
||||
stloc:BigInteger(var_69_2CB, newobj:BigInteger(BigInteger::.ctor, ldstr:string("166")))
|
||||
stloc:BigInteger(var_70_2D2, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:FpCurve(var_71_2E3, newobj:FpCurve(FpCurve::.ctor, ldloc:BigInteger(var_66_2A7), ldloc:BigInteger(var_68_2BF), ldloc:BigInteger(var_69_2CB), ldloc:BigInteger(var_67_2B3), ldloc:BigInteger(var_70_2D2)))
|
||||
stloc:BigInteger(var_72_2EF, newobj:BigInteger(BigInteger::.ctor, ldstr:string("1")))
|
||||
stloc:BigInteger(var_73_2FB, newobj:BigInteger(BigInteger::.ctor, ldstr:string("64033881142927202683649881450433473985931760268884941288852745803908878638612")))
|
||||
stloc:BigInteger(var_75_302, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:ECDomainParameters(var_76_311, newobj:ECDomainParameters(ECDomainParameters::.ctor, ldloc:FpCurve[exp:ECCurve](var_71_2E3), ldloc:ECPoint(var_74), ldloc:BigInteger(var_67_2B3), ldloc:BigInteger(var_75_302)))
|
||||
stloc:IDictionary(var_77_318, ldsfld:IDictionary(ECGost3410NamedCurves::parameters))
|
||||
stloc:BigInteger(var_78_326, newobj:BigInteger(BigInteger::.ctor, ldstr:string("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDC7"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_79_334, newobj:BigInteger(BigInteger::.ctor, ldstr:string("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF27E69532F48D89116FF22B8D4E0560609B4B38ABFAD2B85DCACDB1411F10B275"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_80_342, newobj:BigInteger(BigInteger::.ctor, ldstr:string("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDC4"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_81_350, newobj:BigInteger(BigInteger::.ctor, ldstr:string("E8C2505DEDFC86DDC1BD0B2B6667F1DA34B82574761CB0E879BD081CFD0B6265EE3CB090F30D27614CB4574010DA90DD862EF9D4EBEE4761503190785A71C760"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_82_357, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:FpCurve(var_83_368, newobj:FpCurve(FpCurve::.ctor, ldloc:BigInteger(var_78_326), ldloc:BigInteger(var_80_342), ldloc:BigInteger(var_81_350), ldloc:BigInteger(var_79_334), ldloc:BigInteger(var_82_357)))
|
||||
stloc:BigInteger(var_84_374, newobj:BigInteger(BigInteger::.ctor, ldstr:string("00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003")))
|
||||
stloc:BigInteger(var_85_382, newobj:BigInteger(BigInteger::.ctor, ldstr:string("7503CFE87A836AE3A61B8816E25450E6CE5E1C93ACF1ABC1778064FDCBEFA921DF1626BE4FD036E93D75E6A50E3A41E98028FE5FC235F5B889A589CB5215F2A4"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_87_389, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:ECDomainParameters(var_88_398, newobj:ECDomainParameters(ECDomainParameters::.ctor, ldloc:FpCurve[exp:ECCurve](var_83_368), ldloc:ECPoint(var_86), ldloc:BigInteger(var_79_334), ldloc:BigInteger(var_87_389)))
|
||||
stloc:IDictionary(var_89_39F, ldsfld:IDictionary(ECGost3410NamedCurves::parameters))
|
||||
stloc:BigInteger(var_90_3AD, newobj:BigInteger(BigInteger::.ctor, ldstr:string("8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006F"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_91_3BB, newobj:BigInteger(BigInteger::.ctor, ldstr:string("800000000000000000000000000000000000000000000000000000000000000149A1EC142565A545ACFDB77BD9D40CFA8B996712101BEA0EC6346C54374F25BD"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_92_3C9, newobj:BigInteger(BigInteger::.ctor, ldstr:string("8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006C"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_93_3D7, newobj:BigInteger(BigInteger::.ctor, ldstr:string("687D1B459DC841457E3E06CF6F5E2517B97C7D614AF138BCBF85DC806C4B289F3E965D2DB1416D217F8B276FAD1AB69C50F78BEE1FA3106EFB8CCBC7C5140116"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_94_3DE, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:FpCurve(var_95_3EF, newobj:FpCurve(FpCurve::.ctor, ldloc:BigInteger(var_90_3AD), ldloc:BigInteger(var_92_3C9), ldloc:BigInteger(var_93_3D7), ldloc:BigInteger(var_91_3BB), ldloc:BigInteger(var_94_3DE)))
|
||||
stloc:BigInteger(var_96_3FB, newobj:BigInteger(BigInteger::.ctor, ldstr:string("00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002")))
|
||||
stloc:BigInteger(var_97_409, newobj:BigInteger(BigInteger::.ctor, ldstr:string("1A8F7EDA389B094C2C071E3647A8940F3C123B697578C213BE6DD9E6C8EC7335DCB228FD1EDF4A39152CBCAAF8C0398828041055F94CEEEC7E21340780FE41BD"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_99_410, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:ECDomainParameters(var_100_41F, newobj:ECDomainParameters(ECDomainParameters::.ctor, ldloc:FpCurve[exp:ECCurve](var_95_3EF), ldloc:ECPoint(var_98), ldloc:BigInteger(var_91_3BB), ldloc:BigInteger(var_99_410)))
|
||||
stloc:IDictionary(var_101_426, ldsfld:IDictionary(ECGost3410NamedCurves::parameters))
|
||||
stloc:BigInteger(var_102_434, newobj:BigInteger(BigInteger::.ctor, ldstr:string("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDC7"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_103_442, newobj:BigInteger(BigInteger::.ctor, ldstr:string("3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC98CDBA46506AB004C33A9FF5147502CC8EDA9E7A769A12694623CEF47F023ED"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_104_450, newobj:BigInteger(BigInteger::.ctor, ldstr:string("DC9203E514A721875485A529D2C722FB187BC8980EB866644DE41C68E143064546E861C0E2C9EDD92ADE71F46FCF50FF2AD97F951FDA9F2A2EB6546F39689BD3"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_105_45E, newobj:BigInteger(BigInteger::.ctor, ldstr:string("B4C4EE28CEBC6C2C8AC12952CF37F16AC7EFB6A9F69F4B57FFDA2E4F0DE5ADE038CBC2FFF719D2C18DE0284B8BFEF3B52B8CC7A5F5BF0A3C8D2319A5312557E1"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_106_465, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:FpCurve(var_107_476, newobj:FpCurve(FpCurve::.ctor, ldloc:BigInteger(var_102_434), ldloc:BigInteger(var_104_450), ldloc:BigInteger(var_105_45E), ldloc:BigInteger(var_103_442), ldloc:BigInteger(var_106_465)))
|
||||
stloc:BigInteger(var_108_484, newobj:BigInteger(BigInteger::.ctor, ldstr:string("E2E31EDFC23DE7BDEBE241CE593EF5DE2295B7A9CBAEF021D385F7074CEA043AA27272A7AE602BF2A7B9033DB9ED3610C6FB85487EAE97AAC5BC7928C1950148"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_109_492, newobj:BigInteger(BigInteger::.ctor, ldstr:string("F5CE40D95B5EB899ABBCCFF5911CB8577939804D6527378B8C108C3D2090FF9BE18E2D33E3021ED2EF32D85822423B6304F726AA854BAE07D0396E9A9ADDC40F"), ldc.i4:int32(16)))
|
||||
stloc:BigInteger(var_111_499, ldsfld:BigInteger(BigInteger::One))
|
||||
stloc:ECDomainParameters(var_112_4A8, newobj:ECDomainParameters(ECDomainParameters::.ctor, ldloc:FpCurve[exp:ECCurve](var_107_476), ldloc:ECPoint(var_110), ldloc:BigInteger(var_103_442), ldloc:BigInteger(var_111_499)))
|
||||
stloc:IDictionary(var_113_4AF, ldsfld:IDictionary(ECGost3410NamedCurves::parameters))
|
||||
stloc:IDictionary(var_114_4B6, ldsfld:IDictionary(ECGost3410NamedCurves::objIds))
|
||||
stloc:DerObjectIdentifier(var_115_4BD, ldsfld:DerObjectIdentifier(CryptoProObjectIdentifiers::GostR3410x2001CryptoProA))
|
||||
stloc:IDictionary(var_116_4C4, ldsfld:IDictionary(ECGost3410NamedCurves::objIds))
|
||||
stloc:DerObjectIdentifier(var_117_4CB, ldsfld:DerObjectIdentifier(CryptoProObjectIdentifiers::GostR3410x2001CryptoProB))
|
||||
stloc:IDictionary(var_118_4D2, ldsfld:IDictionary(ECGost3410NamedCurves::objIds))
|
||||
stloc:DerObjectIdentifier(var_119_4D9, ldsfld:DerObjectIdentifier(CryptoProObjectIdentifiers::GostR3410x2001CryptoProC))
|
||||
stloc:IDictionary(var_120_4E0, ldsfld:IDictionary(ECGost3410NamedCurves::objIds))
|
||||
stloc:DerObjectIdentifier(var_121_4E7, ldsfld:DerObjectIdentifier(CryptoProObjectIdentifiers::GostR3410x2001CryptoProXchA))
|
||||
stloc:IDictionary(var_122_4EE, ldsfld:IDictionary(ECGost3410NamedCurves::objIds))
|
||||
stloc:DerObjectIdentifier(var_123_4F5, ldsfld:DerObjectIdentifier(CryptoProObjectIdentifiers::GostR3410x2001CryptoProXchB))
|
||||
stloc:IDictionary(var_124_4FC, ldsfld:IDictionary(ECGost3410NamedCurves::objIds))
|
||||
stloc:DerObjectIdentifier(var_125_503, ldsfld:DerObjectIdentifier(RosstandartObjectIdentifiers::id_tc26_gost_3410_12_256_paramSetA))
|
||||
stloc:IDictionary(var_126_50A, ldsfld:IDictionary(ECGost3410NamedCurves::objIds))
|
||||
stloc:DerObjectIdentifier(var_127_511, ldsfld:DerObjectIdentifier(RosstandartObjectIdentifiers::id_tc26_gost_3410_12_512_paramSetA))
|
||||
stloc:IDictionary(var_128_518, ldsfld:IDictionary(ECGost3410NamedCurves::objIds))
|
||||
stloc:DerObjectIdentifier(var_129_51F, ldsfld:DerObjectIdentifier(RosstandartObjectIdentifiers::id_tc26_gost_3410_12_512_paramSetB))
|
||||
stloc:IDictionary(var_130_526, ldsfld:IDictionary(ECGost3410NamedCurves::objIds))
|
||||
stloc:DerObjectIdentifier(var_131_52D, ldsfld:DerObjectIdentifier(RosstandartObjectIdentifiers::id_tc26_gost_3410_12_512_paramSetC))
|
||||
stloc:IDictionary(var_132_534, ldsfld:IDictionary(ECGost3410NamedCurves::names))
|
||||
stloc:IDictionary(var_134_53B, ldsfld:IDictionary(ECGost3410NamedCurves::names))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C859 RID: 51289 RVA: 0x002DE3DC File Offset: 0x002DC5DC
|
||||
[Token(Token = "0x600C859")]
|
||||
[Address(RVA = "0x1885B50", Offset = "0x1884950", VA = "0x181885B50")]
|
||||
public static ECDomainParameters GetByOid(DerObjectIdentifier oid)
|
||||
{
|
||||
IDictionary dictionary = ECGost3410NamedCurves.parameters;
|
||||
IDictionary dictionary2 = ECGost3410NamedCurves.objIds;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001F5A RID: 8026
|
||||
// (get) Token: 0x0600C85A RID: 51290 RVA: 0x002DE400 File Offset: 0x002DC600
|
||||
[Token(Token = "0x17001F5A")]
|
||||
public static IEnumerable Names
|
||||
{
|
||||
[Token(Token = "0x600C85A")]
|
||||
[Address(RVA = "0x1887380", Offset = "0x1886180", VA = "0x181887380")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = ECGost3410NamedCurves.names;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C85B RID: 51291 RVA: 0x002DE418 File Offset: 0x002DC618
|
||||
[Token(Token = "0x600C85B")]
|
||||
[Address(RVA = "0x18859C0", Offset = "0x18847C0", VA = "0x1818859C0")]
|
||||
public static ECDomainParameters GetByName(string name)
|
||||
{
|
||||
IDictionary dictionary = ECGost3410NamedCurves.objIds;
|
||||
IDictionary dictionary2 = ECGost3410NamedCurves.objIds;
|
||||
IDictionary dictionary3 = ECGost3410NamedCurves.parameters;
|
||||
IDictionary dictionary4 = ECGost3410NamedCurves.objIds;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C85C RID: 51292 RVA: 0x002DE454 File Offset: 0x002DC654
|
||||
[Token(Token = "0x600C85C")]
|
||||
[Address(RVA = "0x1885C20", Offset = "0x1884A20", VA = "0x181885C20")]
|
||||
public static string GetName(DerObjectIdentifier oid)
|
||||
{
|
||||
IDictionary dictionary = ECGost3410NamedCurves.names;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C85D RID: 51293 RVA: 0x002DE46C File Offset: 0x002DC66C
|
||||
[Token(Token = "0x600C85D")]
|
||||
[Address(RVA = "0x1885CC0", Offset = "0x1884AC0", VA = "0x181885CC0")]
|
||||
public static DerObjectIdentifier GetOid(string name)
|
||||
{
|
||||
IDictionary dictionary = ECGost3410NamedCurves.objIds;
|
||||
IDictionary dictionary2 = ECGost3410NamedCurves.objIds;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007FE3 RID: 32739
|
||||
[Token(Token = "0x4007FE3")]
|
||||
internal static readonly IDictionary objIds;
|
||||
|
||||
// Token: 0x04007FE4 RID: 32740
|
||||
[Token(Token = "0x4007FE4")]
|
||||
internal static readonly IDictionary parameters;
|
||||
|
||||
// Token: 0x04007FE5 RID: 32741
|
||||
[Token(Token = "0x4007FE5")]
|
||||
internal static readonly IDictionary names;
|
||||
}
|
||||
}
|
||||
+206
@@ -0,0 +1,206 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro
|
||||
{
|
||||
// Token: 0x02001EFD RID: 7933
|
||||
[Token(Token = "0x2001EFD")]
|
||||
public class ECGost3410ParamSetParameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C85E RID: 51294 RVA: 0x002DE490 File Offset: 0x002DC690
|
||||
[Token(Token = "0x600C85E")]
|
||||
[Address(RVA = "0x1887620", Offset = "0x1886420", VA = "0x181887620")]
|
||||
public static ECGost3410ParamSetParameters GetInstance(Asn1TaggedObject obj, bool explicitly)
|
||||
{
|
||||
return ECGost3410ParamSetParameters.GetInstance(Asn1Sequence.GetInstance(obj, explicitly));
|
||||
}
|
||||
|
||||
// Token: 0x0600C85F RID: 51295 RVA: 0x002DE4AC File Offset: 0x002DC6AC
|
||||
[Token(Token = "0x600C85F")]
|
||||
[Address(RVA = "0x1887430", Offset = "0x1886230", VA = "0x181887430")]
|
||||
public static ECGost3410ParamSetParameters GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C85F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.ECGost3410ParamSetParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.ECGost3410ParamSetParameters::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_3F, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid GOST3410Parameter: "), ldloc:string(var_6_2C))))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C860 RID: 51296 RVA: 0x002DE4FC File Offset: 0x002DC6FC
|
||||
[Token(Token = "0x600C860")]
|
||||
[Address(RVA = "0x1887A30", Offset = "0x1886830", VA = "0x181887A30")]
|
||||
public ECGost3410ParamSetParameters(BigInteger a, BigInteger b, BigInteger p, BigInteger q, int x, BigInteger y)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(a);
|
||||
this.a = derInteger;
|
||||
DerInteger derInteger2 = new DerInteger(b);
|
||||
this.b = derInteger2;
|
||||
DerInteger derInteger3 = new DerInteger(p);
|
||||
this.p = derInteger3;
|
||||
DerInteger derInteger4;
|
||||
this.q = derInteger4;
|
||||
DerInteger derInteger5;
|
||||
this.x = derInteger5;
|
||||
DerInteger derInteger6;
|
||||
this.y = derInteger6;
|
||||
}
|
||||
|
||||
// Token: 0x0600C861 RID: 51297 RVA: 0x002DE550 File Offset: 0x002DC750
|
||||
[Token(Token = "0x600C861")]
|
||||
[Address(RVA = "0x18878A0", Offset = "0x18866A0", VA = "0x1818878A0")]
|
||||
public ECGost3410ParamSetParameters(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C861)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.ECGost3410ParamSetParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_70:
|
||||
stloc:ArgumentException(var_13_7F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001F5B RID: 8027
|
||||
// (get) Token: 0x0600C862 RID: 51298 RVA: 0x002DE5E0 File Offset: 0x002DC7E0
|
||||
[Token(Token = "0x17001F5B")]
|
||||
public BigInteger P
|
||||
{
|
||||
[Token(Token = "0x600C862")]
|
||||
[Address(RVA = "0x1887BE0", Offset = "0x18869E0", VA = "0x181887BE0")]
|
||||
get
|
||||
{
|
||||
byte[] bytes = this.p.bytes;
|
||||
return new BigInteger(1, bytes);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F5C RID: 8028
|
||||
// (get) Token: 0x0600C863 RID: 51299 RVA: 0x002DE608 File Offset: 0x002DC808
|
||||
[Token(Token = "0x17001F5C")]
|
||||
public BigInteger Q
|
||||
{
|
||||
[Token(Token = "0x600C863")]
|
||||
[Address(RVA = "0x1887C50", Offset = "0x1886A50", VA = "0x181887C50")]
|
||||
get
|
||||
{
|
||||
byte[] bytes = this.q.bytes;
|
||||
return new BigInteger(1, bytes);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F5D RID: 8029
|
||||
// (get) Token: 0x0600C864 RID: 51300 RVA: 0x002DE630 File Offset: 0x002DC830
|
||||
[Token(Token = "0x17001F5D")]
|
||||
public BigInteger A
|
||||
{
|
||||
[Token(Token = "0x600C864")]
|
||||
[Address(RVA = "0x1887B70", Offset = "0x1886970", VA = "0x181887B70")]
|
||||
get
|
||||
{
|
||||
byte[] bytes = this.a.bytes;
|
||||
return new BigInteger(1, bytes);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C865 RID: 51301 RVA: 0x002DE658 File Offset: 0x002DC858
|
||||
[Token(Token = "0x600C865")]
|
||||
[Address(RVA = "0x1887640", Offset = "0x1886440", VA = "0x181887640", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[6];
|
||||
DerInteger derInteger = this.a;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
DerInteger derInteger2 = this.b;
|
||||
if (derInteger2 != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger2;
|
||||
DerInteger derInteger3 = this.p;
|
||||
if (derInteger3 != 0)
|
||||
{
|
||||
}
|
||||
array[2] = derInteger3;
|
||||
DerInteger derInteger4 = this.q;
|
||||
if (derInteger4 != 0)
|
||||
{
|
||||
}
|
||||
array[3] = derInteger4;
|
||||
DerInteger derInteger5 = this.x;
|
||||
if (derInteger5 != 0)
|
||||
{
|
||||
}
|
||||
array[4] = derInteger5;
|
||||
DerInteger derInteger6 = this.y;
|
||||
if (derInteger6 != 0)
|
||||
{
|
||||
}
|
||||
array[5] = derInteger6;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007FE6 RID: 32742
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007FE6")]
|
||||
internal readonly DerInteger p;
|
||||
|
||||
// Token: 0x04007FE7 RID: 32743
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007FE7")]
|
||||
internal readonly DerInteger q;
|
||||
|
||||
// Token: 0x04007FE8 RID: 32744
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007FE8")]
|
||||
internal readonly DerInteger a;
|
||||
|
||||
// Token: 0x04007FE9 RID: 32745
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007FE9")]
|
||||
internal readonly DerInteger b;
|
||||
|
||||
// Token: 0x04007FEA RID: 32746
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4007FEA")]
|
||||
internal readonly DerInteger x;
|
||||
|
||||
// Token: 0x04007FEB RID: 32747
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4007FEB")]
|
||||
internal readonly DerInteger y;
|
||||
}
|
||||
}
|
||||
+105
@@ -0,0 +1,105 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro
|
||||
{
|
||||
// Token: 0x02001EFE RID: 7934
|
||||
[Token(Token = "0x2001EFE")]
|
||||
public class Gost28147Parameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C866 RID: 51302 RVA: 0x002DE6F4 File Offset: 0x002DC8F4
|
||||
[Token(Token = "0x600C866")]
|
||||
[Address(RVA = "0x18894D0", Offset = "0x18882D0", VA = "0x1818894D0")]
|
||||
public static Gost28147Parameters GetInstance(Asn1TaggedObject obj, bool explicitly)
|
||||
{
|
||||
return Gost28147Parameters.GetInstance(Asn1Sequence.GetInstance(obj, explicitly));
|
||||
}
|
||||
|
||||
// Token: 0x0600C867 RID: 51303 RVA: 0x002DE710 File Offset: 0x002DC910
|
||||
[Token(Token = "0x600C867")]
|
||||
[Address(RVA = "0x18894F0", Offset = "0x18882F0", VA = "0x1818894F0")]
|
||||
public static Gost28147Parameters GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C867)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.Gost28147Parameters BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.Gost28147Parameters::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_39:
|
||||
stloc:string(var_9_3F, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_10_52, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid GOST3410Parameter: "), ldloc:string(var_9_3F))))
|
||||
stloc:ArgumentException(var_11_63, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C868 RID: 51304 RVA: 0x002DE784 File Offset: 0x002DC984
|
||||
[Token(Token = "0x600C868")]
|
||||
[Address(RVA = "0x18898D0", Offset = "0x18886D0", VA = "0x1818898D0")]
|
||||
private Gost28147Parameters(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C868)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.Gost28147Parameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_30:
|
||||
stloc:ArgumentException(var_5_3F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C869 RID: 51305 RVA: 0x002DE7D4 File Offset: 0x002DC9D4
|
||||
[Token(Token = "0x600C869")]
|
||||
[Address(RVA = "0x18897C0", Offset = "0x18885C0", VA = "0x1818897C0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
Asn1OctetString asn1OctetString = this.iv;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1OctetString;
|
||||
DerObjectIdentifier derObjectIdentifier = this.paramSet;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derObjectIdentifier;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007FEC RID: 32748
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007FEC")]
|
||||
private readonly Asn1OctetString iv;
|
||||
|
||||
// Token: 0x04007FED RID: 32749
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007FED")]
|
||||
private readonly DerObjectIdentifier paramSet;
|
||||
}
|
||||
}
|
||||
+120
@@ -0,0 +1,120 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro
|
||||
{
|
||||
// Token: 0x02001EFF RID: 7935
|
||||
[Token(Token = "0x2001EFF")]
|
||||
public sealed class Gost3410NamedParameters
|
||||
{
|
||||
// Token: 0x0600C86A RID: 51306 RVA: 0x002DE81C File Offset: 0x002DCA1C
|
||||
[Token(Token = "0x600C86A")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
private Gost3410NamedParameters()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C86B RID: 51307 RVA: 0x002DE830 File Offset: 0x002DCA30
|
||||
[Token(Token = "0x600C86B")]
|
||||
[Address(RVA = "0x1889D10", Offset = "0x1888B10", VA = "0x181889D10")]
|
||||
static Gost3410NamedParameters()
|
||||
{
|
||||
IDictionary dictionary = Platform.CreateHashtable();
|
||||
Gost3410NamedParameters.objIds = dictionary;
|
||||
Gost3410NamedParameters.parameters = Platform.CreateHashtable();
|
||||
BigInteger bigInteger = new BigInteger("127021248288932417465907042777176443525787653508916535812817507265705031260985098497423188333483401180925999995120988934130659205614996724254121049274349357074920312769561451689224110579311248812610229678534638401693520013288995000362260684222750813532307004517341633685004541062586971416883686778842537820383");
|
||||
BigInteger bigInteger2 = new BigInteger("68363196144955700784444165611827252895102170888761442055095051287550314083023");
|
||||
BigInteger bigInteger3 = new BigInteger("100997906755055304772081815535925224869841082572053457874823515875577147990529272777244152852699298796483356699682842027972896052747173175480590485607134746852141928680912561502802222185647539190902656116367847270145019066794290930185446216399730872221732889830323194097355403213400972588322876850946740663962");
|
||||
Gost3410NamedParameters.cryptoProA = new Gost3410ParamSetParameters(1024, bigInteger, bigInteger2, bigInteger3);
|
||||
BigInteger bigInteger4 = new BigInteger("139454871199115825601409655107690713107041707059928031797758001454375765357722984094124368522288239833039114681648076688236921220737322672160740747771700911134550432053804647694904686120113087816240740184800477047157336662926249423571248823968542221753660143391485680840520336859458494803187341288580489525163");
|
||||
BigInteger bigInteger5 = new BigInteger("79885141663410976897627118935756323747307951916507639758300472692338873533959");
|
||||
BigInteger bigInteger6 = new BigInteger("42941826148615804143873447737955502392672345968607143066798112994089471231420027060385216699563848719957657284814898909770759462613437669456364882730370838934791080835932647976778601915343474400961034231316672578686920482194932878633360203384797092684342247621055760235016132614780652761028509445403338652341");
|
||||
Gost3410NamedParameters.cryptoProB = new Gost3410ParamSetParameters(1024, bigInteger4, bigInteger5, bigInteger6);
|
||||
BigInteger bigInteger7 = new BigInteger("142011741597563481196368286022318089743276138395243738762872573441927459393512718973631166078467600360848946623567625795282774719212241929071046134208380636394084512691828894000571524625445295769349356752728956831541775441763139384457191755096847107846595662547942312293338483924514339614727760681880609734239");
|
||||
BigInteger bigInteger8 = new BigInteger("91771529896554605945588149018382750217296858393520724172743325725474374979801");
|
||||
BigInteger bigInteger9 = new BigInteger("133531813272720673433859519948319001217942375967847486899482359599369642528734712461590403327731821410328012529253871914788598993103310567744136196364803064721377826656898686468463277710150809401182608770201615324990468332931294920912776241137878030224355746606283971659376426832674269780880061631528163475887");
|
||||
Gost3410NamedParameters.cryptoProXchA = new Gost3410ParamSetParameters(1024, bigInteger7, bigInteger8, bigInteger9);
|
||||
IDictionary dictionary2 = Gost3410NamedParameters.parameters;
|
||||
Gost3410ParamSetParameters gost3410ParamSetParameters = Gost3410NamedParameters.cryptoProA;
|
||||
IDictionary dictionary3 = Gost3410NamedParameters.parameters;
|
||||
Gost3410ParamSetParameters gost3410ParamSetParameters2 = Gost3410NamedParameters.cryptoProB;
|
||||
IDictionary dictionary4 = Gost3410NamedParameters.parameters;
|
||||
Gost3410ParamSetParameters gost3410ParamSetParameters3 = Gost3410NamedParameters.cryptoProXchA;
|
||||
IDictionary dictionary5 = Gost3410NamedParameters.objIds;
|
||||
DerObjectIdentifier gostR3410x94CryptoProA = CryptoProObjectIdentifiers.GostR3410x94CryptoProA;
|
||||
IDictionary dictionary6 = Gost3410NamedParameters.objIds;
|
||||
DerObjectIdentifier gostR3410x94CryptoProB = CryptoProObjectIdentifiers.GostR3410x94CryptoProB;
|
||||
IDictionary dictionary7 = Gost3410NamedParameters.objIds;
|
||||
DerObjectIdentifier gostR3410x94CryptoProXchA = CryptoProObjectIdentifiers.GostR3410x94CryptoProXchA;
|
||||
}
|
||||
|
||||
// Token: 0x0600C86C RID: 51308 RVA: 0x002DE95C File Offset: 0x002DCB5C
|
||||
[Token(Token = "0x600C86C")]
|
||||
[Address(RVA = "0x1889B70", Offset = "0x1888970", VA = "0x181889B70")]
|
||||
public static Gost3410ParamSetParameters GetByOid(DerObjectIdentifier oid)
|
||||
{
|
||||
IDictionary dictionary = Gost3410NamedParameters.parameters;
|
||||
IDictionary dictionary2 = Gost3410NamedParameters.objIds;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001F5E RID: 8030
|
||||
// (get) Token: 0x0600C86D RID: 51309 RVA: 0x002DE980 File Offset: 0x002DCB80
|
||||
[Token(Token = "0x17001F5E")]
|
||||
public static IEnumerable Names
|
||||
{
|
||||
[Token(Token = "0x600C86D")]
|
||||
[Address(RVA = "0x188A180", Offset = "0x1888F80", VA = "0x18188A180")]
|
||||
get
|
||||
{
|
||||
IDictionary dictionary = Gost3410NamedParameters.objIds;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C86E RID: 51310 RVA: 0x002DE998 File Offset: 0x002DCB98
|
||||
[Token(Token = "0x600C86E")]
|
||||
[Address(RVA = "0x18899E0", Offset = "0x18887E0", VA = "0x1818899E0")]
|
||||
public static Gost3410ParamSetParameters GetByName(string name)
|
||||
{
|
||||
IDictionary dictionary = Gost3410NamedParameters.objIds;
|
||||
IDictionary dictionary2 = Gost3410NamedParameters.objIds;
|
||||
IDictionary dictionary3 = Gost3410NamedParameters.parameters;
|
||||
IDictionary dictionary4 = Gost3410NamedParameters.objIds;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C86F RID: 51311 RVA: 0x002DE9D4 File Offset: 0x002DCBD4
|
||||
[Token(Token = "0x600C86F")]
|
||||
[Address(RVA = "0x1889C40", Offset = "0x1888A40", VA = "0x181889C40")]
|
||||
public static DerObjectIdentifier GetOid(string name)
|
||||
{
|
||||
IDictionary dictionary = Gost3410NamedParameters.objIds;
|
||||
IDictionary dictionary2 = Gost3410NamedParameters.objIds;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007FEE RID: 32750
|
||||
[Token(Token = "0x4007FEE")]
|
||||
private static readonly IDictionary objIds;
|
||||
|
||||
// Token: 0x04007FEF RID: 32751
|
||||
[Token(Token = "0x4007FEF")]
|
||||
private static readonly IDictionary parameters;
|
||||
|
||||
// Token: 0x04007FF0 RID: 32752
|
||||
[Token(Token = "0x4007FF0")]
|
||||
private static readonly Gost3410ParamSetParameters cryptoProA;
|
||||
|
||||
// Token: 0x04007FF1 RID: 32753
|
||||
[Token(Token = "0x4007FF1")]
|
||||
private static readonly Gost3410ParamSetParameters cryptoProB;
|
||||
|
||||
// Token: 0x04007FF2 RID: 32754
|
||||
[Token(Token = "0x4007FF2")]
|
||||
private static readonly Gost3410ParamSetParameters cryptoProXchA;
|
||||
}
|
||||
}
|
||||
+194
@@ -0,0 +1,194 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro
|
||||
{
|
||||
// Token: 0x02001F00 RID: 7936
|
||||
[Token(Token = "0x2001F00")]
|
||||
public class Gost3410ParamSetParameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C870 RID: 51312 RVA: 0x002DE9F8 File Offset: 0x002DCBF8
|
||||
[Token(Token = "0x600C870")]
|
||||
[Address(RVA = "0x188A230", Offset = "0x1889030", VA = "0x18188A230")]
|
||||
public static Gost3410ParamSetParameters GetInstance(Asn1TaggedObject obj, bool explicitly)
|
||||
{
|
||||
return Gost3410ParamSetParameters.GetInstance(Asn1Sequence.GetInstance(obj, explicitly));
|
||||
}
|
||||
|
||||
// Token: 0x0600C871 RID: 51313 RVA: 0x002DEA14 File Offset: 0x002DCC14
|
||||
[Token(Token = "0x600C871")]
|
||||
[Address(RVA = "0x188A250", Offset = "0x1889050", VA = "0x18188A250")]
|
||||
public static Gost3410ParamSetParameters GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C871)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.Gost3410ParamSetParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.Gost3410ParamSetParameters::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_3F, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid GOST3410Parameter: "), ldloc:string(var_6_2C))))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C872 RID: 51314 RVA: 0x002DEA64 File Offset: 0x002DCC64
|
||||
[Token(Token = "0x600C872")]
|
||||
[Address(RVA = "0x188A630", Offset = "0x1889430", VA = "0x18188A630")]
|
||||
public Gost3410ParamSetParameters(int keySize, BigInteger p, BigInteger q, BigInteger a)
|
||||
{
|
||||
this.keySize = keySize;
|
||||
DerInteger derInteger = new DerInteger(p);
|
||||
this.p = derInteger;
|
||||
DerInteger derInteger2 = new DerInteger(q);
|
||||
this.q = derInteger2;
|
||||
DerInteger derInteger3;
|
||||
this.a = derInteger3;
|
||||
}
|
||||
|
||||
// Token: 0x0600C873 RID: 51315 RVA: 0x002DEAA4 File Offset: 0x002DCCA4
|
||||
[Token(Token = "0x600C873")]
|
||||
[Address(RVA = "0x188A700", Offset = "0x1889500", VA = "0x18188A700")]
|
||||
private Gost3410ParamSetParameters(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C873)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.Gost3410ParamSetParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_62:
|
||||
stloc:ArgumentException(var_10_71, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001F5F RID: 8031
|
||||
// (get) Token: 0x0600C874 RID: 51316 RVA: 0x002DEB24 File Offset: 0x002DCD24
|
||||
[Token(Token = "0x17001F5F")]
|
||||
public int KeySize
|
||||
{
|
||||
[Token(Token = "0x600C874")]
|
||||
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560")]
|
||||
get
|
||||
{
|
||||
return this.keySize;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F60 RID: 8032
|
||||
// (get) Token: 0x0600C875 RID: 51317 RVA: 0x002DEB38 File Offset: 0x002DCD38
|
||||
[Token(Token = "0x17001F60")]
|
||||
public BigInteger P
|
||||
{
|
||||
[Token(Token = "0x600C875")]
|
||||
[Address(RVA = "0x1887C50", Offset = "0x1886A50", VA = "0x181887C50")]
|
||||
get
|
||||
{
|
||||
byte[] bytes = this.p.bytes;
|
||||
return new BigInteger(1, bytes);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F61 RID: 8033
|
||||
// (get) Token: 0x0600C876 RID: 51318 RVA: 0x002DEB60 File Offset: 0x002DCD60
|
||||
[Token(Token = "0x17001F61")]
|
||||
public BigInteger Q
|
||||
{
|
||||
[Token(Token = "0x600C876")]
|
||||
[Address(RVA = "0x1887B70", Offset = "0x1886970", VA = "0x181887B70")]
|
||||
get
|
||||
{
|
||||
byte[] bytes = this.q.bytes;
|
||||
return new BigInteger(1, bytes);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F62 RID: 8034
|
||||
// (get) Token: 0x0600C877 RID: 51319 RVA: 0x002DEB88 File Offset: 0x002DCD88
|
||||
[Token(Token = "0x17001F62")]
|
||||
public BigInteger A
|
||||
{
|
||||
[Token(Token = "0x600C877")]
|
||||
[Address(RVA = "0x188A8B0", Offset = "0x18896B0", VA = "0x18188A8B0")]
|
||||
get
|
||||
{
|
||||
byte[] bytes = this.a.bytes;
|
||||
return new BigInteger(1, bytes);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C878 RID: 51320 RVA: 0x002DEBB0 File Offset: 0x002DCDB0
|
||||
[Token(Token = "0x600C878")]
|
||||
[Address(RVA = "0x188A440", Offset = "0x1889240", VA = "0x18188A440", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[4];
|
||||
DerInteger derInteger = new DerInteger(this.keySize);
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
DerInteger derInteger2 = this.p;
|
||||
if (derInteger2 != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger2;
|
||||
DerInteger derInteger3 = this.q;
|
||||
if (derInteger3 != 0)
|
||||
{
|
||||
}
|
||||
array[2] = derInteger3;
|
||||
DerInteger derInteger4 = this.a;
|
||||
if (derInteger4 != 0)
|
||||
{
|
||||
}
|
||||
array[3] = derInteger4;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007FF3 RID: 32755
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007FF3")]
|
||||
private readonly int keySize;
|
||||
|
||||
// Token: 0x04007FF4 RID: 32756
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007FF4")]
|
||||
private readonly DerInteger p;
|
||||
|
||||
// Token: 0x04007FF5 RID: 32757
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007FF5")]
|
||||
private readonly DerInteger q;
|
||||
|
||||
// Token: 0x04007FF6 RID: 32758
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007FF6")]
|
||||
private readonly DerInteger a;
|
||||
}
|
||||
}
|
||||
+262
@@ -0,0 +1,262 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro
|
||||
{
|
||||
// Token: 0x02001F01 RID: 7937
|
||||
[Token(Token = "0x2001F01")]
|
||||
public class Gost3410PublicKeyAlgParameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C879 RID: 51321 RVA: 0x002DEC28 File Offset: 0x002DCE28
|
||||
[Token(Token = "0x600C879")]
|
||||
[Address(RVA = "0x188A920", Offset = "0x1889720", VA = "0x18188A920")]
|
||||
public static Gost3410PublicKeyAlgParameters GetInstance(Asn1TaggedObject obj, bool explicitly)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C879)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.Gost3410PublicKeyAlgParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.Gost3410PublicKeyAlgParameters::GetInstance(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_2:
|
||||
brtrue(IL_00, ceq:bool(ldloc:Asn1Sequence(var_0_07), ldc.i4:int32[exp:Asn1Sequence](0)))
|
||||
}
|
||||
|
||||
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.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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C87A RID: 51322 RVA: 0x002DEC60 File Offset: 0x002DCE60
|
||||
[Token(Token = "0x600C87A")]
|
||||
[Address(RVA = "0x188AA30", Offset = "0x1889830", VA = "0x18188AA30")]
|
||||
public static Gost3410PublicKeyAlgParameters GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C87A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.Gost3410PublicKeyAlgParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.Gost3410PublicKeyAlgParameters::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_2:
|
||||
brtrue(IL_00, ceq:bool(ldloc:object(obj), ldc.i4:int32[exp:object](0)))
|
||||
}
|
||||
|
||||
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.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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C87B RID: 51323 RVA: 0x002DEC90 File Offset: 0x002DCE90
|
||||
[Token(Token = "0x600C87B")]
|
||||
[Address(RVA = "0x188ADD0", Offset = "0x1889BD0", VA = "0x18188ADD0")]
|
||||
public Gost3410PublicKeyAlgParameters(DerObjectIdentifier publicKeyParamSet, DerObjectIdentifier digestParamSet)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C87B)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.Gost3410PublicKeyAlgParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_31:
|
||||
stloc:ArgumentNullException(var_1_3B, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("digestParamSet")))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C87C RID: 51324 RVA: 0x002DECD8 File Offset: 0x002DCED8
|
||||
[Token(Token = "0x600C87C")]
|
||||
[Address(RVA = "0x188ACF0", Offset = "0x1889AF0", VA = "0x18188ACF0")]
|
||||
public Gost3410PublicKeyAlgParameters(DerObjectIdentifier publicKeyParamSet, DerObjectIdentifier digestParamSet, DerObjectIdentifier encryptionParamSet)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C87C)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro.Gost3410PublicKeyAlgParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_2F:
|
||||
stloc:ArgumentNullException(var_1_39, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("digestParamSet")))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C87D RID: 51325 RVA: 0x002DED20 File Offset: 0x002DCF20
|
||||
[Token(Token = "0x600C87D")]
|
||||
[Address(RVA = "0x188AEA0", Offset = "0x1889CA0", VA = "0x18188AEA0")]
|
||||
public Gost3410PublicKeyAlgParameters(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser3;
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
if (parser == 0)
|
||||
{
|
||||
}
|
||||
if (parser != 0)
|
||||
{
|
||||
this.publicKeyParamSet = parser;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
if (parser2 == 0)
|
||||
{
|
||||
}
|
||||
if (parser2 != 0)
|
||||
{
|
||||
this.digestParamSet = parser2;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable <= (ulong)2L)
|
||||
{
|
||||
return;
|
||||
}
|
||||
parser3 = seq.Parser;
|
||||
if (parser3 == 0 || parser3 != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
this.encryptionParamSet = parser3;
|
||||
}
|
||||
|
||||
// Token: 0x17001F63 RID: 8035
|
||||
// (get) Token: 0x0600C87E RID: 51326 RVA: 0x002DED90 File Offset: 0x002DCF90
|
||||
[Token(Token = "0x17001F63")]
|
||||
public DerObjectIdentifier PublicKeyParamSet
|
||||
{
|
||||
[Token(Token = "0x600C87E")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.publicKeyParamSet;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F64 RID: 8036
|
||||
// (get) Token: 0x0600C87F RID: 51327 RVA: 0x002DEDA4 File Offset: 0x002DCFA4
|
||||
[Token(Token = "0x17001F64")]
|
||||
public DerObjectIdentifier DigestParamSet
|
||||
{
|
||||
[Token(Token = "0x600C87F")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.digestParamSet;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F65 RID: 8037
|
||||
// (get) Token: 0x0600C880 RID: 51328 RVA: 0x002DEDB8 File Offset: 0x002DCFB8
|
||||
[Token(Token = "0x17001F65")]
|
||||
public DerObjectIdentifier EncryptionParamSet
|
||||
{
|
||||
[Token(Token = "0x600C880")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
get
|
||||
{
|
||||
return this.encryptionParamSet;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C881 RID: 51329 RVA: 0x002DEDCC File Offset: 0x002DCFCC
|
||||
[Token(Token = "0x600C881")]
|
||||
[Address(RVA = "0x188AB30", Offset = "0x1889930", VA = "0x18188AB30", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerObjectIdentifier derObjectIdentifier = this.publicKeyParamSet;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derObjectIdentifier;
|
||||
DerObjectIdentifier derObjectIdentifier2 = this.digestParamSet;
|
||||
if (derObjectIdentifier2 != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derObjectIdentifier2;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.encryptionParamSet != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
DerObjectIdentifier derObjectIdentifier3 = this.encryptionParamSet;
|
||||
if (derObjectIdentifier3 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derObjectIdentifier3;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007FF7 RID: 32759
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007FF7")]
|
||||
private DerObjectIdentifier publicKeyParamSet;
|
||||
|
||||
// Token: 0x04007FF8 RID: 32760
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007FF8")]
|
||||
private DerObjectIdentifier digestParamSet;
|
||||
|
||||
// Token: 0x04007FF9 RID: 32761
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007FF9")]
|
||||
private DerObjectIdentifier encryptionParamSet;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user