Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The LegacyCsp property specifies or retrieves a Boolean value that indicates whether the provider is a CryptoAPI (legacy) cryptographic service provider (CSP). This property is web enabled for both input and output.
This property is read/write.
Syntax
HRESULT get_LegacyCsp(
VARIANT_BOOL *pValue
);
Parameters
pValue
Return value
None
Remarks
Setting this property automatically sets the following properties to be consistent with the specified LegacyCsp value:
These properties are set in the following manner:- If the LegacyCsp property is set to VARIANT_FALSE:
- The ProviderType is set to XCN_PROV_NONE.
- The KeySpec property is set to XCN_AT_NONE.
- If the LegacyCsp property is set to VARIANT_TRUE:
- The ProviderType is set to XCN_PROV_RSA_FULL if the current value is XCN_PROV_NONE.
- The KeySpec property is set to XCN_AT_SIGNATURE if the current property is XCN_AT_NONE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | certenroll.h |
DLL | CertEnroll.dll |