IX509Enrollment::CertificateFriendlyName property

The CertificateFriendlyName property specifies or retrieves the display name of a certificate. This property is web enabled for both input and output.

This property is read/write.

Syntax


HRESULT put_CertificateFriendlyName(
  [in]   BSTR strValue
);

HRESULT get_CertificateFriendlyName(
  [out]  BSTR *pValue
);

Property value

A BSTR variable that contains the display name.

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 cannot be found.

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

IX509Enrollment

 

 

Community Additions

ADD
Show:
© 2014 Microsoft