IX509PrivateKey::get_CspInformations method (certenroll.h)
The CspInformations property specifies or retrieves a collection of ICspInformation objects that contain information about the available cryptographic providers that support the public key algorithm associated with the private key. This property is web enabled for both input and output.
This property is read/write.
Syntax
HRESULT get_CspInformations(
ICspInformations **ppValue
);
Parameters
ppValue
Return value
None
Remarks
The enrollment process expects the ICspInformations collection to include all providers installed on the client computer. You should therefore not attempt to set this property to a subset of the installed providers. We recommend that you create an empty collection and call AddAvailableCsps to populate it. Build this collection once and set it on all top level request objects (or the private key if you are using the IX509PrivateKey object directly) to avoid the cost of creating multiple collections. An ICspInformations collection is large.
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 |