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.

Note  The CERTENROLL_PROPERTYID value is XCN_CERT_KEY_PROV_INFO_PROP_ID.

 

Inheritance

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

Methods

The ICertPropertyKeyProvInfo interface has these methods.

 
ICertPropertyKeyProvInfo::get_PrivateKey

Retrieves the private key associated with the certificate.
ICertPropertyKeyProvInfo::Initialize

Initializes the object from a private key.

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

See also

CertEnroll Interfaces

ICertProperty