Click or drag to resize

X509CNGKeyUsages Enumeration

Defines key usages for cryptography next generation (CNG) keys.

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

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
[FlagsAttribute]
public enum X509CNGKeyUsages
Members
  Member nameValueDescription
None0 The permitted uses are not defined.
DecryptOnly1 The private key can be used to perform a decryption operation.
SignatureOnly2 The private key can be used to perform a signature operation.
KeyAgreement4 The private key can be used to perform a key-agreement operation.
AllUsages16777215 The private key is not restricted to any specific cryptographic operations.
See Also