KeyUsage Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the operations that a certificate key pair can perform.
public enum KeyUsage
type KeyUsage =
Public Enum KeyUsage
- Inheritance
-
KeyUsage
Fields
Name | Value | Description |
---|---|---|
InvalidUsage | 0 | An invalid usage. This value should never be used. |
Sign | 1 | The key may be used to sign a message. |
EncryptKey | 2 | The key may be used to encrypt a symmetric or asymmetric key. |
SignCrl | 3 | The key may be used to sign a certificate revocation list (CRL). |
IssuerAll | 4 | The key may be used to issue any type of certificate or feature. |
IssuerIndiv | 5 | The key may be used to issue Indiv Issuer certificates or Indiv leaf certificates. |
IssuerDevice | 6 | The key may be used to issue Device Issuer certificates or Device leaf certificates. |
IssuerLink | 7 | The key may be used to issue Link Issuer certificates or Link leaf certificates. |
IssuerDomain | 8 | The key may be used to issue DomainController Issuer certificates or Domain leaf certificates. |
IssuerSilverlight | 9 | The key may be used to issue Silverlight Issuer certificates or Silverlight leaf certificates. |
IssuerApplication | 10 | The key may be used to issue Application certificate issuer certificates or Application leaf certificates. |
IssuerCrl | 11 | The key may be used to issue CRL issuer certificates or CRL signer certificates. |
IssuerMetering | 12 | The key may be used to issue Metering certificate issuer certificates or Metering leaf certificates. |
IssuerSignKeyFile | 13 | Obsolete. The key may be used to issue Key File Signer certificate issuer certificates or Key File Signer leaf certificates. |
SignKeyFile | 14 | Obsolete. The key may be used to sign KeyFiles. |
IssuerServer | 15 | The key may be used to issue Server certificate issuer certificates or Server leaf certificates. |
SignResponse | 20 | The key may be used to sign responses. |