X509Key |
[FlagsAttribute] public enum X509KeyUsageFlags
Member name | Value | Description |
---|---|---|
None | 0 | No limitations for the key usage are set. |
EncipherOnly | 1 | The key may only be used for enciphering data during key agreement. |
CrlSign | 2 | The key may be used for verifying signatures on certificate revocation lists (CRLs). |
KeyCertSign | 4 | The key may be used for verifying signatures on certificates. |
KeyAgreement | 8 | The key is meant to be used for key agreement. |
DataEncipherment | 16 | The key may be used for data encipherment. |
KeyEncipherment | 32 | The key is meant to be used for key encipherment. |
NonRepudiation | 64 | The key may be used to verify digital signatures used to provide a non-repudiation service. |
DigitalSignature | 128 | The key may be used for digitally signing data. |
DecipherOnly | 32,768 | The key may only be used for deciphering data during key agreement. |
The X.509 Key Usage Flags can be used to determine what operations a certificate can be used for.
Tip |
---|
A value of None indicates that there are no restrictions on the use of the X509Certificate. |