IPolicyQualifier::get_RawData method (certenroll.h)
The RawData property retrieves the Distinguished Encoding Rules (DER) encoded qualifier object.
This property is read-only.
Syntax
HRESULT get_RawData(
EncodingType Encoding,
BSTR *pValue
);
Parameters
Encoding
pValue
Return value
None
Remarks
You must call InitializeEncode to initialize the qualifier object before you can retrieve this property. The value retrieved is the DER-encoded byte array that contains the qualifier. The byte array is represented as a string. You can use the EncodingType enumeration to apply Unicode encoding to the string.
You can also retrieve the following properties for this object:
- The ObjectId property retrieves an object identifier (OID) that identifies whether the qualifier is a CPS or a user notice.
- The Qualifier property retrieves the string specified for the strQualifier parameter of the InitializeEncode method.
- The Type property retrieves a value of the PolicyQualifierType enumeration that specifies the qualifier 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 |