scripts
This commit is contained in:
@@ -0,0 +1,172 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
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: 0x02001388 RID: 5000
|
||||
[Token(Token = "0x2001388")]
|
||||
[StructLayout(3)]
|
||||
public abstract class TspAlgorithms
|
||||
{
|
||||
// Token: 0x06007EAA RID: 32426 RVA: 0x001A8484 File Offset: 0x001A6684
|
||||
[Token(Token = "0x6007EAA")]
|
||||
[Address(RVA = "0x1C6D0A0", Offset = "0x1C6BAA0", VA = "0x181C6D0A0")]
|
||||
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: 0x06007EAB RID: 32427 RVA: 0x001A86CC File Offset: 0x001A68CC
|
||||
[Token(Token = "0x6007EAB")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected TspAlgorithms()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04005A59 RID: 23129
|
||||
[Token(Token = "0x4005A59")]
|
||||
public static readonly string MD5 = PkcsObjectIdentifiers.MD5.identifier;
|
||||
|
||||
// Token: 0x04005A5A RID: 23130
|
||||
[Token(Token = "0x4005A5A")]
|
||||
public static readonly string Sha1 = OiwObjectIdentifiers.IdSha1.identifier;
|
||||
|
||||
// Token: 0x04005A5B RID: 23131
|
||||
[Token(Token = "0x4005A5B")]
|
||||
public static readonly string Sha224 = NistObjectIdentifiers.IdSha224.identifier;
|
||||
|
||||
// Token: 0x04005A5C RID: 23132
|
||||
[Token(Token = "0x4005A5C")]
|
||||
public static readonly string Sha256 = NistObjectIdentifiers.IdSha256.identifier;
|
||||
|
||||
// Token: 0x04005A5D RID: 23133
|
||||
[Token(Token = "0x4005A5D")]
|
||||
public static readonly string Sha384 = NistObjectIdentifiers.IdSha384.identifier;
|
||||
|
||||
// Token: 0x04005A5E RID: 23134
|
||||
[Token(Token = "0x4005A5E")]
|
||||
public static readonly string Sha512 = NistObjectIdentifiers.IdSha512.identifier;
|
||||
|
||||
// Token: 0x04005A5F RID: 23135
|
||||
[Token(Token = "0x4005A5F")]
|
||||
public static readonly string RipeMD128 = TeleTrusTObjectIdentifiers.RipeMD128.identifier;
|
||||
|
||||
// Token: 0x04005A60 RID: 23136
|
||||
[Token(Token = "0x4005A60")]
|
||||
public static readonly string RipeMD160 = TeleTrusTObjectIdentifiers.RipeMD160.identifier;
|
||||
|
||||
// Token: 0x04005A61 RID: 23137
|
||||
[Token(Token = "0x4005A61")]
|
||||
public static readonly string RipeMD256 = TeleTrusTObjectIdentifiers.RipeMD256.identifier;
|
||||
|
||||
// Token: 0x04005A62 RID: 23138
|
||||
[Token(Token = "0x4005A62")]
|
||||
public static readonly string Gost3411 = CryptoProObjectIdentifiers.GostR3411.identifier;
|
||||
|
||||
// Token: 0x04005A63 RID: 23139
|
||||
[Token(Token = "0x4005A63")]
|
||||
public static readonly string Gost3411_2012_256 = RosstandartObjectIdentifiers.id_tc26_gost_3411_12_256.identifier;
|
||||
|
||||
// Token: 0x04005A64 RID: 23140
|
||||
[Token(Token = "0x4005A64")]
|
||||
public static readonly string Gost3411_2012_512 = RosstandartObjectIdentifiers.id_tc26_gost_3411_12_512.identifier;
|
||||
|
||||
// Token: 0x04005A65 RID: 23141
|
||||
[Token(Token = "0x4005A65")]
|
||||
public static readonly string SM3 = GMObjectIdentifiers.sm3.identifier;
|
||||
|
||||
// Token: 0x04005A66 RID: 23142
|
||||
[Token(Token = "0x4005A66")]
|
||||
public static readonly IList Allowed;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user