Click or drag to resize

RSACryptoServiceProvider(Int32, CspParameters) Constructor

Initializes a new instance of the Crestron.SimplSharp.Cryptography.RSACryptoServiceProvider class with the specified key size and parameters.

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public RSACryptoServiceProvider(
	int keySize,
	CspParameters parameters
)

Parameters

keySize  Int32
The size of the key to use in bits.
parameters  CspParameters
The parameters to be passed to the cryptographic service provider (CSP).
Exceptions
ExceptionCondition
CryptographicExceptionThe CSP cannot be acquired. -or- The key cannot be created.

Version Information

.NET Compact Framework

Supported in: 3.5
See Also