IX509PrivateKey::put_CspStatus method (certenroll.h)
The CspStatus property specifies or retrieves an ICspStatus object that contains information about the cryptographic provider and algorithm pair associated with the private key. This property is web enabled for both input and output.
This property is read/write.
Syntax
HRESULT put_CspStatus(
ICspStatus *pValue
);
Parameters
pValue
Return value
None
Remarks
The Algorithm and ProviderName properties are automatically set when you call the CspStatus property. The CspStatus property is typically set during the enrollment process. That is, when a request template specifies multiple provider/algorithm pairs, the enrollment code sets the CspStatus property to the first enabled ICspStatus object and tries to create a private key. If a key cannot be created, the enrollment code sets this property to the next enabled ICspStatus object and tries again.
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 |