terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
SignatureDescription.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
4
namespace
System.Security.Cryptography
5
{
6
// Token: 0x02000301 RID: 769
7
[
ComVisible
(
true
)]
8
public
class
SignatureDescription
9
{
10
// Token: 0x06001A12 RID: 6674 RVA: 0x00038078 File Offset: 0x00036278
11
public
SignatureDescription
()
12
{
13
}
14
15
// Token: 0x06001A13 RID: 6675 RVA: 0x0003808C File Offset: 0x0003628C
16
public
SignatureDescription
(
SecurityElement
el
)
17
{
18
do
19
{
20
base
..ctor();
21
}
22
while
(
el
==
null
);
23
string
text
=
el
.SearchForTextOfTag(
"Key"
);
24
this._strKey
=
text
;
25
string
text2 =
el
.SearchForTextOfTag(
"Digest"
);
26
this._strDigest
= text2;
27
string
text3
=
el
.SearchForTextOfTag(
"Formatter"
);
28
this._strFormatter
=
text3
;
29
string
text4
=
el
.SearchForTextOfTag(
"Deformatter"
);
30
this._strDeformatter
=
text4
;
31
}
32
33
// Token: 0x170002CE RID: 718
34
// (get) Token: 0x06001A14 RID: 6676 RVA: 0x000380F0 File Offset: 0x000362F0
35
// (set) Token: 0x06001A15 RID: 6677 RVA: 0x00038104 File Offset: 0x00036304
36
public
string
KeyAlgorithm
37
{
38
get
39
{
40
return
this.
_strKey
;
41
}
42
set
43
{
44
this._strKey
=
value
;
45
}
46
}
47
48
// Token: 0x170002CF RID: 719
49
// (get) Token: 0x06001A16 RID: 6678 RVA: 0x00038118 File Offset: 0x00036318
50
// (set) Token: 0x06001A17 RID: 6679 RVA: 0x0003812C File Offset: 0x0003632C
51
public
string
DigestAlgorithm
52
{
53
get
54
{
55
return
this.
_strDigest
;
56
}
57
set
58
{
59
this._strDigest
=
value
;
60
}
61
}
62
63
// Token: 0x170002D0 RID: 720
64
// (get) Token: 0x06001A18 RID: 6680 RVA: 0x00038140 File Offset: 0x00036340
65
// (set) Token: 0x06001A19 RID: 6681 RVA: 0x00038154 File Offset: 0x00036354
66
public
string
FormatterAlgorithm
67
{
68
get
69
{
70
return
this.
_strFormatter
;
71
}
72
set
73
{
74
this._strFormatter
=
value
;
75
}
76
}
77
78
// Token: 0x170002D1 RID: 721
79
// (get) Token: 0x06001A1A RID: 6682 RVA: 0x00038168 File Offset: 0x00036368
80
// (set) Token: 0x06001A1B RID: 6683 RVA: 0x0003817C File Offset: 0x0003637C
81
public
string
DeformatterAlgorithm
82
{
83
get
84
{
85
return
this.
_strDeformatter
;
86
}
87
set
88
{
89
this._strDeformatter
=
value
;
90
}
91
}
92
93
// Token: 0x06001A1C RID: 6684 RVA: 0x00038190 File Offset: 0x00036390
94
public
virtual
AsymmetricSignatureDeformatter
CreateDeformatter
(
AsymmetricAlgorithm
key
)
95
{
96
int
num = 1;
97
string
strDeformatter
= this.
_strDeformatter
;
98
if
(num == 0)
99
{
100
}
101
object
obj
=
CryptoConfig
.
CreateFromName
(
strDeformatter
);
102
throw
new
InvalidCastException
();
103
}
104
105
// Token: 0x06001A1D RID: 6685 RVA: 0x000381B8 File Offset: 0x000363B8
106
public
virtual
AsymmetricSignatureFormatter
CreateFormatter
(
AsymmetricAlgorithm
key
)
107
{
108
int
num = 1;
109
string
strFormatter
= this.
_strFormatter
;
110
if
(num == 0)
111
{
112
}
113
object
obj
=
CryptoConfig
.
CreateFromName
(
strFormatter
);
114
throw
new
InvalidCastException
();
115
}
116
117
// Token: 0x06001A1E RID: 6686 RVA: 0x000381E0 File Offset: 0x000363E0
118
public
virtual
HashAlgorithm
CreateDigest
()
119
{
120
int
num = 1;
121
string
strDigest
= this.
_strDigest
;
122
if
(num == 0)
123
{
124
}
125
if
(
CryptoConfig
.
CreateFromName
(
strDigest
) !=
null
)
126
{
127
}
128
throw
new
InvalidCastException
();
129
}
130
131
// Token: 0x04000D26 RID: 3366
132
private
string
_strKey
;
133
134
// Token: 0x04000D27 RID: 3367
135
private
string
_strDigest
;
136
137
// Token: 0x04000D28 RID: 3368
138
private
string
_strFormatter
;
139
140
// Token: 0x04000D29 RID: 3369
141
private
string
_strDeformatter
;
142
}
143
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.Security.Cryptography.AsymmetricAlgorithm
Definition
AsymmetricAlgorithm.cs:10
System.Security.Cryptography.AsymmetricSignatureDeformatter
Definition
AsymmetricSignatureDeformatter.cs:9
System.Security.Cryptography.AsymmetricSignatureFormatter
Definition
AsymmetricSignatureFormatter.cs:9
System.Security.Cryptography.CryptoConfig.CreateFromName
static object CreateFromName(string name)
Definition
CryptoConfig.cs:20
System.Security.Cryptography.CryptoConfig
Definition
CryptoConfig.cs:12
System.Security.Cryptography.HashAlgorithm
Definition
HashAlgorithm.cs:9
System.Security.Cryptography.SignatureDescription.SignatureDescription
SignatureDescription(SecurityElement el)
Definition
SignatureDescription.cs:16
System.Security.Cryptography.SignatureDescription.DigestAlgorithm
string DigestAlgorithm
Definition
SignatureDescription.cs:52
System.Security.Cryptography.SignatureDescription.KeyAlgorithm
string KeyAlgorithm
Definition
SignatureDescription.cs:37
System.Security.Cryptography.SignatureDescription.SignatureDescription
SignatureDescription()
Definition
SignatureDescription.cs:11
System.Security.Cryptography.SignatureDescription._strKey
string _strKey
Definition
SignatureDescription.cs:132
System.Security.Cryptography.SignatureDescription.CreateDeformatter
virtual AsymmetricSignatureDeformatter CreateDeformatter(AsymmetricAlgorithm key)
Definition
SignatureDescription.cs:94
System.Security.Cryptography.SignatureDescription._strFormatter
string _strFormatter
Definition
SignatureDescription.cs:138
System.Security.Cryptography.SignatureDescription.DeformatterAlgorithm
string DeformatterAlgorithm
Definition
SignatureDescription.cs:82
System.Security.Cryptography.SignatureDescription.CreateDigest
virtual HashAlgorithm CreateDigest()
Definition
SignatureDescription.cs:118
System.Security.Cryptography.SignatureDescription._strDigest
string _strDigest
Definition
SignatureDescription.cs:135
System.Security.Cryptography.SignatureDescription.CreateFormatter
virtual AsymmetricSignatureFormatter CreateFormatter(AsymmetricAlgorithm key)
Definition
SignatureDescription.cs:106
System.Security.Cryptography.SignatureDescription._strDeformatter
string _strDeformatter
Definition
SignatureDescription.cs:141
System.Security.Cryptography.SignatureDescription.FormatterAlgorithm
string FormatterAlgorithm
Definition
SignatureDescription.cs:67
System.Security.Cryptography.SignatureDescription
Definition
SignatureDescription.cs:9
System.Security.SecurityElement
Definition
SecurityElement.cs:13
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.Security.Cryptography
Definition
Aes.cs:5
System.ExceptionArgument.text
@ text
System.ExceptionArgument.value
@ value
System.ExceptionArgument.key
@ key
System.ExceptionArgument.obj
@ obj
System
Definition
__ComObject.cs:4
source
mscorlib
System
Security
Cryptography
SignatureDescription.cs
Generated by
1.10.0