Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Key

AsymmetricAlgorithm System.Security.Cryptography.X509Certificates.PublicKey.Key
get

Definition at line 21 of file PublicKey.cs.

22 {
23 get
24 {
25 if (_key == null)
26 {
27 string value = _oid.Value;
28 if (!(value == "1.2.840.113549.1.1.1") && !(value == "1.2.840.10040.4.1"))
29 {
30 throw new NotSupportedException(System.SR.NotSupported_KeyAlgorithm);
31 }
33 }
34 return _key;
35 }
36 }
static string NotSupported_KeyAlgorithm
Definition SR.cs:114
Definition SR.cs:7