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
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

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

Decryption Decryption Decryption Decryption

The key can be used for decryption.

KeyAgreement KeyAgreement KeyAgreement KeyAgreement

The key can be used for secret agreement encryption.

None None None None

No usage is specified for the key.

Signing Signing Signing Signing

The key can be used for signing.