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:
- Call InitializeFromOtherName and supply an object identifier (OID).
- Call InitializeFromRawData and specify the XCN_CERT_ALT_NAME_GUID, XCN_CERT_ALT_NAME_DIRECTORY_NAME, or XCN_CERT_ALT_NAME_IP_ADDRESS types.
- Call InitializeFromString and specify the XCN_CERT_ALT_NAME_USER_PRINCIPLE_NAME type.
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 |