EnrollKeyUsages EnrollKeyUsages EnrollKeyUsages EnrollKeyUsages EnrollKeyUsages Enum


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.

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

public : enum class EnrollKeyUsages
enum class winrt::Windows::Security::Cryptography::Certificates::EnrollKeyUsages : uint32_t
public enum EnrollKeyUsages
Public Enum EnrollKeyUsages
var value = Windows.Security.Cryptography.Certificates.EnrollKeyUsages.all;
System.FlagsAttribute ContractVersionAttribute

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


All All All All All 16777215

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

Decryption Decryption Decryption Decryption Decryption 1

The key can be used for decryption.

KeyAgreement KeyAgreement KeyAgreement KeyAgreement KeyAgreement 4

The key can be used for secret agreement encryption.

None None None None None 0

No usage is specified for the key.

Signing Signing Signing Signing Signing 2

The key can be used for signing.

See also