Defines the different key usage values.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
| C# |
|---|
[FlagsAttribute] public enum KeyUsage |
| Visual Basic |
|---|
<FlagsAttribute> _ Public Enumeration KeyUsage |
| Visual C++ |
|---|
[FlagsAttribute] public enum class KeyUsage |
Members
| Member name | Value | Description | |
|---|---|---|---|
| DataEncipherment | 16 | The key can be used for data encipherment. | |
| DigitalSignature | 128 | The key can be used to sign data. | |
| KeyAgreement | 8 | The key can be used in key agreement algorithms. | |
| KeyCertSign | 4 | The key can be used to sign certificates. | |
| KeyEncipherment | 32 | The key can be used for key encipherment. | |
| NonRepudiation | 64 | The key can be used for electronic non-repudiation. | |
| CrlSign | 2 | The key can be used to sign certificate revocation lists. |