IPolicyQualifier::get_Type method (certenroll.h)
The Type property retrieves the qualifier type.
This property is read-only.
Syntax
HRESULT get_Type(
PolicyQualifierType *pValue
);
Parameters
pValue
Return value
None
Remarks
You must call InitializeEncode to initialize the qualifier object before you can retrieve this property. The value retrieved is one of the following values of the PolicyQualifierType enumeration.
Value | Description |
---|---|
PolicyQualifierTypeUrl | The qualifier is a URL that points to a Certification Practice Statement (CPS). |
PolicyQualifierTypeUserNotice | The qualifier is a string to be displayed to users who rely on the certificate. |
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 RawData property retrieves the Distinguished Encoding Rules (DER) encoded qualifier.
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 |