using System; using System.Collections; using System.Runtime.InteropServices; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1; using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Security { // Token: 0x020013C8 RID: 5064 [Token(Token = "0x20013C8")] [StructLayout(3)] public sealed class DigestUtilities { // Token: 0x060080D8 RID: 32984 RVA: 0x001B4554 File Offset: 0x001B2754 [Token(Token = "0x60080D8")] [Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")] private DigestUtilities() { } // Token: 0x060080D9 RID: 32985 RVA: 0x001B4568 File Offset: 0x001B2768 [Token(Token = "0x60080D9")] [Address(RVA = "0x476F10", Offset = "0x475910", VA = "0x180476F10")] static DigestUtilities() { /* An exception occurred when decompiling this method (060080D9) 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 1663 */; } // Token: 0x060080DA RID: 32986 RVA: 0x001B4844 File Offset: 0x001B2A44 [Token(Token = "0x60080DA")] [Address(RVA = "0x476D60", Offset = "0x475760", VA = "0x180476D60")] public static DerObjectIdentifier GetObjectIdentifier(string mechanism) { /* An exception occurred when decompiling this method (060080DA) 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 1663 */; } // Token: 0x17001504 RID: 5380 // (get) Token: 0x060080DB RID: 32987 RVA: 0x001B488C File Offset: 0x001B2A8C [Token(Token = "0x17001504")] public static ICollection Algorithms { [Token(Token = "0x60080DB")] [Address(RVA = "0x478AF0", Offset = "0x4774F0", VA = "0x180478AF0")] get { IDictionary dictionary = DigestUtilities.oids; throw new NullReferenceException(); } } // Token: 0x060080DC RID: 32988 RVA: 0x001B48A4 File Offset: 0x001B2AA4 [Token(Token = "0x60080DC")] [Address(RVA = "0x4764B0", Offset = "0x474EB0", VA = "0x1804764B0")] public static IDigest GetDigest(DerObjectIdentifier id) { return DigestUtilities.GetDigest(id.identifier); } // Token: 0x060080DD RID: 32989 RVA: 0x001B48C4 File Offset: 0x001B2AC4 [Token(Token = "0x60080DD")] [Address(RVA = "0x476510", Offset = "0x474F10", VA = "0x180476510")] public static IDigest GetDigest(string algorithm) { /* An exception occurred when decompiling this method (060080DD) 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 1663 */; } // Token: 0x060080DE RID: 32990 RVA: 0x001B4A74 File Offset: 0x001B2C74 [Token(Token = "0x60080DE")] [Address(RVA = "0x476400", Offset = "0x474E00", VA = "0x180476400")] public static string GetAlgorithmName(DerObjectIdentifier oid) { IDictionary dictionary = DigestUtilities.algorithms; throw new NullReferenceException(); } // Token: 0x060080DF RID: 32991 RVA: 0x001B4A8C File Offset: 0x001B2C8C [Token(Token = "0x60080DF")] [Address(RVA = "0x476230", Offset = "0x474C30", VA = "0x180476230")] public static byte[] CalculateDigest(string algorithm, byte[] input) { IDigest digest = DigestUtilities.GetDigest(algorithm); int length = input.Length; return DigestUtilities.DoFinal(digest); } // Token: 0x060080E0 RID: 32992 RVA: 0x001B4AB4 File Offset: 0x001B2CB4 [Token(Token = "0x60080E0")] [Address(RVA = "0x476370", Offset = "0x474D70", VA = "0x180476370")] public static byte[] DoFinal(IDigest digest) { return new byte[0]; } // Token: 0x060080E1 RID: 32993 RVA: 0x001B4AD0 File Offset: 0x001B2CD0 [Token(Token = "0x60080E1")] [Address(RVA = "0x4762D0", Offset = "0x474CD0", VA = "0x1804762D0")] public static byte[] DoFinal(IDigest digest, byte[] input) { int length = input.Length; return DigestUtilities.DoFinal(digest); } // Token: 0x04005B6C RID: 23404 [Token(Token = "0x4005B6C")] private static readonly IDictionary algorithms; // Token: 0x04005B6D RID: 23405 [Token(Token = "0x4005B6D")] private static readonly IDictionary oids; // Token: 0x020013C9 RID: 5065 [Token(Token = "0x20013C9")] private enum DigestAlgorithm { // Token: 0x04005B6F RID: 23407 [Token(Token = "0x4005B6F")] BLAKE2B_160, // Token: 0x04005B70 RID: 23408 [Token(Token = "0x4005B70")] BLAKE2B_256, // Token: 0x04005B71 RID: 23409 [Token(Token = "0x4005B71")] BLAKE2B_384, // Token: 0x04005B72 RID: 23410 [Token(Token = "0x4005B72")] BLAKE2B_512, // Token: 0x04005B73 RID: 23411 [Token(Token = "0x4005B73")] BLAKE2S_128, // Token: 0x04005B74 RID: 23412 [Token(Token = "0x4005B74")] BLAKE2S_160, // Token: 0x04005B75 RID: 23413 [Token(Token = "0x4005B75")] BLAKE2S_224, // Token: 0x04005B76 RID: 23414 [Token(Token = "0x4005B76")] BLAKE2S_256, // Token: 0x04005B77 RID: 23415 [Token(Token = "0x4005B77")] DSTU7564_256, // Token: 0x04005B78 RID: 23416 [Token(Token = "0x4005B78")] DSTU7564_384, // Token: 0x04005B79 RID: 23417 [Token(Token = "0x4005B79")] DSTU7564_512, // Token: 0x04005B7A RID: 23418 [Token(Token = "0x4005B7A")] GOST3411, // Token: 0x04005B7B RID: 23419 [Token(Token = "0x4005B7B")] GOST3411_2012_256, // Token: 0x04005B7C RID: 23420 [Token(Token = "0x4005B7C")] GOST3411_2012_512, // Token: 0x04005B7D RID: 23421 [Token(Token = "0x4005B7D")] KECCAK_224, // Token: 0x04005B7E RID: 23422 [Token(Token = "0x4005B7E")] KECCAK_256, // Token: 0x04005B7F RID: 23423 [Token(Token = "0x4005B7F")] KECCAK_288, // Token: 0x04005B80 RID: 23424 [Token(Token = "0x4005B80")] KECCAK_384, // Token: 0x04005B81 RID: 23425 [Token(Token = "0x4005B81")] KECCAK_512, // Token: 0x04005B82 RID: 23426 [Token(Token = "0x4005B82")] MD2, // Token: 0x04005B83 RID: 23427 [Token(Token = "0x4005B83")] MD4, // Token: 0x04005B84 RID: 23428 [Token(Token = "0x4005B84")] MD5, // Token: 0x04005B85 RID: 23429 [Token(Token = "0x4005B85")] NONE, // Token: 0x04005B86 RID: 23430 [Token(Token = "0x4005B86")] RIPEMD128, // Token: 0x04005B87 RID: 23431 [Token(Token = "0x4005B87")] RIPEMD160, // Token: 0x04005B88 RID: 23432 [Token(Token = "0x4005B88")] RIPEMD256, // Token: 0x04005B89 RID: 23433 [Token(Token = "0x4005B89")] RIPEMD320, // Token: 0x04005B8A RID: 23434 [Token(Token = "0x4005B8A")] SHA_1, // Token: 0x04005B8B RID: 23435 [Token(Token = "0x4005B8B")] SHA_224, // Token: 0x04005B8C RID: 23436 [Token(Token = "0x4005B8C")] SHA_256, // Token: 0x04005B8D RID: 23437 [Token(Token = "0x4005B8D")] SHA_384, // Token: 0x04005B8E RID: 23438 [Token(Token = "0x4005B8E")] SHA_512, // Token: 0x04005B8F RID: 23439 [Token(Token = "0x4005B8F")] SHA_512_224, // Token: 0x04005B90 RID: 23440 [Token(Token = "0x4005B90")] SHA_512_256, // Token: 0x04005B91 RID: 23441 [Token(Token = "0x4005B91")] SHA3_224, // Token: 0x04005B92 RID: 23442 [Token(Token = "0x4005B92")] SHA3_256, // Token: 0x04005B93 RID: 23443 [Token(Token = "0x4005B93")] SHA3_384, // Token: 0x04005B94 RID: 23444 [Token(Token = "0x4005B94")] SHA3_512, // Token: 0x04005B95 RID: 23445 [Token(Token = "0x4005B95")] SHAKE128, // Token: 0x04005B96 RID: 23446 [Token(Token = "0x4005B96")] SHAKE256, // Token: 0x04005B97 RID: 23447 [Token(Token = "0x4005B97")] SM3, // Token: 0x04005B98 RID: 23448 [Token(Token = "0x4005B98")] TIGER, // Token: 0x04005B99 RID: 23449 [Token(Token = "0x4005B99")] WHIRLPOOL } } }