IAlternativeName::get_RawData method (certenroll.h)

The RawData property retrieves the Distinguished Encoding Rules (DER) encoded byte array that contains the name. The byte array is contained in a Unicode encoded string.

This property is read-only.

Syntax

HRESULT get_RawData(
  EncodingType Encoding,
  BSTR         *pValue
);

Parameters

Encoding

pValue

Return value

None

Remarks

You can retrieve a value for this property if you initialized the IAlternativeName object in any of the following ways:

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

IAlternativeName