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

◆ Key

CngKey System.Security.Cryptography.RSACng.Key
getprivate set

Definition at line 27 of file RSACng.cs.

28 {
29 get
30 {
31 return _core.GetOrGenerateKey(KeySize, CngAlgorithm.Rsa);
32 }
33 private set
34 {
35 if (value.AlgorithmGroup != CngAlgorithmGroup.Rsa)
36 {
38 }
40 ForceSetKeySize(value.KeySize);
41 }
42 }
static string Cryptography_ArgRSARequiresRSAKey
Definition SR.cs:38
Definition SR.cs:7
void ForceSetKeySize(int newKeySize)
Definition RSACng.cs:135
CngKey GetOrGenerateKey(int keySize, CngAlgorithm algorithm)

Referenced by System.Security.Cryptography.RSACng.RSACng(), System.Security.Cryptography.RSACng.AcceptImport(), System.Security.Cryptography.RSACng.ExportEncryptedPkcs8(), System.Security.Cryptography.RSACng.ExportKeyBlob(), System.Security.Cryptography.RSACng.GetDuplicatedKeyHandle(), System.Security.Cryptography.RSACng.ImportKeyBlob(), System.Security.Cryptography.RSACng.TryExportEncryptedPkcs8(), and System.Security.Cryptography.RSACng.TryExportPkcs8PrivateKey().