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

◆ KeySize

virtual int System.Security.Cryptography.AsymmetricAlgorithm.KeySize
getsetinherited

Definition at line 16 of file AsymmetricAlgorithm.cs.

17 {
18 get
19 {
20 return KeySizeValue;
21 }
22 set
23 {
24 if (!value.IsLegalSize(LegalKeySizes))
25 {
26 throw new CryptographicException(System.SR.Cryptography_InvalidKeySize);
27 }
29 }
30 }
static string Cryptography_InvalidKeySize
Definition SR.cs:92
Definition SR.cs:7

Referenced by System.Security.Cryptography.DSAImplementation.DSACng.DSACng(), System.Security.Cryptography.DSACng.DSACng(), System.Security.Cryptography.RSAImplementation.RSACng.RSACng(), System.Security.Cryptography.RSACng.RSACng(), Internal.Cryptography.AsymmetricAlgorithmHelpers.ConvertSignatureToIeeeP1363(), System.Security.Cryptography.RSAImplementation.RSACng.EncryptOrDecrypt(), System.Security.Cryptography.RSACng.EncryptOrDecrypt(), System.Security.Cryptography.RSAImplementation.RSACng.EncryptOrDecrypt(), System.Security.Cryptography.RSACng.EncryptOrDecrypt(), System.Security.Cryptography.DSAImplementation.DSACng.GetDuplicatedKeyHandle(), System.Security.Cryptography.RSAImplementation.RSACng.GetDuplicatedKeyHandle(), System.Security.Cryptography.ECDsa.GetMaxSignatureSize(), System.Security.Cryptography.RSAImplementation.RSACng.SignHash(), System.Security.Cryptography.RSACng.SignHash(), System.Security.Cryptography.RSA.ToXmlString(), System.Security.Cryptography.RSAImplementation.RSACng.TryEncryptOrDecrypt(), System.Security.Cryptography.RSACng.TryEncryptOrDecrypt(), System.Security.Cryptography.RSA.TryExportSubjectPublicKeyInfo(), and System.Security.Cryptography.RSA.WritePkcs8PrivateKey().