IX509CertificateRequestPkcs10::get_SuppressOids method (certenroll.h)
The SuppressOids property retrieves a collection of the default extension and attribute object identifiers (OIDs) that were not added to the request when the request was encoded.
This property is read-only.
Syntax
HRESULT get_SuppressOids(
IObjectIds **ppValue
);
Parameters
ppValue
Return value
None
Remarks
Attributes and extensions are added to a certificate request when it is encoded or initialized. You can suppress the addition of default extensions and attributes by calling the SuppressDefaults property. For a PKCS #10 request, the following attributes are added by default:
- XCN_OID_REQUEST_CLIENT_INFO (IX509AttributeClientId)
- XCN_OID_ENROLLMENT_CSP_PROVIDER (IX509AttributeCspProvider)
- XCN_OID_OS_VERSION (IX509AttributeOSVersion)
- XCN_OID_RENEWAL_CERTIFICATE (IX509AttributeRenewalCertificate)
- XCN_OID_RSA_SMIMECapabilities (IX509ExtensionSmimeCapabilities)
- XCN_OID_SUBJECT_KEY_IDENTIFIER (IX509ExtensionSubjectKeyIdentifier)
- XCN_OID_KEY_USAGE (IX509ExtensionKeyUsage)
You must initialize the IX509CertificateRequestPkcs10 object before calling this property. For more information, see any of the following methods:
- InitializeDecode
- InitializeFromCertificate
- InitializeFromPrivateKey
- InitializeFromPublicKey
- InitializeFromTemplateName
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 |