terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
X509Builder.cs
Go to the documentation of this file.
1using System;
6
7namespace Mono.Security.X509
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000012")]
10 public abstract class X509Builder
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x600009D")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1A8ABC8", Offset = "0x1A8ABC8", Length = "0x54")]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509CertificateBuilder), Member = ".ctor", MemberParameters = new object[] { typeof(byte) }, ReturnType = typeof(void))]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
18 protected X509Builder()
19 {
20 throw null;
21 }
22
23 [global::Cpp2ILInjected.Token(Token = "0x600009E")]
24 protected abstract ASN1 ToBeSigned(string hashName);
25
26 [global::Cpp2ILInjected.Token(Token = "0x600009F")]
27 [global::Cpp2ILInjected.Address(RVA = "0x1A8AC1C", Offset = "0x1A8AC1C", Length = "0x318")]
28 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Builder), Member = "Sign", MemberParameters = new object[] { typeof(RSA) }, ReturnType = typeof(byte[]))]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureInfo), Member = "get_InvariantCulture", ReturnType = typeof(CultureInfo))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "ToLower", MemberParameters = new object[] { typeof(CultureInfo) }, ReturnType = typeof(string))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(<PrivateImplementationDetails>), Member = "ComputeStringHash", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(uint))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
35 {
36 typeof(string),
37 typeof(string)
38 }, ReturnType = typeof(bool))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
40 {
41 typeof(string),
42 typeof(string)
43 }, ReturnType = typeof(string))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
46 protected string GetOid(string hashName)
47 {
48 throw null;
49 }
50
51 [global::Cpp2ILInjected.Token(Token = "0x17000023")]
52 public string Hash
53 {
54 [global::Cpp2ILInjected.Token(Token = "0x60000A0")]
55 [global::Cpp2ILInjected.Address(RVA = "0x1A8AF34", Offset = "0x1A8AF34", Length = "0x8")]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
57 get
58 {
59 throw null;
60 }
61 [global::Cpp2ILInjected.Token(Token = "0x60000A1")]
62 [global::Cpp2ILInjected.Address(RVA = "0x1A8AF3C", Offset = "0x1A8AF3C", Length = "0x5C")]
63 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
64 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
65 set
66 {
67 throw null;
68 }
69 }
70
71 [global::Cpp2ILInjected.Token(Token = "0x60000A2")]
72 [global::Cpp2ILInjected.Address(RVA = "0x1A8AF98", Offset = "0x1A8AF98", Length = "0x130")]
73 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
76 {
77 typeof(string),
78 typeof(string)
79 }, ReturnType = typeof(string))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
82 public virtual byte[] Sign(AsymmetricAlgorithm aa)
83 {
84 throw null;
85 }
86
87 [global::Cpp2ILInjected.Token(Token = "0x60000A3")]
88 [global::Cpp2ILInjected.Address(RVA = "0x1A8B0C8", Offset = "0x1A8B0C8", Length = "0x114")]
89 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Builder), Member = "Sign", MemberParameters = new object[] { typeof(RSA) }, ReturnType = typeof(byte[]))]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(X509Builder), Member = "Sign", MemberParameters = new object[] { typeof(DSA) }, ReturnType = typeof(byte[]))]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = "Add", MemberParameters = new object[] { typeof(ASN1) }, ReturnType = typeof(ASN1))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PKCS7), Member = "AlgorithmIdentifier", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(ASN1))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Buffer), Member = "BlockCopy", MemberParameters = new object[]
96 {
98 typeof(int),
100 typeof(int),
101 typeof(int)
102 }, ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
104 private byte[] Build(ASN1 tbs, string hashoid, byte[] signature)
105 {
106 throw null;
107 }
108
109 [global::Cpp2ILInjected.Token(Token = "0x60000A4")]
110 [global::Cpp2ILInjected.Address(RVA = "0x1A8B1DC", Offset = "0x1A8B1DC", Length = "0x100")]
111 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
112 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Builder), Member = "GetOid", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashAlgorithm), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(HashAlgorithm))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashAlgorithm), Member = "ComputeHash", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(byte[]))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RSAPKCS1SignatureFormatter), Member = ".ctor", MemberParameters = new object[] { typeof(AsymmetricAlgorithm) }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Builder), Member = "Build", MemberParameters = new object[]
118 {
119 typeof(ASN1),
120 typeof(string),
121 typeof(byte[])
122 }, ReturnType = typeof(byte[]))]
123 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
124 public virtual byte[] Sign(RSA key)
125 {
126 throw null;
127 }
128
129 [global::Cpp2ILInjected.Token(Token = "0x60000A5")]
130 [global::Cpp2ILInjected.Address(RVA = "0x1A8B2DC", Offset = "0x1A8B2DC", Length = "0x2AC")]
131 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
132 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashAlgorithm), Member = "Create", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(HashAlgorithm))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashAlgorithm), Member = "ComputeHash", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(byte[]))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DSASignatureFormatter), Member = ".ctor", MemberParameters = new object[] { typeof(AsymmetricAlgorithm) }, ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Buffer), Member = "BlockCopy", MemberParameters = new object[]
137 {
138 typeof(Array),
139 typeof(int),
140 typeof(Array),
141 typeof(int),
142 typeof(int)
143 }, ReturnType = typeof(void))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = "Add", MemberParameters = new object[] { typeof(ASN1) }, ReturnType = typeof(ASN1))]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(X509Builder), Member = "Build", MemberParameters = new object[]
147 {
148 typeof(ASN1),
149 typeof(string),
150 typeof(byte[])
151 }, ReturnType = typeof(byte[]))]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
153 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
154 public virtual byte[] Sign(DSA key)
155 {
156 throw null;
157 }
158
159 [global::Cpp2ILInjected.Token(Token = "0x400005A")]
160 private const string defaultHash = "SHA1";
161
162 [global::Cpp2ILInjected.Token(Token = "0x400005B")]
163 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
164 private string hashName;
165 }
166}
class f__AnonymousType0<< Count > j__TPar
ASN1 ToBeSigned(string hashName)
string GetOid(string hashName)
virtual byte[] Sign(RSA key)
byte[] Build(ASN1 tbs, string hashoid, byte[] signature)
virtual byte[] Sign(AsymmetricAlgorithm aa)
virtual byte[] Sign(DSA key)