Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IX509ExtensionKeyUsage::get_KeyUsage method (certenroll.h)
The KeyUsage property retrieves the restrictions placed on the public key.
This property is read-only.
Syntax
HRESULT get_KeyUsage(
X509KeyUsageFlags *pValue
);
Parameters
pValue
Return value
None
Remarks
Call the InitializeEncode method or the InitializeDecode method to initialize the collection. You can also call the Critical property to specify and retrieve a Boolean value that identifies whether the extension is critical, and you can call the ObjectId property to retrieve the object identifier (OID) associated with 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 |
See also
Feedback
Was this page helpful?
