using System; using System.Collections; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Nist; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Oiw; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.TeleTrust; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Operators { // Token: 0x02001D0A RID: 7434 [Token(Token = "0x2001D0A")] internal class X509Utilities { // Token: 0x0600B7CB RID: 47051 RVA: 0x0027B964 File Offset: 0x00279B64 [Token(Token = "0x600B7CB")] [Address(RVA = "0x22E6260", Offset = "0x22E5260", VA = "0x1822E6260")] static X509Utilities() { /* An exception occurred when decompiling this method (0600B7CB) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Operators.X509Utilities::.cctor() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stsfld:Asn1Null(X509Utilities::derNull, ldsfld:DerNull[exp:Asn1Null](DerNull::Instance)) stloc:IDictionary(var_1_11, call:IDictionary(Platform::CreateHashtable)) stsfld:IDictionary(X509Utilities::algorithms, ldloc:IDictionary(var_1_11)) stsfld:IDictionary(X509Utilities::exParams, call:IDictionary(Platform::CreateHashtable)) stsfld:ISet(X509Utilities::noParams, newobj:HashSet[exp:ISet](HashSet::.ctor)) stloc:IDictionary(var_3_33, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_4_39, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD2WithRsaEncryption)) stloc:IDictionary(var_5_40, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_6_47, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD2WithRsaEncryption)) stloc:IDictionary(var_7_4E, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_8_55, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD5WithRsaEncryption)) stloc:IDictionary(var_9_5C, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_10_63, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD5WithRsaEncryption)) stloc:IDictionary(var_11_6A, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_12_71, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha1WithRsaEncryption)) stloc:IDictionary(var_13_78, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_14_7F, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha1WithRsaEncryption)) stloc:IDictionary(var_15_86, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_16_8D, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha224WithRsaEncryption)) stloc:IDictionary(var_17_94, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_18_9B, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha224WithRsaEncryption)) stloc:IDictionary(var_19_A2, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_20_A9, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha256WithRsaEncryption)) stloc:IDictionary(var_21_B0, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_22_B7, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha256WithRsaEncryption)) stloc:IDictionary(var_23_BE, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_24_C5, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha384WithRsaEncryption)) stloc:IDictionary(var_25_CC, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_26_D3, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha384WithRsaEncryption)) stloc:IDictionary(var_27_DA, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_28_E1, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha512WithRsaEncryption)) stloc:IDictionary(var_29_E8, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_30_EF, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha512WithRsaEncryption)) stloc:IDictionary(var_31_F6, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_32_FD, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdRsassaPss)) stloc:IDictionary(var_33_104, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_34_10B, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdRsassaPss)) stloc:IDictionary(var_35_112, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_36_119, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdRsassaPss)) stloc:IDictionary(var_37_120, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_38_127, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdRsassaPss)) stloc:IDictionary(var_39_12E, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_40_135, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdRsassaPss)) stloc:IDictionary(var_41_13C, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_42_143, ldsfld:DerObjectIdentifier(TeleTrusTObjectIdentifiers::RsaSignatureWithRipeMD160)) stloc:IDictionary(var_43_14A, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_44_151, ldsfld:DerObjectIdentifier(TeleTrusTObjectIdentifiers::RsaSignatureWithRipeMD160)) stloc:IDictionary(var_45_158, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_46_15F, ldsfld:DerObjectIdentifier(TeleTrusTObjectIdentifiers::RsaSignatureWithRipeMD128)) stloc:IDictionary(var_47_166, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_48_16D, ldsfld:DerObjectIdentifier(TeleTrusTObjectIdentifiers::RsaSignatureWithRipeMD128)) stloc:IDictionary(var_49_174, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_50_17B, ldsfld:DerObjectIdentifier(TeleTrusTObjectIdentifiers::RsaSignatureWithRipeMD256)) stloc:IDictionary(var_51_182, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_52_189, ldsfld:DerObjectIdentifier(TeleTrusTObjectIdentifiers::RsaSignatureWithRipeMD256)) stloc:IDictionary(var_53_190, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_54_197, ldsfld:DerObjectIdentifier(X9ObjectIdentifiers::IdDsaWithSha1)) stloc:IDictionary(var_55_19E, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_56_1A5, ldsfld:DerObjectIdentifier(X9ObjectIdentifiers::IdDsaWithSha1)) stloc:IDictionary(var_57_1AC, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_58_1B3, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::DsaWithSha224)) stloc:IDictionary(var_59_1BA, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_60_1C1, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::DsaWithSha256)) stloc:IDictionary(var_61_1C8, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_62_1CF, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::DsaWithSha384)) stloc:IDictionary(var_63_1D6, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_64_1DD, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::DsaWithSha512)) stloc:IDictionary(var_65_1E4, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_66_1EB, ldsfld:DerObjectIdentifier(X9ObjectIdentifiers::ECDsaWithSha1)) stloc:IDictionary(var_67_1F2, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_68_1F9, ldsfld:DerObjectIdentifier(X9ObjectIdentifiers::ECDsaWithSha1)) stloc:IDictionary(var_69_200, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_70_207, ldsfld:DerObjectIdentifier(X9ObjectIdentifiers::ECDsaWithSha224)) stloc:IDictionary(var_71_20E, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_72_215, ldsfld:DerObjectIdentifier(X9ObjectIdentifiers::ECDsaWithSha256)) stloc:IDictionary(var_73_21C, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_74_223, ldsfld:DerObjectIdentifier(X9ObjectIdentifiers::ECDsaWithSha384)) stloc:IDictionary(var_75_22A, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_76_231, ldsfld:DerObjectIdentifier(X9ObjectIdentifiers::ECDsaWithSha512)) stloc:IDictionary(var_77_238, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_78_23F, ldsfld:DerObjectIdentifier(CryptoProObjectIdentifiers::GostR3411x94WithGostR3410x94)) stloc:IDictionary(var_79_246, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_80_24D, ldsfld:DerObjectIdentifier(CryptoProObjectIdentifiers::GostR3411x94WithGostR3410x94)) stloc:IDictionary(var_81_254, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_82_25B, ldsfld:DerObjectIdentifier(CryptoProObjectIdentifiers::GostR3411x94WithGostR3410x2001)) stloc:IDictionary(var_83_262, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_84_269, ldsfld:DerObjectIdentifier(CryptoProObjectIdentifiers::GostR3411x94WithGostR3410x2001)) stloc:IDictionary(var_85_270, ldsfld:IDictionary(X509Utilities::algorithms)) stloc:DerObjectIdentifier(var_86_277, ldsfld:DerObjectIdentifier(CryptoProObjectIdentifiers::GostR3411x94WithGostR3410x2001)) stloc:ISet(var_87_27E, ldsfld:ISet(X509Utilities::noParams)) stloc:ISet(var_88_285, ldsfld:ISet(X509Utilities::noParams)) stloc:ISet(var_89_28C, ldsfld:ISet(X509Utilities::noParams)) stloc:ISet(var_90_293, ldsfld:ISet(X509Utilities::noParams)) stloc:ISet(var_91_29A, ldsfld:ISet(X509Utilities::noParams)) stloc:ISet(var_92_2A1, ldsfld:ISet(X509Utilities::noParams)) stloc:ISet(var_93_2A8, ldsfld:ISet(X509Utilities::noParams)) stloc:ISet(var_94_2AF, ldsfld:ISet(X509Utilities::noParams)) stloc:ISet(var_95_2B6, ldsfld:ISet(X509Utilities::noParams)) stloc:ISet(var_96_2BD, ldsfld:ISet(X509Utilities::noParams)) stloc:ISet(var_97_2C4, ldsfld:ISet(X509Utilities::noParams)) stloc:ISet(var_98_2CB, ldsfld:ISet(X509Utilities::noParams)) stloc:DerObjectIdentifier(var_99_2D2, ldsfld:DerObjectIdentifier(OiwObjectIdentifiers::IdSha1)) stloc:DerNull(var_100_2D9, ldsfld:DerNull(DerNull::Instance)) stloc:AlgorithmIdentifier(var_101_2E4, newobj:AlgorithmIdentifier(AlgorithmIdentifier::.ctor, ldloc:DerObjectIdentifier(var_99_2D2), ldloc:DerNull[exp:Asn1Encodable](var_100_2D9))) stloc:IDictionary(var_102_2EB, ldsfld:IDictionary(X509Utilities::exParams)) stloc:RsassaPssParameters(var_103_2F6, call:RsassaPssParameters(X509Utilities::CreatePssParams, ldloc:AlgorithmIdentifier(var_101_2E4), ldc.i4:int32(20))) stloc:DerObjectIdentifier(var_104_2FD, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha224)) stloc:DerNull(var_105_304, ldsfld:DerNull(DerNull::Instance)) stloc:AlgorithmIdentifier(var_106_30F, newobj:AlgorithmIdentifier(AlgorithmIdentifier::.ctor, ldloc:DerObjectIdentifier(var_104_2FD), ldloc:DerNull[exp:Asn1Encodable](var_105_304))) stloc:IDictionary(var_107_316, ldsfld:IDictionary(X509Utilities::exParams)) stloc:RsassaPssParameters(var_108_321, call:RsassaPssParameters(X509Utilities::CreatePssParams, ldloc:AlgorithmIdentifier(var_106_30F), ldc.i4:int32(28))) stloc:DerObjectIdentifier(var_109_328, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha256)) stloc:DerNull(var_110_32F, ldsfld:DerNull(DerNull::Instance)) stloc:AlgorithmIdentifier(var_111_33A, newobj:AlgorithmIdentifier(AlgorithmIdentifier::.ctor, ldloc:DerObjectIdentifier(var_109_328), ldloc:DerNull[exp:Asn1Encodable](var_110_32F))) stloc:IDictionary(var_112_341, ldsfld:IDictionary(X509Utilities::exParams)) stloc:RsassaPssParameters(var_113_34C, call:RsassaPssParameters(X509Utilities::CreatePssParams, ldloc:AlgorithmIdentifier(var_111_33A), ldc.i4:int32(32))) stloc:DerObjectIdentifier(var_114_353, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha384)) stloc:DerNull(var_115_35A, ldsfld:DerNull(DerNull::Instance)) stloc:AlgorithmIdentifier(var_116_365, newobj:AlgorithmIdentifier(AlgorithmIdentifier::.ctor, ldloc:DerObjectIdentifier(var_114_353), ldloc:DerNull[exp:Asn1Encodable](var_115_35A))) stloc:IDictionary(var_117_36C, ldsfld:IDictionary(X509Utilities::exParams)) stloc:RsassaPssParameters(var_118_377, call:RsassaPssParameters(X509Utilities::CreatePssParams, ldloc:AlgorithmIdentifier(var_116_365), ldc.i4:int32(48))) stloc:DerObjectIdentifier(var_119_37E, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha512)) stloc:DerNull(var_120_385, ldsfld:DerNull(DerNull::Instance)) stloc:AlgorithmIdentifier(var_121_390, newobj:AlgorithmIdentifier(AlgorithmIdentifier::.ctor, ldloc:DerObjectIdentifier(var_119_37E), ldloc:DerNull[exp:Asn1Encodable](var_120_385))) stloc:IDictionary(var_122_397, ldsfld:IDictionary(X509Utilities::exParams)) stloc:RsassaPssParameters(var_123_3A2, call:RsassaPssParameters(X509Utilities::CreatePssParams, ldloc:AlgorithmIdentifier(var_121_390), ldc.i4:int32(64))) } 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 1663 */; } // Token: 0x0600B7CC RID: 47052 RVA: 0x0027BD14 File Offset: 0x00279F14 [Token(Token = "0x600B7CC")] [Address(RVA = "0x22E5910", Offset = "0x22E4910", VA = "0x1822E5910")] private static string GetDigestAlgName(DerObjectIdentifier digestAlgOID) { DerObjectIdentifier md = PkcsObjectIdentifiers.MD5; DerObjectIdentifier idSha = OiwObjectIdentifiers.IdSha1; DerObjectIdentifier idSha2 = NistObjectIdentifiers.IdSha224; DerObjectIdentifier idSha3 = NistObjectIdentifiers.IdSha256; DerObjectIdentifier idSha4 = NistObjectIdentifiers.IdSha384; DerObjectIdentifier idSha5 = NistObjectIdentifiers.IdSha512; DerObjectIdentifier ripeMD = TeleTrusTObjectIdentifiers.RipeMD128; DerObjectIdentifier ripeMD2 = TeleTrusTObjectIdentifiers.RipeMD160; DerObjectIdentifier ripeMD3 = TeleTrusTObjectIdentifiers.RipeMD256; DerObjectIdentifier gostR = CryptoProObjectIdentifiers.GostR3411; return digestAlgOID.identifier; } // Token: 0x0600B7CD RID: 47053 RVA: 0x0027BDAC File Offset: 0x00279FAC [Token(Token = "0x600B7CD")] [Address(RVA = "0x22E5FA0", Offset = "0x22E4FA0", VA = "0x1822E5FA0")] internal static string GetSignatureName(AlgorithmIdentifier sigAlgId) { DerObjectIdentifier objectID = sigAlgId.ObjectID; if (objectID != 0) { Asn1Null asn1Null = X509Utilities.derNull; Asn1Object asn1Object = sigAlgId.ToAsn1Object(); Asn1Object asn1Object2 = sigAlgId.ToAsn1Object(); Asn1SequenceParser parser = Asn1Sequence.GetInstance(objectID).Parser; string text; return text + "withECDSA"; } Asn1Object asn1Object3 = sigAlgId.ToAsn1Object(); throw new NullReferenceException(); } // Token: 0x0600B7CE RID: 47054 RVA: 0x0027BE14 File Offset: 0x0027A014 [Token(Token = "0x600B7CE")] [Address(RVA = "0x22E55C0", Offset = "0x22E45C0", VA = "0x1822E55C0")] private static RsassaPssParameters CreatePssParams(AlgorithmIdentifier hashAlgId, int saltSize) { AlgorithmIdentifier algorithmIdentifier = new AlgorithmIdentifier(PkcsObjectIdentifiers.IdMgf1, hashAlgId); DerInteger derInteger = new DerInteger(saltSize); DerInteger derInteger2 = new DerInteger(1); return new RsassaPssParameters(hashAlgId, algorithmIdentifier, derInteger, derInteger2); } // Token: 0x0600B7CF RID: 47055 RVA: 0x0027BE44 File Offset: 0x0027A044 [Token(Token = "0x600B7CF")] [Address(RVA = "0x22E5790", Offset = "0x22E4790", VA = "0x1822E5790")] internal static DerObjectIdentifier GetAlgorithmOid(string algorithmName) { string text = Platform.ToUpperInvariant(algorithmName); IDictionary dictionary = X509Utilities.algorithms; if (text == 0) { return new DerObjectIdentifier(text); } IDictionary dictionary2 = X509Utilities.algorithms; Asn1Null asn1Null = X509Utilities.derNull; throw new NullReferenceException(); } // Token: 0x0600B7D0 RID: 47056 RVA: 0x0027BE80 File Offset: 0x0027A080 [Token(Token = "0x600B7D0")] [Address(RVA = "0x22E5D30", Offset = "0x22E4D30", VA = "0x1822E5D30")] internal static AlgorithmIdentifier GetSigAlgID(DerObjectIdentifier sigOid, string algorithmName) { ISet set = X509Utilities.noParams; string text = Platform.ToUpperInvariant(algorithmName); IDictionary dictionary = X509Utilities.exParams; if (text == 0) { DerNull instance = DerNull.Instance; return new AlgorithmIdentifier(sigOid, instance); } IDictionary dictionary2 = X509Utilities.exParams; AlgorithmIdentifier algorithmIdentifier = new AlgorithmIdentifier(sigOid); Asn1Null asn1Null = X509Utilities.derNull; return new AlgorithmIdentifier(sigOid); } // Token: 0x0600B7D1 RID: 47057 RVA: 0x0027BED8 File Offset: 0x0027A0D8 [Token(Token = "0x600B7D1")] [Address(RVA = "0x22E56E0", Offset = "0x22E46E0", VA = "0x1822E56E0")] internal static IEnumerable GetAlgNames() { IDictionary dictionary = X509Utilities.algorithms; throw new NullReferenceException(); } // Token: 0x0600B7D2 RID: 47058 RVA: 0x0027BEF0 File Offset: 0x0027A0F0 [Token(Token = "0x600B7D2")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] public X509Utilities() { } // Token: 0x040073F8 RID: 29688 [Token(Token = "0x40073F8")] private static readonly Asn1Null derNull; // Token: 0x040073F9 RID: 29689 [Token(Token = "0x40073F9")] private static readonly IDictionary algorithms; // Token: 0x040073FA RID: 29690 [Token(Token = "0x40073FA")] private static readonly IDictionary exParams; // Token: 0x040073FB RID: 29691 [Token(Token = "0x40073FB")] private static readonly ISet noParams; } }