Constructors: NewRSACryptoServiceProvider

NewRSACryptoServiceProvider

Creates a new RSACryptoServiceProvider object.



 Public Function NewRSACryptoServiceProvider(
	  Optional ByVal KeySize As Long,
	  Optional ByVal Parameters As CspParameters ) As RSACryptoServiceProvider

Parameters

KeySize
[ByVal] Optional. Long. The size of the key used by the service provider.
Parameters
[ByVal] Optional. CspParameters. A CspParameters object used to specify custom service provider options.

Return Values

RSACryptoServiceProvider -  A new RSACryptoServiceProvider.

Remarks

The key size can is 384bit to 512bit for non-high encryption machines and 384bit to 16384bit for high encryption machines.

See Also

Project CorLib Overview

Class Constructors Overview

RSACryptoServiceProvider