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
ASN1.cs
Go to the documentation of this file.
1using System;
5using System.Text;
9
10namespace Mono.Security
11{
12 [global::System.Reflection.DefaultMember("Item")]
13 [global::Cpp2ILInjected.Token(Token = "0x2000040")]
14 internal class ASN1
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6000107")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1AB5C34", Offset = "0x1AB5C34", Length = "0x2C")]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.PKCS1), Member = "Encode_v15", MemberParameters = new object[]
19 {
20 typeof(global::System.Security.Cryptography.HashAlgorithm),
21 typeof(byte[]),
22 typeof(int)
23 }, ReturnType = typeof(byte[]))]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
26 public ASN1(byte tag)
27 {
28 throw null;
29 }
30
31 [global::Cpp2ILInjected.Token(Token = "0x6000108")]
32 [global::Cpp2ILInjected.Address(RVA = "0x1AB5C60", Offset = "0x1AB5C60", Length = "0x30")]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.PKCS1), Member = "Encode_v15", MemberParameters = new object[]
34 {
35 typeof(global::System.Security.Cryptography.HashAlgorithm),
36 typeof(byte[]),
37 typeof(int)
38 }, ReturnType = typeof(byte[]))]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
41 public ASN1(byte tag, byte[] data)
42 {
43 throw null;
44 }
45
46 [global::Cpp2ILInjected.Token(Token = "0x6000109")]
47 [global::Cpp2ILInjected.Address(RVA = "0x1AB5C90", Offset = "0x1AB5C90", Length = "0x148")]
48 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.PKCS1), Member = "Encode_v15", MemberParameters = new object[]
50 {
51 typeof(global::System.Security.Cryptography.HashAlgorithm),
52 typeof(byte[]),
53 typeof(int)
54 }, ReturnType = typeof(byte[]))]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "BlockCopy", MemberParameters = new object[]
58 {
59 typeof(global::System.Array),
60 typeof(int),
61 typeof(global::System.Array),
62 typeof(int),
63 typeof(int)
64 }, ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = "Decode", MemberParameters = new object[]
66 {
67 typeof(byte[]),
68 typeof(ref int),
69 typeof(int)
70 }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
73 public ASN1(byte[] data)
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x17000017")]
79 public int Count
80 {
81 [global::Cpp2ILInjected.Token(Token = "0x600010A")]
82 [global::Cpp2ILInjected.Address(RVA = "0x1AB5EF4", Offset = "0x1AB5EF4", Length = "0x1C")]
83 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
84 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
85 get
86 {
87 throw null;
88 }
89 }
90
91 [global::Cpp2ILInjected.Token(Token = "0x17000018")]
92 public byte[] Value
93 {
94 [global::Cpp2ILInjected.Token(Token = "0x600010B")]
95 [global::Cpp2ILInjected.Address(RVA = "0x1AB5F10", Offset = "0x1AB5F10", Length = "0x88")]
96 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
97 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ASN1), Member = "ToString", ReturnType = typeof(string))]
98 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Clone", ReturnType = typeof(object))]
100 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
101 get
102 {
103 throw null;
104 }
105 }
106
107 [global::Cpp2ILInjected.Token(Token = "0x600010C")]
108 [global::Cpp2ILInjected.Address(RVA = "0x1AB5F98", Offset = "0x1AB5F98", Length = "0x84")]
109 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ASN1), Member = "Decode", MemberParameters = new object[]
111 {
112 typeof(byte[]),
113 typeof(ref int),
114 typeof(int)
115 }, ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.PKCS1), Member = "Encode_v15", MemberParameters = new object[]
117 {
118 typeof(global::System.Security.Cryptography.HashAlgorithm),
119 typeof(byte[]),
120 typeof(int)
121 }, ReturnType = typeof(byte[]))]
122 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.ArrayList), Member = ".ctor", ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
126 {
127 throw null;
128 }
129
130 [global::Cpp2ILInjected.Token(Token = "0x600010D")]
131 [global::Cpp2ILInjected.Address(RVA = "0x1AB601C", Offset = "0x1AB601C", Length = "0x5C8")]
132 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
133 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.ArrayList), Member = ".ctor", ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "BlockCopy", MemberParameters = new object[]
136 {
137 typeof(global::System.Array),
138 typeof(int),
139 typeof(global::System.Array),
140 typeof(int),
141 typeof(int)
142 }, ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 28)]
144 public virtual byte[] GetBytes()
145 {
146 throw null;
147 }
148
149 [global::Cpp2ILInjected.Token(Token = "0x600010E")]
150 [global::Cpp2ILInjected.Address(RVA = "0x1AB5DD8", Offset = "0x1AB5DD8", Length = "0x11C")]
151 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
152 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ASN1), Member = ".ctor", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
153 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ASN1), Member = "Decode", MemberParameters = new object[]
154 {
155 typeof(byte[]),
156 typeof(ref int),
157 typeof(int)
158 }, ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = "DecodeTLV", MemberParameters = new object[]
161 {
162 typeof(byte[]),
163 typeof(ref int),
164 typeof(ref byte),
165 typeof(ref int),
166 typeof(ref byte[])
167 }, ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = "Add", MemberParameters = new object[] { typeof(ASN1) }, ReturnType = typeof(ASN1))]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = "Decode", MemberParameters = new object[]
171 {
172 typeof(byte[]),
173 typeof(ref int),
174 typeof(int)
175 }, ReturnType = typeof(void))]
176 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
177 protected void Decode(byte[] asn1, ref int anPos, int anLength)
178 {
179 throw null;
180 }
181
182 [global::Cpp2ILInjected.Token(Token = "0x600010F")]
183 [global::Cpp2ILInjected.Address(RVA = "0x1AB65E4", Offset = "0x1AB65E4", Length = "0xF4")]
184 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
185 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ASN1), Member = "Decode", MemberParameters = new object[]
186 {
187 typeof(byte[]),
188 typeof(ref int),
189 typeof(int)
190 }, ReturnType = typeof(void))]
191 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "BlockCopy", MemberParameters = new object[]
193 {
194 typeof(global::System.Array),
195 typeof(int),
196 typeof(global::System.Array),
197 typeof(int),
198 typeof(int)
199 }, ReturnType = typeof(void))]
200 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
201 protected void DecodeTLV(byte[] asn1, ref int pos, out byte tag, out int length, out byte[] content)
202 {
203 throw null;
204 }
205
206 [global::Cpp2ILInjected.Token(Token = "0x6000110")]
207 [global::Cpp2ILInjected.Address(RVA = "0x1AB66D8", Offset = "0x1AB66D8", Length = "0x278")]
208 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
209 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = ".ctor", ReturnType = typeof(void))]
211 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(byte), Member = "ToString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "get_NewLine", ReturnType = typeof(string))]
213 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = "AppendFormat", MemberParameters = new object[]
214 {
215 typeof(string),
216 typeof(object),
217 typeof(object)
218 }, ReturnType = typeof(global::System.Text.StringBuilder))]
219 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ASN1), Member = "get_Value", ReturnType = typeof(byte[]))]
220 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = "Append", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.Text.StringBuilder))]
221 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = "AppendFormat", MemberParameters = new object[]
222 {
223 typeof(string),
224 typeof(object)
225 }, ReturnType = typeof(global::System.Text.StringBuilder))]
226 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.StringBuilder), Member = "AppendFormat", MemberParameters = new object[]
227 {
228 typeof(string),
229 typeof(object[])
230 }, ReturnType = typeof(global::System.Text.StringBuilder))]
231 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
232 public override string ToString()
233 {
234 throw null;
235 }
236
237 [global::Cpp2ILInjected.Token(Token = "0x400013B")]
238 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
239 private byte m_nTag;
240
241 [global::Cpp2ILInjected.Token(Token = "0x400013C")]
242 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
243 private byte[] m_aValue;
244
245 [global::Cpp2ILInjected.Token(Token = "0x400013D")]
246 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
247 private global::System.Collections.ArrayList elist;
248 }
249}
class f__AnonymousType0<< Count > j__TPar
ASN1(byte tag)
Definition ASN1.cs:26
void DecodeTLV(byte[] asn1, ref int pos, out byte tag, out int length, out byte[] content)
Definition ASN1.cs:201
ASN1 Add(ASN1 asn1)
Definition ASN1.cs:125
global::System.Collections.ArrayList elist
Definition ASN1.cs:247
void Decode(byte[] asn1, ref int anPos, int anLength)
Definition ASN1.cs:177
virtual byte[] GetBytes()
Definition ASN1.cs:144
ASN1(byte[] data)
Definition ASN1.cs:73
override string ToString()
Definition ASN1.cs:232
byte[] m_aValue
Definition ASN1.cs:748
ASN1(byte tag, byte[] data)
Definition ASN1.cs:41