ICEnroll4::addBlobPropertyToCertificate method (xenroll.h)

[This method is no longer available for use as of Windows Server 2008 and Windows Vista.]

The addBlobPropertyToCertificate method adds a BLOB property to a certificate.

This property was first defined in the ICEnroll4 interface.

Syntax

HRESULT addBlobPropertyToCertificate(
  [in] LONG lPropertyId,
  [in] LONG lReserved,
  [in] BSTR bstrProperty
);

Parameters

[in] lPropertyId

The identifier of the BLOB property to add to the certificate.

[in] lReserved

This parameter is reserved and must be zero.

[in] bstrProperty

The data associated with the BLOB property. This parameter can be one of the following values.

Value Meaning
CERT_PVK_FILE_PROP_ID
The name of the file that contains the private key associated with the certificate's public key.
CERT_FRIENDLY_NAME_PROP_ID
The display name for the certificate.
CERT_DESCRIPTION_PROP_ID
The property displayed by the certificate UI. This property allows the user to describe the certificate's use.
CERT_RENEWAL_PROP_ID
The hash of the renewed certificate.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header xenroll.h
Library Uuid.lib
DLL Xenroll.dll

See also

CEnroll

ICEnroll4