Share via


EnrollKeyUsages Enum

Definition

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 supports a bitwise combination of its member values.

public enum class EnrollKeyUsages
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class EnrollKeyUsages
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum EnrollKeyUsages
var value = Windows.Security.Cryptography.Certificates.EnrollKeyUsages.none
Public Enum EnrollKeyUsages
Inheritance
EnrollKeyUsages
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

None 0

No usage is specified for the key.

Decryption 1

The key can be used for decryption.

Signing 2

The key can be used for signing.

KeyAgreement 4

The key can be used for secret agreement encryption.

All 16777215

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

Applies to

See also