IPolicyQualifier::get_ObjectId method (certenroll.h)

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

This property is read-only.

Syntax

HRESULT get_ObjectId(
  IObjectId **ppValue
);

Parameters

ppValue

Return value

None

Remarks

If you specified PolicyQualifierTypeUrl in the Type parameter of the InitializeEncode method, XCN_OID_PKIX_POLICY_QUALIFIER_CPS (1.3.6.1.5.5.7.2.1) is returned. If you specified PolicyQualifierTypeUserNotice, XCN_OID_PKIX_POLICY_QUALIFIER_USERNOTICE (1.3.6.1.5.5.7.2.2) is returned.

You must call InitializeEncode to initialize the qualifier object before you can retrieve this property. You can also retrieve the following properties for this object:

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

IPolicyQualifier