[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, and Windows XP. Instead, use the X509EnhancedKeyUsageExtension Class in the System.Security.Cryptography.X509Certificates namespace.]
The EKU object represents a single extended key usage (EKU) property of a certificate.
Members
The EKU object has these types of members:
Properties
The EKU object has these properties.
| Property | Access type | Description |
|---|---|---|
| Name | Read/write | Sets or retrieves an enumeration value that specifies the CAPICOM name of the EKU. This is the default property. |
| OID | Read/write | Sets or retrieves a string that contains an EKU object identifier (OID) string value as defined in Wincrypt.h. |
Remarks
The EKU object is used by the following collection and property:
- EKUs collection
- CertificateStatus.EKU property
The EKU object cannot be created.
Requirements
| Requirement | Value |
|---|---|
| End of client support | Windows Vista |
| End of server support | Windows Server 2008 |
| Redistributable | CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
| DLL | Capicom.dll |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
