Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SignatureDescription.cs
Go to the documentation of this file.
3
5
6[UnsupportedOSPlatform("browser")]
8{
9 public string? KeyAlgorithm { get; set; }
10
11 public string? DigestAlgorithm { get; set; }
12
13 public string? FormatterAlgorithm { get; set; }
14
15 public string? DeformatterAlgorithm { get; set; }
16
18 {
19 }
20
22 {
23 if (el == null)
24 {
25 throw new ArgumentNullException("el");
26 }
29 FormatterAlgorithm = el.SearchForTextOfTag("Formatter");
30 DeformatterAlgorithm = el.SearchForTextOfTag("Deformatter");
31 }
32
33 [RequiresUnreferencedCode("CreateDeformatter is not trim compatible because the algorithm implementation referenced by DeformatterAlgorithm might be removed.")]
35 {
37 asymmetricSignatureDeformatter.SetKey(key);
38 return asymmetricSignatureDeformatter;
39 }
40
41 [RequiresUnreferencedCode("CreateFormatter is not trim compatible because the algorithm implementation referenced by FormatterAlgorithm might be removed.")]
43 {
45 asymmetricSignatureFormatter.SetKey(key);
46 return asymmetricSignatureFormatter;
47 }
48
49 [RequiresUnreferencedCode("CreateDigest is not trim compatible because the algorithm implementation referenced by DigestAlgorithm might be removed.")]
54}
static ? object CreateFromName(string name, params object?[]? args)
virtual AsymmetricSignatureDeformatter CreateDeformatter(AsymmetricAlgorithm key)
virtual AsymmetricSignatureFormatter CreateFormatter(AsymmetricAlgorithm key)
string? SearchForTextOfTag(string tag)