The CAPICOM_KEY_SPEC enumeration defines key specifications.
Members
| Member | Description | Value |
|---|---|---|
| CAPICOM_KEY_SPEC_KEYEXCHANGE | The key can be used for encryption and signing. | 1 |
| CAPICOM_KEY_SPEC_SIGNATURE | The key can be used only for signing. | 2 |
Remarks
The CAPICOM_KEY_SPEC enumeration is used by the following methods and properties:
- PrivateKey.KeySpec property.
- PrivateKey.Open method.
Requirements
| Requirement | Value |
|---|---|
| Redistributable | CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
| Header | Capicom.h |
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.
