ICertPropertyKeyProvInfo interface (certenroll.h)

The ICertPropertyKeyProvInfo interface represents a certificate property that contains information about a private key. The key information is contained in an IX509PrivateKey object.

This property is typically initialized by the enrollment process and associated with the dummy certificate that is temporarily copied to the request store. If the certification authority marks the request pending after it is submitted, autoenrollment can later use the request ID to retrieve the certificate response. If the certification authority denies the certificate request, the dummy certificate in the request store and all properties associated with it are deleted. If the certification authority issues the certificate and it is installed in the personal store, this property is associated with the new certificate and the dummy certificate is deleted.

When a smart card is inserted, the smart card certificate is automatically installed in the personal store and this property is associated with it.

Use this property whenever you need to retrieve the private key to perform a cryptographic operation.




The ICertPropertyKeyProvInfo interface inherits from ICertProperty. ICertPropertyKeyProvInfo also has these types of members:


The ICertPropertyKeyProvInfo interface has these methods.


Retrieves the private key associated with the certificate.

Initializes the object from a private key.


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h

See also

CertEnroll Interfaces