using System; using System.Collections; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.GM; 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.Rosstandart; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.TeleTrust; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tsp { // Token: 0x02001965 RID: 6501 [Token(Token = "0x2001965")] public abstract class TspAlgorithms { // Token: 0x06009A84 RID: 39556 RVA: 0x001FFAB4 File Offset: 0x001FDCB4 [Token(Token = "0x6009A84")] [Address(RVA = "0x1B2D2D0", Offset = "0x1B2C0D0", VA = "0x181B2D2D0")] static TspAlgorithms() { string[] array = new string[13]; string gost = TspAlgorithms.Gost3411; if (gost != 0) { } array[0] = gost; string gost3411_2012_ = TspAlgorithms.Gost3411_2012_256; if (gost3411_2012_ != 0) { } array[1] = gost3411_2012_; string gost3411_2012_2 = TspAlgorithms.Gost3411_2012_512; if (gost3411_2012_2 != 0) { } array[2] = gost3411_2012_2; string md = TspAlgorithms.MD5; if (md != 0) { } array[3] = md; string ripeMD = TspAlgorithms.RipeMD128; if (ripeMD != 0) { } array[4] = ripeMD; string ripeMD2 = TspAlgorithms.RipeMD160; if (ripeMD2 != 0) { } array[5] = ripeMD2; string ripeMD3 = TspAlgorithms.RipeMD256; if (ripeMD3 != 0) { } array[6] = ripeMD3; string sha = TspAlgorithms.Sha1; if (sha != 0) { } array[7] = sha; string sha2 = TspAlgorithms.Sha224; if (sha2 != 0) { } array[8] = sha2; string sha3 = TspAlgorithms.Sha256; if (sha3 != 0) { } array[9] = sha3; string sha4 = TspAlgorithms.Sha384; if (sha4 != 0) { } array[10] = sha4; string sha5 = TspAlgorithms.Sha512; if (sha5 != 0) { } array[11] = sha5; string sm = TspAlgorithms.SM3; if (sm != 0) { } array[12] = sm; IList list = Platform.CreateArrayList(); int num = 0; TspAlgorithms.Allowed = list; int length = array.Length; if (num < length) { IList allowed = TspAlgorithms.Allowed; string text = array[num]; num += num; num++; num++; text += text; num += 2; num += 19; } } // Token: 0x06009A85 RID: 39557 RVA: 0x001FFCFC File Offset: 0x001FDEFC [Token(Token = "0x6009A85")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] protected TspAlgorithms() { } // Token: 0x0400689C RID: 26780 [Token(Token = "0x400689C")] public static readonly string MD5 = PkcsObjectIdentifiers.MD5.identifier; // Token: 0x0400689D RID: 26781 [Token(Token = "0x400689D")] public static readonly string Sha1 = OiwObjectIdentifiers.IdSha1.identifier; // Token: 0x0400689E RID: 26782 [Token(Token = "0x400689E")] public static readonly string Sha224 = NistObjectIdentifiers.IdSha224.identifier; // Token: 0x0400689F RID: 26783 [Token(Token = "0x400689F")] public static readonly string Sha256 = NistObjectIdentifiers.IdSha256.identifier; // Token: 0x040068A0 RID: 26784 [Token(Token = "0x40068A0")] public static readonly string Sha384 = NistObjectIdentifiers.IdSha384.identifier; // Token: 0x040068A1 RID: 26785 [Token(Token = "0x40068A1")] public static readonly string Sha512 = NistObjectIdentifiers.IdSha512.identifier; // Token: 0x040068A2 RID: 26786 [Token(Token = "0x40068A2")] public static readonly string RipeMD128 = TeleTrusTObjectIdentifiers.RipeMD128.identifier; // Token: 0x040068A3 RID: 26787 [Token(Token = "0x40068A3")] public static readonly string RipeMD160 = TeleTrusTObjectIdentifiers.RipeMD160.identifier; // Token: 0x040068A4 RID: 26788 [Token(Token = "0x40068A4")] public static readonly string RipeMD256 = TeleTrusTObjectIdentifiers.RipeMD256.identifier; // Token: 0x040068A5 RID: 26789 [Token(Token = "0x40068A5")] public static readonly string Gost3411 = CryptoProObjectIdentifiers.GostR3411.identifier; // Token: 0x040068A6 RID: 26790 [Token(Token = "0x40068A6")] public static readonly string Gost3411_2012_256 = RosstandartObjectIdentifiers.id_tc26_gost_3411_12_256.identifier; // Token: 0x040068A7 RID: 26791 [Token(Token = "0x40068A7")] public static readonly string Gost3411_2012_512 = RosstandartObjectIdentifiers.id_tc26_gost_3411_12_512.identifier; // Token: 0x040068A8 RID: 26792 [Token(Token = "0x40068A8")] public static readonly string SM3 = GMObjectIdentifiers.sm3.identifier; // Token: 0x040068A9 RID: 26793 [Token(Token = "0x40068A9")] public static readonly IList Allowed; } }