Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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 |