X509CNGKeyUsages Enumeration |
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.Security.Cryptography.X509Certificates
| Member name | Value | Description | |
|---|---|---|---|
| None | 0 | The permitted uses are not defined. | |
| DecryptOnly | 1 | The private key can be used to perform a decryption operation. | |
| SignatureOnly | 2 | The private key can be used to perform a signature operation. | |
| KeyAgreement | 4 | The private key can be used to perform a key-agreement operation. | |
| AllUsages | 16777215 | The private key is not restricted to any specific cryptographic operations. |