KeyUsage object
[The KeyUsage object is available for use in the operating systems specified in the Requirements section. Instead, use the X509EnhancedKeyUsageExtension Class in the System.Security.Cryptography.X509Certificates namespace.]
The KeyUsage object provides read-only access to key usage properties of a certificate.
Members
The KeyUsage object has these types of members:
Properties
The KeyUsage object has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only |
Retrieves a Boolean value that indicates whether the KeyUsage extension is marked critical. | |
| Read-only |
Retrieves a Boolean value that indicates whether the CRLSign bit is set. | |
| Read-only |
Retrieves a Boolean value that indicates whether the dataEncipherment bit is set. | |
| Read-only |
Retrieves a Boolean value that indicates whether the decipherOnly bit is set. | |
| Read-only |
Retrieves a Boolean value that indicates whether the digitalSignature bit is set. | |
| Read-only |
Retrieves a Boolean value that indicates whether the encipherOnly bit is set. | |
| Read-only |
Retrieves a Boolean value that indicates whether the keyAgreement bit is set. | |
| Read-only |
Retrieves a Boolean value that indicates whether the keyCertSign bit is set. | |
| Read-only |
Retrieves a Boolean value that indicates whether the keyEncipherment bit is set. | |
| Read-only |
Retrieves a Boolean value that indicates whether the nonRepudiationEnabled bit is set. | |
| Read-only |
Retrieves a Boolean value that indicates whether the KeyUsage extension is present. This is the default property. |
Remarks
The KeyUsage object cannot be created.
Requirements
|
Redistributable | CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
|---|---|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012