ProviderType

The ProviderType property is dependent on the provider in use. The value for ProviderType is passed directly through to calls to CryptAquireContext. It has a default value of one, as set in the registry. This means that PROV_RSA_FULL for the default Microsoft Base Cryptographic Provider is used to do the enumeration.

Data Type

[VB] DWORD
[C++] DWORD

Defined Values

See the documentation for the cryptographic service provider in use for defined values.

Affects the behavior of the following methods:

createPKCS10
createFilePKCS10
enumProviders

Access Methods

[VB] "="operator
[C++] HRESULT get_ProviderType (DWORD);
HRESULT put_ProviderType (DWORD);

HRESULT

Value Meaning
S_OK The property read/write completed successfully.