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

◆ RSACryptoServiceProvider() [5/5]

System.Security.Cryptography.RSACryptoServiceProvider.RSACryptoServiceProvider ( int keySize,
CspParameters parameters,
bool useDefaultKeySize )
inlineprivate

Definition at line 192 of file RSACryptoServiceProvider.cs.

193 {
194 if (keySize < 0)
195 {
196 throw new ArgumentOutOfRangeException("dwKeySize", "ArgumentOutOfRange_NeedNonNegNum");
197 }
199 _keySize = (useDefaultKeySize ? 1024 : keySize);
201 {
202 SafeKeyHandle safeKeyHandle = SafeKeyHandle;
203 }
204 }
static CspParameters SaveCspParameters(CspAlgorithmType keyType, CspParameters userParameters, CspProviderFlags defaultFlags, out bool randomKeyContainer)

References System.Security.Cryptography.RSACryptoServiceProvider._keySize, System.Security.Cryptography.RSACryptoServiceProvider._parameters, System.Security.Cryptography.RSACryptoServiceProvider._randomKeyContainer, System.Security.Cryptography.RSACryptoServiceProvider.s_useMachineKeyStore, System.Security.Cryptography.RSACryptoServiceProvider.SafeKeyHandle, and Internal.NativeCrypto.CapiHelper.SaveCspParameters().