Defines how the certificate key can be used. If this value is not defined, the key can be used for any purpose.
Syntax
[System.Flags]
public enum X509KeyUsageFlags
Remarks
Members
Member Name | Description |
---|
CrlSign |
The key can be used to sign a certificate revocation list (CRL).
|
DataEncipherment |
The key can be used for data encryption.
|
DecipherOnly |
The key can be used for decryption only.
|
DigitalSignature |
The key can be used as a digital signature.
|
EncipherOnly |
The key can be used for encryption only.
|
KeyAgreement |
The key can be used to determine key agreement, such as a key created using the Diffie-Hellman key agreement algorithm.
|
KeyCertSign |
The key can be used to sign certificates.
|
KeyEncipherment |
The key can be used for key encryption.
|
None |
No key usage parameters.
|
NonRepudiation |
The key can be used for authentication.
|
Requirements
Namespace: System.Security.Cryptography.X509Certificates
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0