Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

PropertyAccess typeDescription

IsCritical

Read-only

Retrieves a Boolean value that indicates whether the KeyUsage extension is marked critical.

IsCRLSignEnabled

Read-only

Retrieves a Boolean value that indicates whether the CRLSign bit is set.

IsDataEnciphermentEnabled

Read-only

Retrieves a Boolean value that indicates whether the dataEncipherment bit is set.

IsDecipherOnlyEnabled

Read-only

Retrieves a Boolean value that indicates whether the decipherOnly bit is set.

IsDigitalSignatureEnabled

Read-only

Retrieves a Boolean value that indicates whether the digitalSignature bit is set.

IsEncipherOnlyEnabled

Read-only

Retrieves a Boolean value that indicates whether the encipherOnly bit is set.

IsKeyAgreementEnabled

Read-only

Retrieves a Boolean value that indicates whether the keyAgreement bit is set.

IsKeyCertSignEnabled

Read-only

Retrieves a Boolean value that indicates whether the keyCertSign bit is set.

IsKeyEnciphermentEnabled

Read-only

Retrieves a Boolean value that indicates whether the keyEncipherment bit is set.

IsNonRepudiationEnabled

Read-only

Retrieves a Boolean value that indicates whether the nonRepudiationEnabled bit is set.

IsPresent

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

Capicom.dll

See also

Cryptography Objects

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.