CspParameters: ProviderType (let)

ProviderType

Sets the provider type code for CspParameters.



 Public Property Let ProviderType(
	  ByVal Value As Long )

Parameters

Value
[ByVal] Long. The numeric code of the provider.

Remarks

Use the ProviderType property to specify a provider type by passing a numeric value that represents that provider. The numeric values that represent the default provider types are defined in the WinCrypt.h header file:

The following table lists the provider types and their corresponding numeric values defined in the WinCrypt.h header file.
Provider TypeNumeric Value
PROV_RSA_RULL1
PROV_RSA_SIG2
PROV_DSS3
PROV_FORTEZZA4
PROV_MS_EXCHANGE5
PROV_SSL6
PROV_RSA_SCHANNEL12
PROV_DSS_DH13
PROV_EC_ECDSA_SIG14
PROV_EC_ECNRA_SIG15
PROV_EC_ECDSA_FULL16
PROV_EC_ECNRA_FULL17
PROV_DH_SCHANNEL18
PROV_SPYRUS_LYNKS20
PROV_RNG21
PROV_INTEL_SEC22
PROV_REPLACE_OWF23
PROV_RSA_AES24
For more information about the default provider types and their behaviors, see the Microsoft Cryptography API (CAPI) documentation in the MSDN library.

Read/Write.

See Also

Project CorLib Overview

Class CspParameters Overview