IX509CertificateRequestPkcs10::CriticalExtensions property

The CriticalExtensions property retrieves an IObjectIds collection that identifies the version 3 certificate extensions marked as critical.

This property is read-only.

Syntax


HRESULT get_CriticalExtensions(
  [out] IObjectIds **ppValue
);

Property value

Address of a variable that receives a pointer to an IObjectIds interface that represents the collection.

Error codes

If the function succeeds, the function returns S_OK.

If the function fails, it returns an HRESULT value that indicates the error. Possible values include, but are not limited to, those in the following table. For a list of common error codes, see Common HRESULT Values.

Name/valueMeaning
CERTSRV_E_PROPERTY_EMPTY

The property value could not be found.

OLE_E_BLANK

The object is not initialized.

Remarks

The extension criticality indicates to an application that uses certificates whether it can ignore the extension. You must initialize the IX509CertificateRequestPkcs10 object before calling this property. For more information, see any of the following methods:

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

CertEnroll.h

DLL

CertEnroll.dll

See also

IX509CertificateRequestPkcs10

 

 

Community Additions

ADD
Show: