ICertificatePolicy::get_ObjectId method (certenroll.h)

The ObjectId property retrieves an object identifier (OID) for the policy object.

This property is read-only.

Syntax

HRESULT get_ObjectId(
  IObjectId **ppValue
);

Parameters

ppValue

Return value

None

Remarks

The IObjectId object stores information about the OID internally in a CryptoAPI CRYPT_OID_INFO structure. You cannot use this structure directly from the Certificate Enrollment API, but you can use the IObjectId interface to retrieve the display name or dotted decimal name of the OID, or the CERTENROLL_OBJECTID value.

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

See also

ICertificatePolicies

ICertificatePolicy