using System; using System.Collections; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1; using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Security { // Token: 0x020019A5 RID: 6565 [Token(Token = "0x20019A5")] public sealed class DigestUtilities { // Token: 0x06009CB2 RID: 40114 RVA: 0x0020B75C File Offset: 0x0020995C [Token(Token = "0x6009CB2")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] private DigestUtilities() { } // Token: 0x06009CB3 RID: 40115 RVA: 0x0020B770 File Offset: 0x00209970 [Token(Token = "0x6009CB3")] [Address(RVA = "0x19AA5C0", Offset = "0x19A93C0", VA = "0x1819AA5C0")] static DigestUtilities() { /* An exception occurred when decompiling this method (06009CB3) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Security.DigestUtilities::.cctor() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:IDictionary(var_2_07, call:IDictionary(Platform::CreateHashtable)) stsfld:IDictionary(DigestUtilities::algorithms, ldloc:IDictionary(var_2_07)) stsfld:IDictionary(DigestUtilities::oids, call:IDictionary(Platform::CreateHashtable)) stloc:Enum(var_4_29, call:Enum(Enums::GetArbitraryValue, call:Type(Type::GetTypeFromHandle, ldtoken:RuntimeTypeHandle(BestHTTP.SecureProtocol.Org.BouncyCastle.Security.DigestUtilities/DigestAlgorithm)))) stloc:IDictionary(var_8_3C, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_9_43, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD2)) stloc:IDictionary(var_11_4A, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_12_51, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD4)) stloc:IDictionary(var_14_58, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_15_5F, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD5)) stloc:IDictionary(var_17_66, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_19_6D, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_20_74, ldsfld:DerObjectIdentifier(OiwObjectIdentifiers::IdSha1)) stloc:IDictionary(var_22_7B, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_24_82, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_25_89, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha224)) stloc:IDictionary(var_27_90, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_29_97, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_30_9E, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha256)) stloc:IDictionary(var_32_A5, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_34_AC, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_35_B3, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha384)) stloc:IDictionary(var_37_BA, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_39_C1, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_40_C8, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha512)) stloc:IDictionary(var_42_CF, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_44_D6, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_45_DD, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha512_224)) stloc:IDictionary(var_47_E4, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_49_EB, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_50_F2, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha512_256)) stloc:IDictionary(var_52_F9, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_54_100, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_55_107, ldsfld:DerObjectIdentifier(TeleTrusTObjectIdentifiers::RipeMD128)) stloc:IDictionary(var_57_10E, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_59_115, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_60_11C, ldsfld:DerObjectIdentifier(TeleTrusTObjectIdentifiers::RipeMD160)) stloc:IDictionary(var_62_123, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_64_12A, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_65_131, ldsfld:DerObjectIdentifier(TeleTrusTObjectIdentifiers::RipeMD256)) stloc:IDictionary(var_67_138, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_69_13F, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_70_146, ldsfld:DerObjectIdentifier(CryptoProObjectIdentifiers::GostR3411)) stloc:IDictionary(var_72_14D, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_74_154, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_76_15B, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_78_162, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_80_169, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:IDictionary(var_82_170, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_83_177, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha3_224)) stloc:IDictionary(var_85_17E, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_86_185, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha3_256)) stloc:IDictionary(var_88_18C, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_89_193, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha3_384)) stloc:IDictionary(var_91_19A, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_92_1A1, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha3_512)) stloc:IDictionary(var_94_1A8, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_95_1AF, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdShake128)) stloc:IDictionary(var_97_1B6, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_98_1BD, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdShake256)) stloc:IDictionary(var_100_1C4, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_101_1CB, ldsfld:DerObjectIdentifier(GMObjectIdentifiers::sm3)) stloc:IDictionary(var_103_1D2, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_104_1D9, ldsfld:DerObjectIdentifier(MiscObjectIdentifiers::id_blake2b160)) stloc:IDictionary(var_106_1E0, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_107_1E7, ldsfld:DerObjectIdentifier(MiscObjectIdentifiers::id_blake2b256)) stloc:IDictionary(var_109_1EE, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_110_1F5, ldsfld:DerObjectIdentifier(MiscObjectIdentifiers::id_blake2b384)) stloc:IDictionary(var_112_1FC, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_113_203, ldsfld:DerObjectIdentifier(MiscObjectIdentifiers::id_blake2b512)) stloc:IDictionary(var_115_20A, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_116_211, ldsfld:DerObjectIdentifier(MiscObjectIdentifiers::id_blake2s128)) stloc:IDictionary(var_118_218, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_119_21F, ldsfld:DerObjectIdentifier(MiscObjectIdentifiers::id_blake2s160)) stloc:IDictionary(var_121_226, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_122_22D, ldsfld:DerObjectIdentifier(MiscObjectIdentifiers::id_blake2s224)) stloc:IDictionary(var_124_234, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_125_23B, ldsfld:DerObjectIdentifier(MiscObjectIdentifiers::id_blake2s256)) stloc:IDictionary(var_127_242, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_128_249, ldsfld:DerObjectIdentifier(RosstandartObjectIdentifiers::id_tc26_gost_3411_12_256)) stloc:IDictionary(var_130_250, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_131_257, ldsfld:DerObjectIdentifier(RosstandartObjectIdentifiers::id_tc26_gost_3411_12_512)) stloc:IDictionary(var_133_25E, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_134_265, ldsfld:DerObjectIdentifier(UAObjectIdentifiers::dstu7564digest_256)) stloc:IDictionary(var_136_26C, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_137_273, ldsfld:DerObjectIdentifier(UAObjectIdentifiers::dstu7564digest_384)) stloc:IDictionary(var_139_27A, ldsfld:IDictionary(DigestUtilities::algorithms)) stloc:DerObjectIdentifier(var_140_281, ldsfld:DerObjectIdentifier(UAObjectIdentifiers::dstu7564digest_512)) stloc:IDictionary(var_142_288, ldsfld:IDictionary(DigestUtilities::oids)) stloc:DerObjectIdentifier(var_143_28F, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD2)) stloc:IDictionary(var_144_296, ldsfld:IDictionary(DigestUtilities::oids)) stloc:DerObjectIdentifier(var_145_29D, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD4)) stloc:IDictionary(var_146_2A4, ldsfld:IDictionary(DigestUtilities::oids)) stloc:DerObjectIdentifier(var_147_2AB, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD5)) stloc:IDictionary(var_148_2B2, ldsfld:IDictionary(DigestUtilities::oids)) stloc:DerObjectIdentifier(var_149_2B9, ldsfld:DerObjectIdentifier(OiwObjectIdentifiers::IdSha1)) stloc:IDictionary(var_150_2C0, ldsfld:IDictionary(DigestUtilities::oids)) stloc:DerObjectIdentifier(var_151_2C7, ldsfld:DerObjectIdentifier(NistObjectIdentifiers::IdSha224)) stloc:IDictionary(var_152_2CE, ldsfld:IDictionary(DigestUtilities::oids)) } 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: 0x06009CB4 RID: 40116 RVA: 0x0020BA4C File Offset: 0x00209C4C [Token(Token = "0x6009CB4")] [Address(RVA = "0x19AA410", Offset = "0x19A9210", VA = "0x1819AA410")] public static DerObjectIdentifier GetObjectIdentifier(string mechanism) { /* An exception occurred when decompiling this method (06009CB4) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.DerObjectIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Security.DigestUtilities::GetObjectIdentifier(System.String) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_2E: stloc:ArgumentNullException(var_7_38, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("mechanism"))) } 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: 0x17001905 RID: 6405 // (get) Token: 0x06009CB5 RID: 40117 RVA: 0x0020BA94 File Offset: 0x00209C94 [Token(Token = "0x17001905")] public static ICollection Algorithms { [Token(Token = "0x6009CB5")] [Address(RVA = "0x19AC1A0", Offset = "0x19AAFA0", VA = "0x1819AC1A0")] get { IDictionary dictionary = DigestUtilities.oids; throw new NullReferenceException(); } } // Token: 0x06009CB6 RID: 40118 RVA: 0x0020BAAC File Offset: 0x00209CAC [Token(Token = "0x6009CB6")] [Address(RVA = "0x19A9B60", Offset = "0x19A8960", VA = "0x1819A9B60")] public static IDigest GetDigest(DerObjectIdentifier id) { return DigestUtilities.GetDigest(id.identifier); } // Token: 0x06009CB7 RID: 40119 RVA: 0x0020BACC File Offset: 0x00209CCC [Token(Token = "0x6009CB7")] [Address(RVA = "0x19A9BC0", Offset = "0x19A89C0", VA = "0x1819A9BC0")] public static IDigest GetDigest(string algorithm) { /* An exception occurred when decompiling this method (06009CB7) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Security.DigestUtilities::GetDigest(System.String) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_18D: stloc:SecurityUtilityException(var_69_1A2, newobj:SecurityUtilityException(SecurityUtilityException::.ctor, call:string(string::Concat, ldstr:string("Digest "), ldloc:string(var_0_06), ldstr:string(" not recognised.")))) } 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: 0x06009CB8 RID: 40120 RVA: 0x0020BC7C File Offset: 0x00209E7C [Token(Token = "0x6009CB8")] [Address(RVA = "0x19A9AB0", Offset = "0x19A88B0", VA = "0x1819A9AB0")] public static string GetAlgorithmName(DerObjectIdentifier oid) { IDictionary dictionary = DigestUtilities.algorithms; throw new NullReferenceException(); } // Token: 0x06009CB9 RID: 40121 RVA: 0x0020BC94 File Offset: 0x00209E94 [Token(Token = "0x6009CB9")] [Address(RVA = "0x19A9880", Offset = "0x19A8680", VA = "0x1819A9880")] public static byte[] CalculateDigest(string algorithm, byte[] input) { IDigest digest = DigestUtilities.GetDigest(algorithm); int length = input.Length; return DigestUtilities.DoFinal(digest); } // Token: 0x06009CBA RID: 40122 RVA: 0x0020BCBC File Offset: 0x00209EBC [Token(Token = "0x6009CBA")] [Address(RVA = "0x19A99C0", Offset = "0x19A87C0", VA = "0x1819A99C0")] public static byte[] DoFinal(IDigest digest) { byte[] array = new byte[0]; int num = 0; num += num; num++; return array; } // Token: 0x06009CBB RID: 40123 RVA: 0x0020BCE8 File Offset: 0x00209EE8 [Token(Token = "0x6009CBB")] [Address(RVA = "0x19A9920", Offset = "0x19A8720", VA = "0x1819A9920")] public static byte[] DoFinal(IDigest digest, byte[] input) { int length = input.Length; return DigestUtilities.DoFinal(digest); } // Token: 0x040069AF RID: 27055 [Token(Token = "0x40069AF")] private static readonly IDictionary algorithms; // Token: 0x040069B0 RID: 27056 [Token(Token = "0x40069B0")] private static readonly IDictionary oids; // Token: 0x020019A6 RID: 6566 [Token(Token = "0x20019A6")] private enum DigestAlgorithm { // Token: 0x040069B2 RID: 27058 [Token(Token = "0x40069B2")] BLAKE2B_160, // Token: 0x040069B3 RID: 27059 [Token(Token = "0x40069B3")] BLAKE2B_256, // Token: 0x040069B4 RID: 27060 [Token(Token = "0x40069B4")] BLAKE2B_384, // Token: 0x040069B5 RID: 27061 [Token(Token = "0x40069B5")] BLAKE2B_512, // Token: 0x040069B6 RID: 27062 [Token(Token = "0x40069B6")] BLAKE2S_128, // Token: 0x040069B7 RID: 27063 [Token(Token = "0x40069B7")] BLAKE2S_160, // Token: 0x040069B8 RID: 27064 [Token(Token = "0x40069B8")] BLAKE2S_224, // Token: 0x040069B9 RID: 27065 [Token(Token = "0x40069B9")] BLAKE2S_256, // Token: 0x040069BA RID: 27066 [Token(Token = "0x40069BA")] DSTU7564_256, // Token: 0x040069BB RID: 27067 [Token(Token = "0x40069BB")] DSTU7564_384, // Token: 0x040069BC RID: 27068 [Token(Token = "0x40069BC")] DSTU7564_512, // Token: 0x040069BD RID: 27069 [Token(Token = "0x40069BD")] GOST3411, // Token: 0x040069BE RID: 27070 [Token(Token = "0x40069BE")] GOST3411_2012_256, // Token: 0x040069BF RID: 27071 [Token(Token = "0x40069BF")] GOST3411_2012_512, // Token: 0x040069C0 RID: 27072 [Token(Token = "0x40069C0")] KECCAK_224, // Token: 0x040069C1 RID: 27073 [Token(Token = "0x40069C1")] KECCAK_256, // Token: 0x040069C2 RID: 27074 [Token(Token = "0x40069C2")] KECCAK_288, // Token: 0x040069C3 RID: 27075 [Token(Token = "0x40069C3")] KECCAK_384, // Token: 0x040069C4 RID: 27076 [Token(Token = "0x40069C4")] KECCAK_512, // Token: 0x040069C5 RID: 27077 [Token(Token = "0x40069C5")] MD2, // Token: 0x040069C6 RID: 27078 [Token(Token = "0x40069C6")] MD4, // Token: 0x040069C7 RID: 27079 [Token(Token = "0x40069C7")] MD5, // Token: 0x040069C8 RID: 27080 [Token(Token = "0x40069C8")] NONE, // Token: 0x040069C9 RID: 27081 [Token(Token = "0x40069C9")] RIPEMD128, // Token: 0x040069CA RID: 27082 [Token(Token = "0x40069CA")] RIPEMD160, // Token: 0x040069CB RID: 27083 [Token(Token = "0x40069CB")] RIPEMD256, // Token: 0x040069CC RID: 27084 [Token(Token = "0x40069CC")] RIPEMD320, // Token: 0x040069CD RID: 27085 [Token(Token = "0x40069CD")] SHA_1, // Token: 0x040069CE RID: 27086 [Token(Token = "0x40069CE")] SHA_224, // Token: 0x040069CF RID: 27087 [Token(Token = "0x40069CF")] SHA_256, // Token: 0x040069D0 RID: 27088 [Token(Token = "0x40069D0")] SHA_384, // Token: 0x040069D1 RID: 27089 [Token(Token = "0x40069D1")] SHA_512, // Token: 0x040069D2 RID: 27090 [Token(Token = "0x40069D2")] SHA_512_224, // Token: 0x040069D3 RID: 27091 [Token(Token = "0x40069D3")] SHA_512_256, // Token: 0x040069D4 RID: 27092 [Token(Token = "0x40069D4")] SHA3_224, // Token: 0x040069D5 RID: 27093 [Token(Token = "0x40069D5")] SHA3_256, // Token: 0x040069D6 RID: 27094 [Token(Token = "0x40069D6")] SHA3_384, // Token: 0x040069D7 RID: 27095 [Token(Token = "0x40069D7")] SHA3_512, // Token: 0x040069D8 RID: 27096 [Token(Token = "0x40069D8")] SHAKE128, // Token: 0x040069D9 RID: 27097 [Token(Token = "0x40069D9")] SHAKE256, // Token: 0x040069DA RID: 27098 [Token(Token = "0x40069DA")] SM3, // Token: 0x040069DB RID: 27099 [Token(Token = "0x40069DB")] TIGER, // Token: 0x040069DC RID: 27100 [Token(Token = "0x40069DC")] WHIRLPOOL } } }