Click or drag to resize

DSACryptoServiceProvider(Int32, CspParameters) Constructor

Initializes a new instance of the Crestron.SimplSharp.Cryptography.DSACryptoServiceProvider class with the specified key size and parameters for the cryptographic service provider (CSP).

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

Parameters

keySize  Int32
The size of the key for the cryptographic algorithm in bits.
parameters  CspParameters
The parameters for the CSP.
Exceptions
ExceptionCondition
CryptographicExceptionThe CSP cannot be acquired. -or- The key cannot be created.
ArgumentOutOfRangeExceptiondwKeySize is out of range.

Version Information

.NET Compact Framework

Supported in: 3.5
See Also