ICertProperty::RawData property

The RawData property retrieves the value of the certificate property.

This property is read-only.

Syntax


HRESULT get_RawData(
  [in]  EncodingType Encoding,
  [out] BSTR         *pValue
);

Property value

Pointer to a BSTR variable that contains the property value.

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 specified property does not have a value.

OLE_E_BLANK

The object has not been initialized.

Remarks

Call PropertyId to identify the property to retrieve before calling the RawData property.

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

ICertProperty

 

 

Community Additions

ADD
Show: