IX509Extension::get_RawData method (certenroll.h)
The RawData property retrieves a byte array that contains the extension value. The byte array is represented by a Unicode-encoded string.
This property is read-only.
Syntax
HRESULT get_RawData(
EncodingType Encoding,
BSTR *pValue
);
Parameters
Encoding
pValue
Return value
None
Remarks
A certificate extension is defined by an Abstract Syntax Notation One (ASN.1) structure, and the extension is encoded into a byte array by using DER. The byte array is returned in a string to simplify use in languages other than C++. You can use the EncodingType enumeration to specify the type of Unicode encoding to apply to the string. You can call the Initialize method to specify the extension.
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 |