Windows Dev Center

EnrollKeyUsages enumeration

Specifies the cryptographic operations that can be performed by the private key. This enumeration type is used in the KeyUsages property of a CertificateRequestProperties object.

Syntax


var value = Windows.Security.Cryptography.Certificates.EnrollKeyUsages.none;

Members

The EnrollKeyUsages enumeration has these members.

MemberValueDescription
None | none0

No usage is specified for the key.

Decryption | decryption1

The key can be used for decryption.

Signing | signing2

The key can be used for signing.

KeyAgreement | keyAgreement4

The key can be used for secret agreement encryption.

All | all16777215

The key can be used for decryption, signing. and key agreement.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Cryptography.Certificates
Windows::Security::Cryptography::Certificates [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography.Certificates
Windows::Security::Cryptography::Certificates [C++]

Metadata

Windows.winmd

Attributes

[Flags()]
[Version(0x06020000)]

See also

CertificateRequestProperties
KeyUsages
Windows.Security.Cryptography.Certificates

 

 

Show:
© 2015 Microsoft